VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Ha all.

    Is possible get a file with Luma value frame by frame from a clip?

    Thanks in advance.
    Quote Quote  
  2. Regular ffmpeg can do this trough
    Code:
    ffmpeg -v quiet -stats -i "%1" -vf:? "signalstats,metadata=print:file='v.%~n1.txt'"
    - have no Apple so don't know if this is possible by ffmpegx.
    Quote Quote  
  3. 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 specified
    Last edited by barabba2005; 17th Nov 2017 at 08:25.
    Quote Quote  
  4. Originally Posted by barabba2005 View Post
    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 specified
    Try something like:

    Code:
    @setlocal
    @set name=59.mp4
    @ffmpeg -v warning -stats -i "%name%" -vf:? "signalstats,metadata=print:file='v.%name%.txt'"
    @endlocal
    @exit
    or explicitly use name in output result like:

    Code:
    @ffmpeg -v warning -stats -i "59.mp4" -vf:? "signalstats,metadata=print:file='v.59.mp4.txt'"
    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.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).
    Quote Quote  
  5. OK

    Unfortunately it doesn't write TXT file

    Do you know a Windows forum with a lot experience like this?

    Thanks a lot
    Last edited by barabba2005; 17th Nov 2017 at 09:18.
    Quote Quote  
  6. Search videohelp where ffmpeg questions are solved, general discussion looks OK IMHO.

    And my fault. please add
    Code:
    -f null -
    at the end

    whole command should look like this
    Code:
    @ffmpeg -v warning -stats -i "59.mp4" -vf:? "signalstats,metadata=print:file='v.59.mp4.txt'" -f null -
    sorry for too quick copy&paste - this was my original batch and i simply forget to tell ffmpeg output - apologies.

    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 -
    Quote Quote  
  7. Thanks a lot.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!