Page 1 of 1

Audio stops working with VLC stream after a while

Posted: 16 Sep 2022 01:56
by Jason_25
I am recording video and audio from a HDHomerun device and transcoding it for mobile devices. The reencoding server is an AMD Phenom II 1075T at 3 ghz. It works ok at first but after maybe an hour or so the audio stops working. VLC clients show no audio codec available when it is not working. There are also quite a few errors that pop up while it is running. Also CPU usage is at 100% with audio. Without audio CPU usage is more like 50%. Does it really take that much more CPU?

This is the command line I am using. Does the command look ok? I really feel performance is a factor so can it be sped up at all?

Code: Select all

cvlc -R http://192.168.1.251:5004/auto/v3.1 --http-reconnect :v4l2-standard=0 :file-caching=300 --sout='#transcode{vcodec=VP80,vb=800,width=360,height=240,acodec=opus,fps=15,threads=1,soverlay,sfilter=marq{file="/home/pi/CAPTION_1",color=16777215,position=8}}:duplicate{dst=http{mux=webm,dst=:5001/}}' :no-sout-rtp-sap :no-sout-standard-sap :sout-keep

Re: Audio stops working with VLC stream after a while

Posted: 23 Sep 2022 00:28
by Jason_25
I was forced to just script a restart currently every 4 hours. This has "fixed" the problem but people potentially watching the streams get a rude disconnection now.