Page 1 of 1

VLC/libVLC 3.0.x Save only some parts of live streaming

Posted: 07 Sep 2018 09:36
by iCrashed
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.

Re: VLC/libVLC 3.0.x Save only some parts of live streaming

Posted: 07 Sep 2018 10:37
by InTheWings
We don't support assembling timelines.
You can only record from A to B, and it's over.

Re: VLC/libVLC 3.0.x Save only some parts of live streaming

Posted: 08 Sep 2018 14:02
by RĂ©mi Denis-Courmont
Combining cycle and gather, it might be possible from the CLI. There is no support for streaming output in LibVLC 3.0.