#1823(FFmpeg:new): Allow output file for -report option to be specified.
#1823: Allow output file for -report option to be specified. ---------------------------------------+-------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: new Priority: normal | Component: FFmpeg Version: git-master | Keywords: report Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ---------------------------------------+-------------------------------- I find the -report option very useful and run a process that converts many incoming videos and stores the output of the -report option in case any later assessment is needed. Currently in order to file the report with the video I have to first find the report (either by searching the present working directory or grepping the ffmpeg output) and then move it to the place where I want to store it. There isn't really a way to predict what the output report filename will be until after the ffmpeg command has started. I propose implementing an option to specify the filename or directory of the report. Note: I realize that I could simply redirect and sdterr and sdtout to a file, but the output of the -report option additionally carries additional contextual data such as the exact command line and starting date which I'd like to store as well. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git-master | Resolution: Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Changes (by cehoyos): * priority: normal => wish * status: new => open -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git-master | Resolution: Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by Cigaes): The {{{-report}}} option bypasses the normal option parsing in order to take effect immediately. That makes using an additional option rather clumsy. Would it be ok to use the {{{FFREPORT}}} environment variable instead. Currently, it is only checked for existence? It could be checked for options: {{{ export FFREPORT=file=/home/someone/log/ffmpeg-$(date +%Y%m%s).log }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git-master | Resolution: Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by dericed): Using the FFREPORT variable would work for me. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:3> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git-master | Resolution: Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by Cigaes): It works now with the current git head: {{{FFREPORT=file=/home/someone/log/%p-%t.log}}}. Please close the ticket if this is satisfying. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git-master | Resolution: Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by michael): It doesnt work with : in the filename. So its practically unuseable on windows. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:5> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git-master | Resolution: Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by Cigaes): "options values must be @ref{quoting_and_escaping, escaped} if they contain special characters or the options delimiter ':'" Did you try quoting the file name? I do not have a windows box to test, but I can definitely get a report file with a : in its name on Linux. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:6> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git-master | Resolution: Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by dericed): I've tested this in the latest git in a Mac environment and found it works well. I believe this ticket is closed by http://git.videolan.org/?p=ffmpeg.git;a=commit;h=1fa47f8deafed3263ecdf5b0eb4.... -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:7> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: closed Priority: wish | Component: FFmpeg Version: git-master | Resolution: fixed Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:8> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#1823: Allow output file for -report option to be specified. -------------------------------------+---------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: closed Priority: wish | Component: FFmpeg Version: git-master | Resolution: fixed Keywords: report | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by DK): Yeah, guys I know it's a way to handle this but I'm running multiple FFMpegs in parallel (all the default codecs I tried are single-threaded) so I can utilise all my cores while rendering multiple videos. Since I'm starting them in arbitrary order picking from the job queue I don't want to have any issues with concurrency here, when one thread modifies env variable while another is reading it expecting previous value. Is there a chance this can be added to the command line parameter? thanks! -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1823#comment:9> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg