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

About encoding, codec settings, muxers and filter usage
aman151294
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2022 15:23

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

Postby aman151294 » 03 Feb 2023 16:56

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
Last edited by aman151294 on 03 Feb 2023 23:06, edited 1 time in total.

skuwakin
Blank Cone
Blank Cone
Posts: 34
Joined: 07 Nov 2013 17:48

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

Postby skuwakin » 03 Feb 2023 21:00

Может быть дело в этом "vcodec=h64"

aman151294
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2022 15:23

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

Postby aman151294 » 03 Feb 2023 23:07

Sorry typo its h264.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests