Linking playbin2 with an rtpbin.

Paddy pat.blanchon at gmail.com
Fri Feb 22 06:23:11 PST 2013


Hi,

I'm trying to use playbin2 to playback a series of H264 video matroska file
thru' a gstrtpbin. 

The gstrtpbin & attendant udpsrc & udpsink elements are in their own bin
which is set as the "video-sink" property of the playbin2. I've also tried
this with payloaders in this bin to no avail.

The problem I'm seeing is that when I start playing the playbin2 creates an
ffdec_h264 element before it sets the custom video-sink, & produces output
like this:
     playbin2 gstplaybin2.c:2740:no_more_pads_cb:<playbin20> linked type
video/x-raw-, result: 0             
     playbin2 gstplaybin2.c:2749:no_more_pads_cb:<playbin20> pending 1 > 0                                   
     playbin2 gstplaybin2.c:2760:no_more_pads_cb:<playbin20> last group
complete                             
     playbin2 gstplaybin2.c:2773:no_more_pads_cb:<playbin20> setting custom
audio sink (NULL)                
     playbin2 gstplaybin2.c:2778:no_more_pads_cb:<playbin20> setting custom
video sink <viewbin0>            
     playbin2 gstplaybin2.c:2783:no_more_pads_cb:<playbin20> setting custom
text sink (NULL)                 
     playbin2 gstplaybin2.c:2789:no_more_pads_cb:<playbin20> reconfigure
sink                                
     playsink gstplaysink.c:1362:gen_video_chain:<playsink0> error: Failed
to configure the video sink.      
& gst_element_set_state() fails.

I strongly suspect that what I'm trying to do is not supported by playbin2,
are there any workarounds to this ??

I'm only using playbin2 to use the "about-to-finish" signal to get seamless
playback from a series of mkv files - so I'm open to alternatives that
achieve this.

Cheers 

Paddy



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Linking-playbin2-with-an-rtpbin-tp4658722.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list