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?
相关问题
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- convert logback.xml to log4j.properties
- Django management command doesn't show logging
- apache modules ap_log_perror is at a different lev
相关文章
- how do I log requests and responses for debugging
- Handling ffmpeg library interface change when upgr
- How to use a framework build of Python with Anacon
- Android Studio doesn't display logs by package
- c++ mp3 library [closed]
- Passing a native fd int to FFMPEG from openable UR
- Stacktrace does not print in Glassfish 4.1 Cluster
- Out of curiosity — why don't logging APIs impl
The easy method on Windows 7 is:
.
My prefered solution in a batch file is:
For my single option "-hide_banner" you can substitute whatever you need to use in the way of options/switches for your intended command line.
You please yourself as to the name and path of the report file, which can be any valid filepath.
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.