Opened 10 years ago

Last modified 7 months ago

#3059 open enhancement

Logfile append instead of overwrite

Reported by: Elliott 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 Elliott 10 years ago.

Download all attachments as: .zip

Change History (7)

by Elliott, 10 years ago

Attachment: ffmpeg.log added

comment:1 by Carl Eugen Hoyos, 10 years ago

Priority: normalwish
Status: newopen

comment:2 by Michael Niedermayer, 10 years ago

Can you explain in what usecase such appending makes sense ?

comment:3 by Elliott, 10 years ago

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.

comment:4 by Felipe, 7 months ago

This is a must-have!

comment:5 by Felipe, 7 months ago

Priority: wishnormal

This feature is very important.

comment:6 by Balling, 7 months ago

Priority: normalwish

All feature requests have this priority.

Note: See TracTickets for help on using tickets.