How do I enable FFMPEG logging and where can I find the FFMPEG log file?

前端 未结 8 764
庸人自扰
庸人自扰 2021-02-01 15:25

I want to be able to log FFMPEG processes because I am trying to work out how long a minute of video takes to convert to help with capacity planning of my video encoding server.

8条回答
  •  情歌与酒
    2021-02-01 15:37

    I find the answer. 1/First put in the presets, i have this example "Output format MPEG2 DVD HQ"

    -vcodec mpeg2video -vstats_file MFRfile.txt -r 29.97 -s 352x480 -aspect 4:3 -b 4000k -mbd rd -trellis -mv0 -cmp 2 -subcmp 2 -acodec mp2 -ab 192k -ar 48000 -ac 2
    

    If you want a report includes the commands -vstats_file MFRfile.txt into the presets like the example. this can make a report which it's ubicadet in the folder source of your file Source. you can put any name if you want , i solved my problem "i write many times in this forum" reading a complete .docx about mpeg properties. finally i can do my progress bar reading this txt file generated.

    Regards.

提交回复
热议问题