Search found 9 matches

Go to advanced search

by Tormund1985
08 Sep 2022 11:11
Forum: VLC stream-output (sout)
Topic: Stop working record audio stream
Replies: 9
Views: 2275

Re: Stop working record audio stream

From pi Zero I get thorough journalctl next messages: sep 08 09:30:39 PIZERO2A rc.local[515]: Error writing trailer of tcp://0.0.0.0:8554: Broken pipe sep 08 09:30:39 PIZERO2A rc.local[515]: size= 290923kB time=00:59:59.78 bitrate= 662.1kbits/s speed=1.07x sep 08 09:30:39 PIZERO2A rc.local[515]: vid...
by Tormund1985
30 Aug 2022 19:40
Forum: VLC stream-output (sout)
Topic: Stop working record audio stream
Replies: 9
Views: 2275

Re: Stop working record audio stream

It keeps stopping without repeating a pattern or any alarm, this time it only recorded 8 minutes.

Could I modify the buffer?
by Tormund1985
30 Aug 2022 10:19
Forum: VLC stream-output (sout)
Topic: Stop working record audio stream
Replies: 9
Views: 2275

Re: Stop working record audio stream

For wav, you can use the wav muxer, and let the correct demuxer open (avformat will get chosed). while true; 130 ↵ do ffmpeg -ar 44100 -ac 1 -f pulse -i alsa_input.pci-0000_00_1f.3.analog-stereo.3 -f wav -listen 1 tcp://0.0.0.0:8554; done # ... cvlc -vvv tcp://127.0.0.1:8554 --sout="#std{acces...
by Tormund1985
30 Aug 2022 09:19
Forum: VLC stream-output (sout)
Topic: Stop working record audio stream
Replies: 9
Views: 2275

Re: Stop working record audio stream

wav into ogg won't achieve anything
So which output should I use for the mux? wav directly?

Thanks.
by Tormund1985
30 Aug 2022 09:17
Forum: VLC stream-output (sout)
Topic: Stop working record audio stream
Replies: 9
Views: 2275

Re: Stop working record audio stream

Can you share the broadcast ffmpeg command too ?
Of course:

Code: Select all

while true; do ffmpeg -ar 44100 -ac 1 -f alsa -i plughw:2,0 -f wav -listen 1 tcp://xxxxx:xxxxx@0.0.0.0:8554; done
by Tormund1985
26 Aug 2022 08:54
Forum: VLC stream-output (sout)
Topic: Stop working record audio stream
Replies: 9
Views: 2275

Stop working record audio stream

I am working with the following command from an ubuntu server to record an audio stream that I am broadcasting from a Pi zero with microphone through ffmpeg. 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}" After e...
by Tormund1985
24 Aug 2022 09:35
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Start recording VLC from terminal
Replies: 3
Views: 340

Re: Start recording VLC from terminal

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

Thanks in advance
by Tormund1985
17 Aug 2022 14:40
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Start recording VLC from terminal
Replies: 3
Views: 340

Re: Start recording VLC from terminal

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.
by Tormund1985
17 Aug 2022 10:30
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Start recording VLC from terminal
Replies: 3
Views: 340

Start recording VLC from terminal

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: cvlc -vvv tcp/wav://xxx Many thanks Edit: with --sout=file/ogg:go.wav I am saving but not reproducing at same tim...

Go to advanced search