Can't link demuxer to videomixer

Maxim Taldykin jorpic at gmail.com
Wed Sep 21 03:42:38 PDT 2011


Hi All,

I'm trying to play two video files side by side.
Here is simple working script with two videotestsrc's.

gst-launch \
 videomixer name=mix \
       sink_0::xpos=0   sink_0::ypos=0    sink_0::zorder=0\
       sink_1::xpos=0   sink_1::ypos=0    sink_1::zorder=1\
       sink_2::xpos=320 sink_2::ypos=0    sink_2::zorder=2\
     ! xvimagesink \
 videotestsrc pattern="black" ! video/x-raw-yuv,width=640,height=180 \
     ! mix.sink_0 \
 videotestsrc pattern=15 \
     ! video/x-raw-yuv,framerate=1/1,width=320,height=180 \
     ! mix.sink_1 \
 videotestsrc pattern=11 \
     ! video/x-raw-yuv,framerate=1/1,width=320,height=180 \
     ! mix.sink_2 \


But when I'm trying to replace the second videotestsrc with video
decode pipeline, I get error:

 filesrc location=video.ogv ! oggdemux ! theoradec \
     ! mix.sink_2

Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstOggDemux:oggdemux0:
Internal data stream error.
Additional debug info:
gstoggdemux.c(3450): gst_ogg_demux_loop ():
/GstPipeline:pipeline0/GstOggDemux:oggdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...


Trying to play mp4 file results in slightly different error message:

 filesrc location=video.mp4 \
     ! qtdemux ! ffdec_h264 \
     ! mix.sink_2\

Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
GStreamer encountered a general stream error.
Additional debug info:
qtdemux.c(2980): gst_qtdemux_loop ():
/GstPipeline:pipeline0/GstQTDemux:qtdemux0:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...


There is no errors when playing raw video or v4l2src:

 filesrc location=video.raw \
     ! videoparse format=yuy2 framerate=1/1 width=320 height=180 \
     ! mix.sink_2 \

What could be the problem?

Thanks.


More information about the gstreamer-devel mailing list