No Statistics Output File Using VLC Command Line

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jau-yeung
New Cone
New Cone
Posts: 4
Joined: 05 Nov 2019 22:18

No Statistics Output File Using VLC Command Line

Postby jau-yeung » 15 Nov 2019 18:16

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

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: No Statistics Output File Using VLC Command Line

Postby unidan » 16 Nov 2019 19:00

Hi, you're probably missing --sout="#stats", although I never used it.

jau-yeung
New Cone
New Cone
Posts: 4
Joined: 05 Nov 2019 22:18

Re: No Statistics Output File Using VLC Command Line

Postby jau-yeung » 18 Nov 2019 14:31

@unidan Thank you for responding. Do you mean like " vlc C:\test.mp4 --stats --sout-stats-output=C:\stats.txt --sout="C:\stats.txt" "

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: No Statistics Output File Using VLC Command Line

Postby unidan » 18 Nov 2019 20:12

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.

jau-yeung
New Cone
New Cone
Posts: 4
Joined: 05 Nov 2019 22:18

Re: No Statistics Output File Using VLC Command Line

Postby jau-yeung » 18 Nov 2019 21:06

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"

jasleen
New Cone
New Cone
Posts: 2
Joined: 01 Dec 2020 16:13

Re: No Statistics Output File Using VLC Command Line

Postby jasleen » 01 Dec 2020 16:17

How do I get the content bitrate and other statistics?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests