unable to stream multiple videos using videomixer

prkhr4u prakhargupta at bel.co.in
Wed Feb 5 05:40:30 CET 2014


I tried using videomixer2 ,but the video stops at the first frame only and as
before only 1 video is being shown,the other just white background.
Here is what I used:
gst-launch-0.10 -e videomixer2 name=mix ! ffmpegcolorspace ! xvimagesink \
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
border-alpha=1 top=0 left=0 ! mix. \
souphttpsrc location=http://169.254.126.124/video2.mjpg ! jpegdec ! videobox
border-alpha=1 top=0 left=-320 ! mix.

I also tried without videotestsrc as follows:

gst-launch-0.10 -e videomixer2 name=mix ! ffmpegcolorspace ! xvimagesink \
souphttpsrc location=http://169.254.75.39/video2.mjpg ! jpegdec ! videobox
border-alpha=1 top=0 left=0 ! mix. \
souphttpsrc location=http://169.254.126.124/video2.mjpg ! jpegdec ! videobox
border-alpha=1 top=0 left=-320 ! mix.

and also as:

gst-launch-0.10 \
  souphttpsrc location=http://169.254.75.39/video2.mjpg ! jpegdec ! videobox
border-alpha=1 top=0 left=0 ! \
  videomixer2 name=mix sink_0::alpha=0.7 sink_1::alpha=0.5 ! \
  ffmpegcolorspace ! xvimagesink \
  souphttpsrc location=http://169.254.126.124/video2.mjpg ! jpegdec !
videobox border-alpha=1 top=0 left=-320 ! mix.

but couldn't play,error like this was coming

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

(gst-launch-0.10:4621): GStreamer-CRITICAL **: _gst_util_uint64_scale_int:
assertion `denom > 0' failed

(gst-launch-0.10:4621): GStreamer-CRITICAL **: _gst_util_uint64_scale:
assertion `denom != 0' failed

(gst-launch-0.10:4621): GStreamer-CRITICAL **: _gst_util_uint64_scale:
assertion `denom != 0' failed

** (gst-launch-0.10:4621): CRITICAL **: gst_video_format_get_size: assertion
`width > 0 && height > 0' failed
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc1:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop ():
/GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc1:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Caught SIGSEGV accessing address (nil)
Spinning.  Please run 'gdb gst-launch 4621' to continue debugging, Ctrl-C to
quit, or Ctrl-\ to dump core.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/unable-to-stream-multiple-videos-using-videomixer-tp4665039p4665099.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list