GNOME Bugzilla – Bug 745150
Infinite loop with GStreamer 1.4.5 on iOS when trying to play RTSP
Last modified: 2015-02-25 16:37:20 UTC
Created attachment 297859 [details] inf. loop message log Hello, I’m constantly getting following error when trying to play RTSP stream, and it looks like as infinite loop, because it prints the same message over and over again: 0:01:08.601649000 [336m 347[00m 0x30a8090 [33;01mLOG [00m [00m decodebin gstdecodebin2.c:4235:GstPadProbeReturn source_pad_event_probe(GstPad *, GstPadProbeInfo *, gpointer):<decodebin0:src_0>[00m segment dpad:0x31a11a0 0:01:08.602219000 [336m 347[00m 0x30a8090 [33;01mLOG [00m [00m decodebin gstdecodebin2.c:4235:GstPadProbeReturn source_pad_event_probe(GstPad *, GstPadProbeInfo *, gpointer):<decodebin0:src_0>[00m stream-start dpad:0x31a11a0 0:01:08.602746000 [336m 347[00m 0x30a8090 [33;01mLOG [00m [00m decodebin gstdecodebin2.c:4235:GstPadProbeReturn source_pad_event_probe(GstPad *, GstPadProbeInfo *, gpointer):<decodebin0:src_0>[00m caps dpad:0x31a11a0 0:01:08.603786000 [336m 347[00m 0x30a8090 [33;01mLOG [00m [00m decodebin gstdecodebin2.c:4235:GstPadProbeReturn source_pad_event_probe(GstPad *, GstPadProbeInfo *, gpointer):<decodebin0:src_0>[00m stream-start dpad:0x31a11a0 GStreamer 1.4.5 iOS 8.1.2 Pipeline: rtspsrc location=rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov ! queue ! decodebin ! autovideosink Full log attached. I’d really appreciate any help on this one, because it blocks us. Thanks, Dmytro Kabyshev
The same stream works with playbin. It seems that you are linking the 'audio' pad of the rtspsrc to autovideosink. If you replace it with autoaudiosink it should work. rtspsrc should be creating 2 pads, one for video and other for audio and you need to link them accordingly. You can check the pipeline used by playbin by running the following command: GST_DEBUG_DUMP_DOT_DIR=/tmp gst-launch-1.0 playbin uri="rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov" and then use 'dot' application to create an image from the files created at your /tmp dir dot -Tpng < /tmp/myfile.dot > pipeline_picture.png