rtspsrc and video depay not working

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

rtspsrc and video depay not working

Leonardo Sandoval
Hi,
for some reason, the rtspsrc is not able to caps negotiate with a video depay, like in this pipeline:

root@zoom3:/usr/bin# gst-launch rtspsrc protocols=tcp location=rtsp://10.87.228.215/sample.mp4  !  rtph263pdepay ! fakesink -v
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRTPDec:rtpdec0: latency = 3000
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Internal data flow error.
Additional debug info:
gstrtspsrc.c(3351): gst_rtspsrc_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 9246825 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRTPDec:rtpdec0.GstPad:recv_rtp_src_1_1859506124_97: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
root@zoom3:/usr/bin#


I also tried using a audio depay (instead of the video) and in this case, the pipeline works. Also, placing an audio BEFORE a video depay works.
In order to see why the caps negotiation fails, I printed out the buffers caps, and these are all NULLS but there is commit (http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9f68303a2e290c14c91deb5ec33abe885980010e) in gst-plugins-good repository which handles this latter case.

Anyone has an idea of what is going on?




------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtspsrc and video depay not working

Tim-Philipp Müller-2
On Wed, 2009-12-09 at 17:39 -0600, Leonardo Sandoval wrote:

> for some reason, the rtspsrc is not able to caps negotiate with a
> video depay, like in this pipeline:
>
> root@zoom3:/usr/bin# gst-launch rtspsrc protocols=tcp
> location=rtsp://10.87.228.215/sample.mp4  !  rtph263pdepay ! fakesink
> -v
> ...
> Anyone has an idea of what is going on?

Does it work with gst-launch-0.10 playbin2 uri=rtsp://... ?

If yes, what's the output of gst-launch -v in that case?

Cheers
 -Tim



------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtspsrc and video depay not working

bagz
CONTENTS DELETED
The author has deleted this message.