[gst-devel] RTP from sdp: video disappear after some seconds, suggestions?

Wim Taymans wim.taymans at gmail.com
Wed May 13 21:57:50 CEST 2009


On Wed, 2009-05-13 at 21:19 +0200, MailingList SVR wrote:
> Hi all,
> 
> 
> 
> I'm having some trouble playing an rtp stream with description in a
> local sdp file. I see the video for some seconds and then it
> disappear, here is the launch command in verbose mode

If you are running the server locally, it's a known bug. The client will
send RTCP to itself and this will cause a loop and EOS.

Wim
> 
> 
> 
> gst-launch-0.10 -v filesrc location=test.sdp.2 ! decodebin !
> autovideosink
> 
> 
> 
> 
> Impostazione della pipeline a PAUSED ... 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = application/sdp 
> La pipeline è viva e non necessita il PREROLL ... 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstPad:sink: caps = application/sdp 
> Impostazione della pipeline a PLAYING ... 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0: latency = 200 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstUDPSrc:udpsrc0: timeout = 10000000 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0: ntp-ns-base = 3451230815497065000 
> New clock: GstSystemClock 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstUDPSrc:udpsrc0: timeout = 0 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.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)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstGhostPad:recv_rtp_src_0_1256991181_96.GstProxyPad:proxypad6: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1256991181_96.GstProxyPad:proxypad5: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.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)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/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)3, config=(string)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b001000001b58913000001000000012000c48d88002d14043c1463000001b24c61766335322e31352e30 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps
> = video/x-raw-yuv, width=(int)640, height=(int)480,
> framerate=(fraction)5/1, format=(fourcc)I420,
> pixel-aspect-ratio=(fraction)1/1
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.GstPad:src: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)5/1, format=(fourcc)I420, pixel-aspect-ratio=(fraction)1/1 
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage.GstPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)5/1, format=(fourcc)I420, pixel-aspect-ratio=(fraction)1/1 
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)5/1, format=(fourcc)I420, pixel-aspect-ratio=(fraction)1/1 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps
> = video/x-raw-yuv, width=(int)640, height=(int)480,
> framerate=(fraction)5/1, format=(fourcc)I420,
> pixel-aspect-ratio=(fraction)1/1
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyPad:proxypad7: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)5/1, format=(fourcc)I420, pixel-aspect-ratio=(fraction)1/1 
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)5/1, format=(fourcc)I420, pixel-aspect-ratio=(fraction)1/1 
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad1: caps = video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)5/1, format=(fourcc)I420, pixel-aspect-ratio=(fraction)1/1 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtcp 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad4: caps = application/x-rtcp 
> Ottenuto EOS dall'elemento «pipeline0». 
> Execution ended after 4005565931 ns. 
> Impostazione della pipeline a PAUSED ... 
> Impostazione della pipeline a READY ... 
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage.GstPad:sink: caps = NULL 
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps
> = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps
> = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.GstPad:src: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:src: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:sink: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = NULL 
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1256991181_96: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux0.GstPad:src_96: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0.GstPad:sink: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstSDPDemux:sdpdemux0/GstUDPSink:udpsink0.GstPad:sink: caps = NULL
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL
> Impostazione della pipeline a NULL ...
> Esecuzione FREE su pipeline ...
> 
> 
> 
> the stream works fine with vlc any ideas?
> 
> 
> 
> thanks
> Nicola
> 
> 
> 
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list