rtsp (H264 + aac) stream receive

Sebastian Dröge sebastian at centricular.com
Thu Feb 6 12:42:43 PST 2014

On Do, 2014-02-06 at 04:30 -0800, Shilpa Chandrappa wrote:
> Hi,
> I need to receive an rtsp (H264 + AAC ) audio + video stream from IP Camera
> and record in mp4 format.
> The pipeline command which I am using is not receiving data.
> Command used
> " gst-launch-0.10 rtspsrc location=rtsp:// name=rtsp  !
> queue ! rtph264depay ! video/x-h264, width=1920, height=1080, framerate=30/1 
> ! ffdec_h264  ! videorate ! ffenc_mpeg4 ! mp4mux name=mp4 ! filesink
> location=video.mp4 rtsp.  ! queue ! rtpmp4gdepay !  mp4."
> Could anyone help what is the issue with this pipeline ?

I don't know if that's the only problem but for one thing you will need
to add queue elements before all muxer sinkpads and after all rtspsrc

Also you should add bitstream parser elements before the muxer sinkpads,
e.g. h264parse or mpeg4videoparse.

All this will probably also work better when you update to the latest
GStreamer 1.x release.

Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140206/bd622943/attachment.pgp>

More information about the gstreamer-devel mailing list