Recording a stream from command line fails

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Dimitri0xff
New Cone
New Cone
Posts: 1
Joined: 11 Nov 2018 16:54

Recording a stream from command line fails

Postby Dimitri0xff » 11 Nov 2018 17:48

Hello,

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
Full logs: https://www.dropbox.com/s/zwn6o9stz5brt ... g.txt?dl=1

Open stream and start recording from GUI: WORKING

Code: Select all

Media -> Open Network Stream... -> https://www.twitch.tv/esl_sc2 Playback -> Record
Recording parameters from the log:

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'}'
Full logs: https://www.dropbox.com/s/9d7vk9xmlpwgs ... g.txt?dl=1

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'}"
Full logs: https://www.dropbox.com/s/44f0zefg06ipg ... d.txt?dl=1

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).

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 54 guests