Saving livestream file upto certain seconds

About encoding, codec settings, muxers and filter usage
srafay
New Cone
New Cone
Posts: 4
Joined: 17 Feb 2018 12:59
VLC version: 2.2.2
Operating System: Ubuntu 16.04
Contact:

Saving livestream file upto certain seconds

Postby srafay » 18 Feb 2018 12:16

Hello, I want to save the first 15 seconds from the livestream (only 15 seconds in total). Is there a flag or an argument that could allow me to do that?
I am currently using this command :

Code: Select all

--sout=#transcode{vcodec=none,acodec=mp3,ab=320,channels=2,samplerate=44100}:file{dst=audio.mp3}"

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Saving livestream file upto certain seconds

Postby Jean-Baptiste Kempf » 26 Jun 2018 21:21

--stop-time 15
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 45 guests