[gst-devel] Problem with rtspsrc->rtph264depay->qtmux->filesink

Yiliang Bao yiliangb at gmail.com
Tue Nov 24 08:43:34 CET 2009


Hi,

I have the following pipeline to capture a video streamed from an RTSP
server.

gst-launch rtspsrc location=rtsp://192.168.1.64:554/video0 ! rtph264depay !
qtmux ! filesink location=b.mov

I got the following error:

gstbasesrc.c(2378): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)

According to another post
(http://old.nabble.com/rtsp---h264---mp4mux-td23866919.html#a23866919), I
changed the pipeline to:

gst-launch rtspsrc location=rtsp://192.168.1.64:5554/video0 ! rtph264depay !
video/x-h264, width=640, height=480, framerate=15/1 ! qtmux ! filesink
location=b.mov

I got this error:

gstqtmux.c(1347): gst_qt_mux_add_buffer ():
/GstPipeline:pipeline0/GstQTMux:qtmux0:
Failed to determine time to mux.

I tried this pipeline, by setting byte-stream property of rtph264depay to
false:

gst-launch rtspsrc location=rtsp://192.168.1.64:5554/video0 ! rtph264depay
byte-stream=false ! video/x-h264, width=640, height=480, framerate=15/1 !
qtmux ! filesink location=b.mov

I got the same error, Failed to determine time to mux.

I also tried ffmux_mp4. The pipeline can continue, but it looks like that
only the access unit delimiter RBSP is captured.

To verify the function of the server, I tried following 2 pipelines and both
are working properly.

gst-launch rtspsrc location=rtsp://192.168.1.64:554/video0 ! rtph264depay !
ffdec_h264 ! xvimagesink

gst-launch rtspsrc location=rtsp://192.168.1.64:554/video0 ! rtph264depay !
filesink location=c.mov

Can anyone familiar with the behavior of the quicktime mux give some hint on
what the problem might be? 

Thanks,
Yiliang


-- 
View this message in context: http://old.nabble.com/Problem-with-rtspsrc-%3Ertph264depay-%3Eqtmux-%3Efilesink-tp26491640p26491640.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list