AW: AW: Impossible to play a rtsp stream

Dominik Schröder dominik.schroeder at bh-elektronik.de
Tue Jul 17 04:41:30 PDT 2012


Hello Marc

You are right. After some testing today, I get another problem with another
rtsp stream (network video camera). After starting with:

gst-launch-0.10 -v uridecodebin uri=rtsp://172.16.22.20:554 !
fastoverlaysink sync=false

the stream is displayed very well. After some time the picture hangs. Then I
have to quit gstreamer with Strg + C.
The point when the picture hangs up is constantly after "FB display frame
count = 129".

Also I get very much output from gstreamer. What kind of information is
hidden in this output?

Are there any other tests I can do, to see where the problem is?

Also I tried to switch to a newer gstreamer version. But it looks like the
Marvell specific codec plugins does not work with the newer version...

set up. fb_vinfo.xres=1024, fb_vinfo.yres=768
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0: source = (GstRTSPSrc)
source
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRT
PDec:rtpdec0: latency = 3000
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUD
PSrc:udpsrc0: timeout = 5000000
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error:
clock problem.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUD
PSrc:udpsrc0: timeout = 0
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstTypeFindElement:typefind.GstPad:src: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)MP4V-ES, profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstTypeFindElement:typefind.GstPad:sink: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)MP4V-ES, profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstGhostPad:sink: caps = application/x-rtp, media=(string)video,
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGh
ostPad:recv_rtp_src_0_2790754570_96: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)MP4V-ES, profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGh
ostPad:recv_rtp_src_0_2790754570_96.GstProxyPad:proxypad0: caps =
application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstGhostPad:sink: caps = application/x-rtp, media=(string)video,
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstGhostPad:sink.GstProxyPad:proxypad1: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)MP4V-ES, profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = video/mpeg,
mpegversion=(int)4, systemstream=(boolean)false,
codec_data=(buffer)000001b0f5000001b509000001000000012000c88d89d4c61f4c28107
85060
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)90000,
encoding-name=(string)MP4V-ES, profile-level-id=(string)245,
config=(string)000001B0F5000001B509000001000000012000C88D89D4C61F4C281078506
0, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstMPEG4Dec:mpeg4dec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4,
systemstream=(boolean)false,
codec_data=(buffer)000001b0f5000001b509000001000000012000c88d89d4c61f4c28107
85060
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps
= video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)0/1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstDecodePad:src0: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)320, height=(int)240, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstMPEG4Dec:mpeg4dec0.GstPad:src: caps = video/x-raw-yuv,
format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)0/1
Input format is YUV420PLANAR
ov1_decide_path_strategy: rotate strategy=2, resize strategy=1, rot_degree=0
/GstPipeline:pipeline0/GstOverlay1VS:overlay1vs0.GstPad:sink: caps =
video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)0/1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps
= video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)0/1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0.GstPro
xyPad:proxypad5: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)320, height=(int)240, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps
= video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)0/1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstDecodePad:src0: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)320, height=(int)240, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstDecodePad:src0.GstProxyPad:proxypad4: caps = video/x-raw-yuv,
format=(fourcc)I420, width=(int)320, height=(int)240,
framerate=(fraction)0/1
display_frame_overlay: Using new LCD driver interface.
Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 28101342762 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstOverlay1VS:overlay1vs0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps
= NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps
= NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstDecodePad:src0: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps
= NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstDecodePad:src0: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstMPEG4Dec:mpeg4dec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstMPEG4Dec:mpeg4dec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20/GstTypeFindElement:typefind.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin
20.GstGhostPad:sink: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGh
ostPad:recv_rtp_src_0_2790754570_96: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGh
ostPad:recv_rtp_src_0_2790754570_96: caps = NULL
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRT
PDec:rtpdec0.GstPad:recv_rtp_src_0_2790754570_96: caps = NULL
Setting pipeline to NULL ...
....Thread exit =1 Overlay1VS->_is_error_set=0...
 ov1_main_thread: Exiting overlaysink thread...
FREEING pipeline ...
------ FB display frame count = 129


Thanks and best regards

Dominik Schröder

-----Ursprüngliche Nachricht-----
Von:
gstreamer-devel-bounces+dominik.schroeder=bh-elektronik.de at lists.freedesktop
.org
[mailto:gstreamer-devel-bounces+dominik.schroeder=bh-elektronik.de at lists.fre
edesktop.org] Im Auftrag von Marc Leeman
Gesendet: Montag, 16. Juli 2012 16:11
An: Discussion of the development of and with GStreamer
Betreff: Re: AW: Impossible to play a rtsp stream

> The option sync=false to fastoverlaysink works very well. Now the video
stream is displayed as I expected. Very much thanks!

I think both suggestions are pointing the same root cause; as long as you
take into account that using sync=0 does not solve your problem, it merely
hides it.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list