<br><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 6:19 AM, florian iragne <span dir="ltr"><<a href="mailto:florian.iragne@viewsurf.com">florian.iragne@viewsurf.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
<br>
i'm trying to dump the rtsp stream from an Axis Q1755 camera into an mp4<br>
file, using gstreamer.<br>
<br>
here is the pipeline i use for testing purposes :<br>
gst-launch rtspsrc<br>
location="rtsp://<a href="http://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF" target="_blank">192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF</a>"<br>
latency=100 ! rtph264depay ! ffdec_h264 ! xvimagesink<br>
<br>
it works perfectly.<br>
<br>
Now, if i want to dump the stream, i use :<br>
gst-launch -e rtspsrc<br>
location="rtsp://<a href="http://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF" target="_blank">192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF</a>"<br>
latency=100 ! rtph264depay ! mp4mux faststart=true ! filesink<br>
location=./test.mp4<br>
</blockquote><div><br>Re-run with -v and give us the output, so we can see the caps of each pad/element.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
And it doesn't work<br>
<br>
Here are some debug messages that you may find relevant :<br>
0:00:01.138615711 25335 0x894d850 WARN qtmux<br>
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0<br>
refused caps video/x-h264<br>
<br>
0:00:01.138819402 25335 0x894d850 WARN qtmux<br>
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0<br>
refused caps video/x-h264<br>
<br>
0:00:01.168744570 25335 0x88cfe18 INFO basesrc<br>
gstbasesrc.c:2282:gst_base_src_loop:<udpsrc1> pausing after<br>
gst_pad_push() = not-negotiated<br>
<br>
0:00:01.168818368 25335 0x88cfe18 WARN basesrc<br>
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: Erreur interne de<br>
flux de données.<br>
<br>
0:00:01.168840388 25335 0x88cfe18 WARN basesrc<br>
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: streaming task<br>
paused, reason not-negotiated (-4)<br>
<br>
0:00:01.168892191 25335 0x88cfe18 INFO GST_ERROR_SYSTEM<br>
gstelement.c:1677:gst_element_message_full:<udpsrc1> posting message:<br>
Erreur interne de flux de données.<br>
<br>
0:00:01.168949578 25335 0x88cfe18 INFO GST_ERROR_SYSTEM<br>
gstelement.c:1700:gst_element_message_full:<udpsrc1> posted error<br>
message: Erreur interne de flux de données.<br>
<br>
<br>
Does anybody have an idea about the problem? I've tried many options and<br>
ways to do this, without any success (i've also tried ffmux_mp4)<br>
<br>
i use gstreamer 0.10.23 from debian (testing)<br>
<br>
thanks for any help<br>
<br>
Florian<br>
<br>
------------------------------------------------------------------------------<br>
OpenSolaris 2009.06 is a cutting edge operating system for enterprises<br>
looking to deploy the next generation of Solaris that includes the latest<br>
innovations from Sun and the OpenSource community. Download a copy and<br>
enjoy capabilities such as Networking, Storage and Virtualization.<br>
Go to: <a href="http://p.sf.net/sfu/opensolaris-get" target="_blank">http://p.sf.net/sfu/opensolaris-get</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br><br>Embedded Systems and Pervasive Computing Lab (Embedded)<br>Center of Electrical Engineering and Informatics (CEEI)<br>Federal University of Campina Grande (UFCG)<br>