Failed to negociate

adrien_sch adrien.schwartzentruber at gmail.com
Thu Dec 19 08:34:44 PST 2013


Hello guys,

I observed somethings strange with this pipeline : 

gst-launch-1.0 videotestsrc ! video/x-raw, format=I420 ! funnel !
videoconvert ! clockoverlay ! videoconvert ! videobox border-alpha=0 top=-1
bottom=-1 ! videoconvert ! videomixer name=mix ! videoconvert ! xvimagesink
sync=FALSE async=FALSE videotestsrc ! video/x-raw, format=I420 ! funnel !
videoconvert ! clockoverlay ! videoconvert ! videobox border-alpha=0 top=-1
left=-300 ! videoconvert ! mix.

Debug trace : 

Setting pipeline to PAUSED ...
0:00:00.093931673 31677      0x10ed0f0 FIXME                default
gstutils.c:3636:gst_pad_create_stream_id_printf_valist:<videotestsrc1:src>
Creating random stream-id, consider implementing a deterministic way of
creating a stream-id
0:00:00.093960286 31677      0x10ed140 FIXME                default
gstutils.c:3636:gst_pad_create_stream_id_printf_valist:<videotestsrc0:src>
Creating random stream-id, consider implementing a deterministic way of
creating a stream-id
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.182762136 31677      0x10ed140 WARN                 default
gstvideopool.c:171:video_buffer_pool_set_config:<videobufferpool0> no caps
in config
0:00:00.206291897 31677      0x10ed0f0 WARN                GST_PADS
gstpad.c:3577:gst_pad_peer_query:<videoconvert4:src> could not send sticky
events
0:00:00.206378858 31677      0x10ed0f0 WARN                 default
gstvideopool.c:171:video_buffer_pool_set_config:<videobufferpool4> no caps
in config
0:00:00.212290376 31677      0x10ed0f0 WARN                 basesrc
gstbasesrc.c:2812:gst_base_src_loop:<videotestsrc1> error: Internal data
flow error.
0:00:00.212321542 31677      0x10ed0f0 WARN                 basesrc
gstbasesrc.c:2812:gst_base_src_loop:<videotestsrc1> error: streaming task
paused, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2812): gst_base_src_loop ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1:
streaming task paused, reason not-negotiated (-4)
Execution ended after 112306743 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Working pipeline : 
gst-launch-1.0 videotestsrc ! video/x-raw, height=1080, width=1920 ! funnel
! videoconvert ! clockoverlay ! videoconvert ! videobox border-alpha=0
top=-1 bottom=-1 ! videoconvert ! videomixer name=mix ! videoconvert !
xvimagesink sync=FALSE async=FALSE videotestsrc ! video/x-raw, height=1080,
width=1920 ! funnel ! videoconvert ! clockoverlay ! videoconvert ! videobox
border-alpha=0 top=-1 left=-300 ! videoconvert ! mix.

So the cause is the format caps after the videotestsrc. 

I don't understand why this pipeline doesn't work, could someone explain to
me my mistake ? 

NB : using videobox for convernance, set videomixer caps has the same
result. 

Thx in advance. 





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Failed-to-negociate-tp4664169.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list