VideoWall MP4 files gstreamer

Kapil Agrawal kapil.agl at gmail.com
Wed Sep 21 06:15:06 PDT 2011


try adding queue before all the mix.

On Wed, Sep 21, 2011 at 2:04 PM, amirulsyahmi <amirulsyahmi at gmail.com>wrote:

> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms-
linux, windows, TI, android)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110921/58e16975/attachment.html>


More information about the gstreamer-devel mailing list