VideoWall MP4 files gstreamer
amirulsyahmi
amirulsyahmi at gmail.com
Wed Sep 21 01:34:41 PDT 2011
Hi all
I need to play 4 video files in one screen. After doing some research I find
this code
gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \
videotestsrc pattern=1 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=0 left=0 ! mix. \
videotestsrc pattern=15 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=0 left=-320 ! mix. \
videotestsrc pattern=13 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=-180 left=0 ! mix. \
videotestsrc pattern=0 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=-180 left=-320 ! mix. \
videotestsrc pattern=3 ! video/x-raw-yuv, framerate=5/1, width=640,
height=360 ! mix.
which will display like this
http://gstreamer-devel.966125.n4.nabble.com/file/n3829313/GstVideoWall.png
bu then I need it to play mp4 files. and I try this code
gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \
filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox
border-alpha=0 top=0 left=0 ! mix. \
filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox
border-alpha=0 top=0 left=-320 ! mix. \
filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox
border-alpha=0 top=-180 left=0 ! mix. \
filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !
video/x-raw-yuv, framerate=5/1, width=320, height=180 ! videobox
border-alpha=0 top=-180 left=-320 ! mix. \
filesrc location=./Cityscape1Min_720p_mp4.mp4 ! decodebin2 ! videorate !
video/x-raw-yuv, framerate=5/1, width=640, height=360 ! mix.
and the display suppose to be like this
http://gstreamer-devel.966125.n4.nabble.com/file/n3829313/paintami.png
but i doesn't work. really need help in this matter.
Thanks
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/VideoWall-MP4-files-gstreamer-tp3829313p3829313.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list