Start recording VLC from terminal

*nix specific usage questions
Tormund1985
New Cone
New Cone
Posts: 9
Joined: 17 Aug 2022 10:22

Start recording VLC from terminal

Postby Tormund1985 » 17 Aug 2022 10:30

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

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

Re: Start recording VLC from terminal

Postby Rémi Denis-Courmont » 17 Aug 2022 13:17

vlc --sout-display
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Tormund1985
New Cone
New Cone
Posts: 9
Joined: 17 Aug 2022 10:22

Re: Start recording VLC from terminal

Postby Tormund1985 » 17 Aug 2022 14:40

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.

Tormund1985
New Cone
New Cone
Posts: 9
Joined: 17 Aug 2022 10:22

Re: Start recording VLC from terminal

Postby Tormund1985 » 24 Aug 2022 09:35

Does anyone know how to set a size limit and have it restart automatically?

Thanks in advance


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests