Ha all.
Is possible get a file with Luma value frame by frame from a clip?
Thanks in advance.
+ Reply to Thread
Results 1 to 7 of 7
-
-
Hi Pandy
In this moment i'm working with PC
With:
ffmpeg -v warning -stats -i 59.mp4 -vf
"signalstats,metadata=print:file='v.%~n1.txt'"
program say me:
Trailing options were found on the commandline.
At least one output file must be specifiedLast edited by barabba2005; 17th Nov 2017 at 08:25.
-
Try something like:
or explicitly use name in output result like:Code:@setlocal @set name=59.mp4 @ffmpeg -v warning -stats -i "%name%" -vf:? "signalstats,metadata=print:file='v.%name%.txt'" @endlocal @exit
You receive error due replacing argument for batch with real name but remain part of script is not changed to so filename is unknown - no valid name at the output - i usually avoid hardcoding filename in script and provide filename as argument to script - assuming that script is named ffvideostat.cmd then i call my script like this ffvideostat "myvideofilename.mp4" and result will use name and extenssion like this v.myvideofilename.mp4.txtCode:@ffmpeg -v warning -stats -i "59.mp4" -vf:? "signalstats,metadata=print:file='v.59.mp4.txt'"
btw in future try to use different forum - ffmpegx is forum focused on particular application (ffmpegx which is not popular in Windows world as much as on Apple world). -
OK
Unfortunately it doesn't write TXT file
Do you know a Windows forum with a lot experience like this?
Thanks a lotLast edited by barabba2005; 17th Nov 2017 at 09:18.
-
Search videohelp where ffmpeg questions are solved, general discussion looks OK IMHO.
And my fault. please addat the endCode:-f null -
whole command should look like thissorry for too quick copy&paste - this was my original batch and i simply forget to tell ffmpeg output - apologies.Code:@ffmpeg -v warning -stats -i "59.mp4" -vf:? "signalstats,metadata=print:file='v.59.mp4.txt'" -f null -
Code:@ffmpeg -v quiet -stats -i "%1" -vf:? "signalstats,metadata=print:file='v.%~n1.txt'" -af:? "astats=metadata=1:reset=1,ametadata=print:file='a.%~n1.txt'" -f null -
Similar Threads
-
Get Luma Level from a MPEG file
By barabba2005 in forum Video ConversionReplies: 16Last Post: 19th Oct 2017, 10:41 -
batch to return the last item in a .txt file
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 8th Sep 2017, 18:53 -
findstring inside a .txt file
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 27th Sep 2014, 20:07 -
How to convert .txt file back to .srt file
By lauramae08 in forum SubtitleReplies: 14Last Post: 28th Jan 2013, 10:26 -
How to convert .txt file back to .srt file
By lauramae08 in forum Newbie / General discussionsReplies: 1Last Post: 27th Jan 2013, 22:39


Quote
