Opened 4 years ago

Last modified 4 years ago

#3059 open enhancement

Logfile append instead of overwrite

Reported by: spookybathtub Owned by:
Priority: wish Component: ffmpeg
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When using the environment variable FFREPORT, each execution of ffmpeg overwrites the logfile. There should be an option to append instead of overwrite.

$ export FFREPORT="file=/Volumes/RAID/ffmpeg.log"

ffmpeg console output is irrelevant in this case, but I have attached the logfile.

Attachments (1)

ffmpeg.log (5.6 KB) - added by spookybathtub 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by spookybathtub

comment:1 Changed 4 years ago by cehoyos

  • Priority changed from normal to wish
  • Status changed from new to open

comment:2 Changed 4 years ago by michael

Can you explain in what usecase such appending makes sense ?

comment:3 Changed 4 years ago by spookybathtub

It would be useful in any script which calls ffmpeg multiple times. For example, I have a bash script to transcode several video clips when called from a command-line. This particular script suppresses most of the console output by using -loglevel warning -stats. This way, the user sees a small progress indicator, without a flood of information. In case of some encode problem, it would be nice to have the full log available to see.

Note: See TracTickets for help on using tickets.