unable to stream multiple videos using videomixer
sebastian at centricular.com
Tue Feb 4 15:44:07 CET 2014
On So, 2014-02-02 at 22:20 -0800, prkhr4u wrote:
> I have created a simple pipeline using videomixer for streaming 2 videos from
> 2 IP Cameras simultaneously.
> Here is the pipeline:
> gst-launch-0.10 -e videomixer name=mix ! ffmpegcolorspace ! autovideosink \
> videotestsrc pattern=3 ! video/x-raw-yuv, framerate=25/1, width=640,
> height=200 ! mix. \
> souphttpsrc location=http://169.254.75.39/video2.mjpg ! jpegdec ! videobox
> top=0 left=0 ! mix. \
> souphttpsrc location=http://169.254.126.124/video2.mjpg ! jpegdec ! videobox
> border-alpha=0 top=0 left=-320 ! mix.
> But I am able to see only 1 stream (169.254.75.39) the top one only and for
> the second only white background is coming.
> Anyone knows what is the problem here?
First of all, try using GStreamer 1.x and if you can't at least use the
videomixer2 element in 0.10. That should already make many things
better, especially regarding synchronization.
Then also note that videotestsrc is not needed here (videomixer can draw
a background) and the same goes for the videoboxes (you can configure
the alpha and the position on the videomixer sinkpads, see the docs).
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel