[gst-devel] rtsp / h264 / mp4mux

florian iragne florian.iragne at viewsurf.com
Thu Jun 4 11:19:31 CEST 2009


hi,

i'm trying to dump the rtsp stream from an Axis Q1755 camera into an mp4 
file, using gstreamer.

here is the pipeline i use for testing purposes :
gst-launch rtspsrc 
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF" 
latency=100 ! rtph264depay ! ffdec_h264 ! xvimagesink

it works perfectly.

Now, if i want to dump the stream, i use :
gst-launch -e rtspsrc 
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF" 
latency=100 ! rtph264depay ! mp4mux faststart=true ! filesink 
location=./test.mp4

And it doesn't work

Here are some debug messages that you may find relevant :
0:00:01.138615711 25335  0x894d850 WARN                 qtmux 
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0 
refused caps video/x-h264 

0:00:01.138819402 25335  0x894d850 WARN                 qtmux 
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0 
refused caps video/x-h264 

0:00:01.168744570 25335  0x88cfe18 INFO               basesrc 
gstbasesrc.c:2282:gst_base_src_loop:<udpsrc1> pausing after 
gst_pad_push() = not-negotiated 

0:00:01.168818368 25335  0x88cfe18 WARN               basesrc 
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: Erreur interne de 
flux de données. 

0:00:01.168840388 25335  0x88cfe18 WARN               basesrc 
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: streaming task 
paused, reason not-negotiated (-4) 

0:00:01.168892191 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM 
gstelement.c:1677:gst_element_message_full:<udpsrc1> posting message: 
Erreur interne de flux de données. 

0:00:01.168949578 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM 
gstelement.c:1700:gst_element_message_full:<udpsrc1> posted error 
message: Erreur interne de flux de données.


Does anybody have an idea about the problem? I've tried many options and 
ways to do this, without any success (i've also tried ffmux_mp4)

i use gstreamer 0.10.23 from debian (testing)

thanks for any help

Florian




More information about the gstreamer-devel mailing list