Page 1 of 1

No Statistics Output File Using VLC Command Line

Posted: 15 Nov 2019 18:16
by jau-yeung
Hello,

I am using version 3.08 with the VLC Command Line. I am using the command from the --help list "vlc C:\test.mp4 --stats --sout-stats-output=C:\stats.txt". I have also tried " vlc C:\test.mp4 --stats --sout-stats-output="C:\stats.txt" ", changing the paths, and the removing --stats. Regardless no stat.txt file outputs. Am I messing up the command or is there a better way to output the statistics.

Thanks in advanced!
Justin

Re: No Statistics Output File Using VLC Command Line

Posted: 16 Nov 2019 19:00
by unidan
Hi, you're probably missing --sout="#stats", although I never used it.

Re: No Statistics Output File Using VLC Command Line

Posted: 18 Nov 2019 14:31
by jau-yeung
@unidan Thank you for responding. Do you mean like " vlc C:\test.mp4 --stats --sout-stats-output=C:\stats.txt --sout="C:\stats.txt" "

Re: No Statistics Output File Using VLC Command Line

Posted: 18 Nov 2019 20:12
by unidan
Hi, no I meant litterally --sout="#stats" with the options you already put

--sout set the stream output in the current playback pipeline, here to start a stats stream output module, and --sout-stats-output is just an option to configure this stats module.

Re: No Statistics Output File Using VLC Command Line

Posted: 18 Nov 2019 21:06
by jau-yeung
ok, I think that makes sense. Sorry for the confusion, I am pretty new to using the command line on VLC. So "#stats" would be getting the configuration for the statistics module with the --sout starting the output module.
So the entire line to get the stats to output would be the line below right?
vlc C:\test.mp4 --stats --sout-stats-output=C:\stats.txt --sout="#stats"

Re: No Statistics Output File Using VLC Command Line

Posted: 01 Dec 2020 16:17
by jasleen
How do I get the content bitrate and other statistics?