Can't link demuxer to videomixer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't link demuxer to videomixer

Maxim Taldykin
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.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can't link demuxer to videomixer

amirulsyahmi
Videomixer can accept AYUV, ARGB and BGRA video streams. So I think the problem is u need to change filesrc mp4 type to any of this 3 types. then u can link it to videomixer.
Reply | Threaded
Open this post in threaded view
|

Re: Can't link demuxer to videomixer

amirulsyahmi
Videomixer can accept AYUV, ARGB and BGRA video streams. So I think the
problem is u need to change filesrc mp4 type to any of this 3 types. then u
can link it to videomixer.

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Can-t-link-demuxer-to-videomixer-tp3829565p3832480.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel