[gst-devel] rtsp / h264 / mp4mux

Mark Nauwelaerts manauw at skynet.be
Mon Jun 8 16:35:15 CEST 2009


thiagoss wrote:
> 
> 
> On Thu, Jun 4, 2009 at 6:19 AM, florian iragne 
> <florian.iragne at viewsurf.com <mailto:florian.iragne at viewsurf.com>> wrote:
> 
>     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
>     <http://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
>     <http://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF>"
>     latency=100 ! rtph264depay ! mp4mux faststart=true ! filesink
>     location=./test.mp4
> 
> 
> Re-run with -v and give us the output, so we can see the caps of each 
> pad/element.
>  

The caps that are being used are actually in the (warning) messages below,
and it shows the caps in question do not have much to show for themselves.
In particular, width and height are missing, which qtmux (and so would probably 
others) does not appreciate.  It would also at least be necessary to run 
rtph264depay byte-stream=FALSE, since bytestream format is not meant to go into 
mp4 container.

>     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
> 
>     ------------------------------------------------------------------------------
>     OpenSolaris 2009.06 is a cutting edge operating system for enterprises
>     looking to deploy the next generation of Solaris that includes the
>     latest
>     innovations from Sun and the OpenSource community. Download a copy and
>     enjoy capabilities such as Networking, Storage and Virtualization.
>     Go to: http://p.sf.net/sfu/opensolaris-get
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> 
> 
> -- 
> Thiago Sousa Santos
> 
> Embedded Systems and Pervasive Computing Lab (Embedded)
> Center of Electrical Engineering and Informatics (CEEI)
> Federal University of Campina Grande (UFCG)
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
> looking to deploy the next generation of Solaris that includes the latest 
> innovations from Sun and the OpenSource community. Download a copy and 
> enjoy capabilities such as Networking, Storage and Virtualization. 
> Go to: http://p.sf.net/sfu/opensolaris-get
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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