how to save rtsp h.264 stream frame by frame

venkata.subbarao rao.subba.venkata at gmail.com
Tue Oct 22 11:00:39 UTC 2019


Thank you Carl. Finally, I found the following link which gave clues on how
to record frame by frame.

http://gstreamer-devel.966125.n4.nabble.com/Getting-Each-h264-Frame-td4664932.html

For the sake of any future searchers, pasted below the complete pipeline.

rtspsrc protocols=tcp location=<rtsp url> ! queue ! rtph264depay !
video/x-h264,alignment=au,stream-format=byte-stream ! h264parse ! appsink
name=test sync=false

Here is the gst-launch command which records the frames to the file without
AUD.

gst-launch-1.0 rtspsrc location=<rtsp url> ! rtph264depay ! h264parse !
video/x-h264,alignment=au,stream-format=byte-stream ! filesink
location=out.h264

With this both issues are resolved for me.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list