On Do, 2014-02-06 at 04:30 -0800, Shilpa Chandrappa wrote:
> 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://172.22.74.3/h264 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.