VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Hi all

    I'm using this command:
    ffmpeg -i C:\Users\HP-620\Desktop\Event\59\444.mov -af astats=metadata=1:reset=1,ametadata=print:key=lavf i.astats.Overall.RMS_level:file=namefile.txt -f null
    but the namefile.txt is wrote in the ffmpeg root folder.

    Is possible give an exactly path?

    Thanks in advance
    Quote Quote  
  2. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Why start a new thread ?

    Did you actually try using the redirect from the other topic ?
    Quote Quote  
  3. It is very confusing to discuss Windows things within ffmpegX forum (ffmpegX is Macintosh OS).
    Quote Quote  
  4. DB83
    Becouse i thouught was a problem with another goal.
    Not for converter but redirect a path.
    I'm sorry if i made a mistake.

    pandy
    I not understood.
    Can i ask for FFMPEF in windows?
    Quote Quote  
  5. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    What do you not understand about asking about ffmpeg commands using Windows in a Macintosh forum..

    Wrong forum or wrong question? in other words is your question about ffmpeg on Windows or Mac?
    Last edited by jan5678; 26th Oct 2017 at 10:47.
    Quote Quote  
  6. My question is about FFMPEG on Windows.
    Quote Quote  
  7. Generally your problem is OS dependent and ffmpegx is Mac application - i strongly advise to use different forum thread not ffmpegx.

    If you are interested in locating file in current local folder you can use variable %CD% , if you are interested in different default OS variables just open cmd window and write SET then enter.

    so in case your batch it will be something like:
    Code:
    ffmpeg -i C:\Users\HP-620\Desktop\Event\59\444.mov -af astats=metadata=1:reset=1,ametadata=print:key=lavfi.astats.Overall.RMS_level:file=%CD%\namefile.txt -f null
    However seem you providing full path at the input then you also must provide full path for namefile.txt so your code should look more or less like bellowe:
    Code:
    ffmpeg -i C:\Users\HP-620\Desktop\Event\59\444.mov -af astats=metadata=1:reset=1,ametadata=print:key=lavfi.astats.Overall.RMS_level:file=C:\Users\HP-620\Desktop\Event\59\namefile.txt -f null
    Normally this is done in a not hardcoded fashion by using variable as input argument (for example %1 for first argument) then some of this process can be automated.

    Look at this:
    http://cplusplus.bordoon.com/cmd_exe_variables.html
    Quote Quote  
  8. Thaks a lot.

    I've made some test but

    ffmpeg -i C:\Users\HP-620\Desktop\Event\59\444.mov -af astats=metadata=1:reset=1,ametadata=print:key=lavf i.astats.Overall.RMS_level:file=C:\Users\HP-620\Desktop\Event\59\namefile.txt -f null -

    doesn't work, in this mode FFMPEG create a file in the FFMPEG root folder with 0Kb size.

    So i've solve my problem running FFMPEG from mov folder:
    C:\\ffmpegfolfer\ffmpeg.exe -i C:\Users\HP-620\Desktop\Event\59\444.mov -af astats=metadata=1:reset=1,ametadata=print:key=lavf i.astats.Overall.RMS_level:file=namefile.txt -f null-

    Sorry for diturb.
    Last edited by barabba2005; 27th Oct 2017 at 07:02.
    Quote Quote  



Similar Threads

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