VLC/libVLC 3.0.x Save only some parts of live streaming
Posted: 07 Sep 2018 09:36
I want a button to start recording the stream on button click. From the documentations I understand that only way to save stream is using
--sout file/muxer:stream.xyz
And I will have to use the sout while initiating the vlc
i = vlc.Instance(url_to_video_feed, "--sout=file/ps:output.mpg")
This would mean the entire streaming video feed will be saved in the output.mpg file. I only want certain sections of the video feed to save.
How can I record only certain section of the stream and save it different files of a stream that is playing.
--sout file/muxer:stream.xyz
And I will have to use the sout while initiating the vlc
i = vlc.Instance(url_to_video_feed, "--sout=file/ps:output.mpg")
This would mean the entire streaming video feed will be saved in the output.mpg file. I only want certain sections of the video feed to save.
How can I record only certain section of the stream and save it different files of a stream that is playing.