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

About encoding, codec settings, muxers and filter usage
iCrashed
New Cone
New Cone
Posts: 1
Joined: 07 Sep 2018 08:52

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

Postby iCrashed » 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.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

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

Postby InTheWings » 07 Sep 2018 10:37

We don't support assembling timelines.
You can only record from A to B, and it's over.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 08 Sep 2018 14:02

Combining cycle and gather, it might be possible from the CLI. There is no support for streaming output in LibVLC 3.0.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests