Page 1 of 1

VLC not able to listen to Live Stream(happening intermittently)

Posted: 03 Feb 2023 16:56
by aman151294
I am using VLC to listen to a HTTPS Stream and then transcode and restream it. VLC is not able to listen to this stream and its happening intermittently. The VLC stream being listened to is generated by the below mentioned VLC command:

vlc.exe --vlm-conf "C:\Program Files\App\AppData\vlc\Data\settings\vlcrc" --no-plugins-cache --config "C:\Program Files\App\AppData\vlc\Data\settings\vlcrc" --intf dummy --verbose=2 --file-logging --logfile=C:\Users\aman1512\.company\vlc-log.log screen:// :screen-caching=1000 :screen-fps=10.000000 :sout=#transcode{vb=800,venc=x264{preset=fast,tune=zerolatency,intra-refresh,lookahead=10,keyint=15},vcodec=h264,scale=1,fps=10,deinterlace=0,croptop=0,cropbottom=0,cropleft=0,cropright=0,acodec=none,channels=1,samplerate=44100}:http{access=https,mux=ts,dst=%STREAM_URL%}} --sout-keep --http-cert="%CERT_FILE%" --http-key="%CERT_KEY_FILE%"

We are using the below mentioned command inside a kubernetes pod to listen to the HTTPS stream being generated by the above command:

vlc.exe --no-gnutls-system-trust --gnutls-dir-trust "/opt/company/vl/security/certs/trust/" --intf dummy --file-logging \
--logfile=/opt/company/streams/vl/log/$3/vlc-log.log --verbose=2 "$1" \
--network-caching=30000 --sout "#duplicate{dst={transcode{vcodec=h264,vb=800,acodec=none,fps=10}:standard{mux=mp4,dst=xyz.mp4,access=file}}, \
dst={transcode{vb=800,venc=theora{quality=5},vcodec=theo,fps=10,deinterlace=0,croptop=0,cropbottom=0,cropleft=0, \
cropright=0,acodec=none,channels=1,samplerate=44100}:http{mux=ogg,access=https,dst="$4"}}}" \
--http-cert=/opt/copany/config/sslcerts/vl-crt.pem --http-key=/opt/company/config/sslcerts/vl-key.pem \
--http-reconnect --http-continuous vlc://quit

Please access the below mentioned URL for full logs:

https://controlc.com/3bc082e4


These two log lines are consistent when not able to listen to the live stream:
prefetch debug: end of stream
playlist debug: not enough data

Re: VLC not able to listen to Live Stream(happening intermittently)

Posted: 03 Feb 2023 21:00
by skuwakin
Может быть дело в этом "vcodec=h64"

Re: VLC not able to listen to Live Stream(happening intermittently)

Posted: 03 Feb 2023 23:07
by aman151294
Sorry typo its h264.