Find luma level

For the developers that use FFmpeg in their software.
Post Reply
Posts: 12
Joined: Thu Jun 05, 2014 11:47 am

Find luma level

Post by barabba2005 » Fri Nov 17, 2017 2:12 pm

Hi all

I'm trying this command for write a TXT with video luma level:

ffmpeg -v warning -stats -i "59.mp4" -vf:? "signalstats,metadata=print:file='v.59.mp4.txt'"

The program say me
Trailing options were found on the commandline.
At least one output file must be specified

Thanks in advance

Posts: 255
Joined: Mon Feb 24, 2014 1:46 pm

Re: Find luma level

Post by pandy » Sat Dec 02, 2017 3:53 pm

Code: Select all

ffmpeg -v quiet -stats -i "%1" -vf "signalstats,metadata=print:key=lavfi.signalstats.YAVG:file='v.%~n1.txt'" -af "astats=metadata=1:reset=1,ametadata=print:key=lavfi.astats.Overall.RMS_level:file='a.%~n1.txt'" -f null - > "av.%~n1.txt" 2>&1
Above one works for me - seem you missing

Code: Select all

-f null -

Post Reply