Opened 8 years ago

Closed 7 years ago

#3058 closed defect (fixed)

Stats overwritten in console

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

Description

When -stats is used with any log level less than "info", the stats line is overwritten by the next console line after the process is completed. We should add a line break after the stats at the end. I am using OS X 10.8.5.

$ ffmpeg -loglevel error -stats -i 1.mov -vn 1.mp4
File '1.mp4' already exists. Overwrite ? [y/N] y
$ 49.85 bitrate= 246.2kbits/s    
$

Change History (5)

comment:1 by Elliott, 8 years ago

It makes more sense if I post the whole thing, without stripping host name and username. The output is partially overwritten.

macpro:Transcodes elliott$ ffmpeg -loglevel fatal -stats -i 1.mov -vn 1.mp4
File '1.mp4' already exists. Overwrite ? [y/N] y
macpro:Transcodes elliott$ 49.85 bitrate= 246.2kbits/s    
macpro:Transcodes elliott$

comment:2 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedFFmpeg
Priority: normalminor
Reproduced by developer: set
Status: newopen

Reproducible with:

$ ./ffmpeg -loglevel warning -stats -i tests/lena.pnm -f null -

comment:3 by Elliott, 8 years ago

The problem persists in OS X 10.9.

Last edited 8 years ago by Elliott (previous) (diff)

comment:4 by Carl Eugen Hoyos, 8 years ago

Not OS-related.

comment:5 by Michael Niedermayer, 7 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.