[FFmpeg-devel] ffmpeg logging on stderr

Stefano Sabatini stefano.sabatini-lala
Thu Mar 10 00:06:50 CET 2011

On date Wednesday 2011-03-09 14:13:14 -0800, tech gro encoded:
> Hi There,
>     I'm running ffmpeg from my java application to translate files from one
> format to another. All the logging is going to stderr, which i believe is
> the default. The problem is, when running ffmpeg from within a java app, my
> log gets flooded with statements like
> "frame=  581 fps= 52 q=28.0 size=    2074kB time=17.98 bitrate= 944.9kbits/s
> "
> Is there a way to write only the errors to stderr, and everything else to
> stdout, or maybe even turn it off?

-v -10

(note: ffmpeg logging has glitches)

> I tried loglevel silent, but that does not help either.

-loglevel controls *mainly* the logging level of the libraries.

> Any help on this would be highly appreciated.
FFmpeg = Freak and Faithful Majestic Purposeless Enhancing God

More information about the ffmpeg-devel mailing list