I want to start recording a stream from the command line but it fails.
The stream does not start (VLC screen stays black), the output file is one second long and the video is missing.
However recording from GUI works, and starting stream from Command Line works as well.
Open stream from Console: WORKING
Code: Select all
vlc.exe https://www.twitch.tv/esl_sc2
Open stream and start recording from GUI: WORKING
Code: Select all
Media -> Open Network Stream... -> https://www.twitch.tv/esl_sc2
Playback -> Record
Code: Select all
record debug: Using record output `std{access=file{no-append,no-format,no-overwrite},mux='mp4',dst='C:\\Users\\p\\Videos\\Stream\\vlc-record-2018-11-11-17h25m39s-Twitch_ ESL_SC2-.mp4'}'
Open stream and start recording from Console: FAILED
Code: Select all
vlc.exe https://www.twitch.tv/esl_sc2 --sout="#std{access=file,mux='mp4',dst='c:\Users\p\Videos\Stream\rec.mp4'}"
I saw an error about "sout-mux-caching" not set, I tried setting it to 2000 on the command line but did not work either.
I've linked the log files you can download and compare them eg. with Total Commander (ignore case).