I am using VLC to listen to a HTTPS Stream and then transcode and restream it. VLC stops listening to this stream in between and calls the vlc quit method. 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=h64,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
You can find the logs in the following URL:
https://controlc.com/d79943b6
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: killing decoder fourcc `h264'
main debug: removing module "h264"
main debug: removing a sout input (sout_input: 0x25378b0)
main debug: destroying chain done
main debug: changing item without a request (current 0/2)
main debug: using item 1
main debug: starting playback of new item
main debug: resyncing on vlc://quit
main debug: vlc://quit is at 1
main debug: creating new input thread
main debug: Creating an input for 'vlc://quit'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `vlc://quit' gives access `vlc' demux `any' path `quit'
main debug: creating demux: access='vlc' demux='any' location='quit' file='(null)'
main debug: looking for access_demux module matching "vlc": 18 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/wildfly/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/wildfly/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art
lua debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac
idummy: command `quit'
main debug: exiting
main debug: using access_demux module "idummy"
main debug: exiting
main debug: looking for meta reader module matching "any": 2 candidates
main debug: removing all interfaces
main debug: removing module "dummy"
main debug: removing module "hotkeys"
main debug: destroying
main debug: deactivating the playlist
lua debug: Trying Lua scripts in /home/wildfly/.local/share/vlc/lua/meta/reader
main debug: incoming request - stopping current input
lua debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac
lua debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: `vlc://quit' successfully opened
main debug: removing module "idummy"
main debug: dead input
lua debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/01_googleimage.luac
main debug: nothing to play
main debug: removing module "alsa"
lua debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac
main debug: saving media library to file /home/wildfly/.local/share/vlc/ml.xspf.tmp6173
main debug: looking for playlist export module matching "export-xspf": 4 candidates
lua debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac
main debug: using playlist export module "export"
main debug: removing module "export"
lua debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac
main debug: deleting item `Media Library'
main debug: deleting item `vlc://quit'
main debug: deleting item `8f8167d0-c9b9-4a68-9034-990de0a3e74b.ts'
main debug: deleting item `Playlist'
main debug: removing module "memory"
lua debug: skipping script (unmatched scope) /usr/lib64/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder modules matched
Can you please help us understand what is going wrong and what is the meaning behind this error "waiting decoders fifos to empty"?