Page 1 of 1

Start recording VLC from terminal

Posted: 17 Aug 2022 10:30
by Tormund1985
Hi,
I am trying to start VLC through the terminal to start recording streaming audio but I have not been able to get it to record.
The command with which I open the stream is as follows:

Code: Select all

cvlc -vvv tcp/wav://xxx

Many thanks

Edit: with --sout=file/ogg:go.wav I am saving but not reproducing at same time. Is not possible? Thanks

Re: Start recording VLC from terminal

Posted: 17 Aug 2022 13:17
by RĂ©mi Denis-Courmont
vlc --sout-display

Re: Start recording VLC from terminal

Posted: 17 Aug 2022 14:40
by Tormund1985
I am trying with next command but adding display it doesn't work.

Code: Select all

cvlc --repeat -vvv tcp/wav://7xxxxx --sout="#std{access=file,mux=ogg,dst=/home/VLC_audios/$(date +%Y%m%d_%H%M%S_audio).wav}"
Many thanks for your support.

Re: Start recording VLC from terminal

Posted: 24 Aug 2022 09:35
by Tormund1985
Does anyone know how to set a size limit and have it restart automatically?

Thanks in advance