[FFmpeg-devel] ffmpeg logging on stderr

tech gro tekgro
Thu Mar 10 01:20:17 CET 2011


Thanks Stefano, That helped a bunch :)

Is there also a way to turn off the info that comes up right after firing
ffmpeg, eg:

Copyright (c) 2000-2010 the FFmpeg developers
built on ......
libavcodec    52.72. 2 / 52.72. 2
libavformat   52.64. 2 / 52.64. 2
libavdevice   52. 2. 0 / 52. 2. 0




On Wed, Mar 9, 2011 at 3:06 PM, Stefano Sabatini <
stefano.sabatini-lala at poste.it> wrote:

> 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
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>



More information about the ffmpeg-devel mailing list