[FFmpeg-devel] The quantization parameter QP in FFmpeg-Libavformat-VLC

Michael Niedermayer michaelni at gmx.at
Sat Jul 28 18:20:46 CEST 2012

On Sat, Jul 28, 2012 at 05:02:35PM +0100, Moad Toutou wrote:
> Hello,
> I discovered that VLC decode most of the codecs using libavformat .
> I would like to evaluate the quantization parameter QP priodically. For example:
> I start reading video "toto.flv" using VLC, and at the same time, we'll show on the console  the value of quantization  paramaitre QP.
> I intend modify the source code of this library (libavformat) to view the quantization  parameter. I did a keyword search "qp" in the source code of Libavformat. I found the word  qp in two  place: in the file, "mmf.c" and "electronicarts.c", but this word is used in comments!!!
> Please, do you have any ideas on how I could extract this parameter (quantization parameter)  in FFmpeg?
> Frankly, it's starting to stress me as it's been a while since I'm on it.
> Thank you in advance for your answers. 

see AVFrame.qscale_table/qscale_type/quality

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120728/e53d49ad/attachment.asc>

More information about the ffmpeg-devel mailing list