Opened 6 years ago

Closed 5 years ago

#3058 closed defect (fixed)

Stats overwritten in console

Reported by: spookybathtub 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 Changed 6 years ago by spookybathtub

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 Changed 6 years ago by cehoyos

  • Component changed from undetermined to FFmpeg
  • Priority changed from normal to minor
  • Reproduced by developer set
  • Status changed from new to open

Reproducible with:

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

comment:3 Changed 5 years ago by spookybathtub

The problem persists in OS X 10.9.

Last edited 5 years ago by spookybathtub (previous) (diff)

comment:4 Changed 5 years ago by cehoyos

Not OS-related.

comment:5 Changed 5 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.