Save live Video using gstreamer command

Purva gevaria.purva at einfochips.com
Tue Jan 5 13:42:45 UTC 2021


Hi Aniket,

Thanks for the reply. Now I am able to save streamed the video using below
command:
gst-launch-1.0 -e udpsrc udp://ip:2222 ! h265parse ! mp4mux ! filesink
location=camera.mp4

I am getting streamed video in mp4 format with expected resolution. Now I
want to keep streaming open with saving and Once preview will be stopped
then streaming should be closed and video should be saved.

Earlier I have used below command for streaming video:
gst-launch-1.0 udpsrc port=2222 ! decodebin ! autovideosink sync=false

Overall I want to merge these both so that I can able to see streaming and
can save streaming video both together. So can you please give command for
same?

Thanks,
Purva



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


More information about the gstreamer-devel mailing list