问题描述
我在命令提示符下运行ffmpeg.exe。我正在使用 -report
选项生成报告文件。如何明确指定报表名称? 看起来只能用环境变量设置[?]
export FFREPORT = file = / home / someone / log / ffmpeg - $(date +%Y%m%s).log
这是因为,否则,它必须从命令行参数中解析输出文件名,这意味着ffmpeg已经在运行,所以已经开始记录事情,这样一种猫或鼠标游戏,显然是。
参考:和一些邮件列表帖子。
I am running ffmpeg.exe on command prompt. I am trying to generate a report file using the -report
option. How to explicitly specify the report name?
looks like it can only be set [?] with an environment variable
export FFREPORT=file=/home/someone/log/ffmpeg-$(date +%Y%m%s).log
this is because, otherwise, it would have to parse the output filename from the command line parameters, which means "ffmpeg is already running, so has already started logging things" so kind of a cat or mouse game, apparently.
ref: https://ffmpeg.org/trac/ffmpeg/ticket/1823 and some mailing list posts.
这篇关于ffmpeg设置报告日志文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!