[FFmpeg-devel] [PATCH] avfilter/codecview/WIP: add QP support

Michael Niedermayer michaelni at gmx.at
Sat Dec 5 03:52:42 CET 2015


On Fri, Dec 04, 2015 at 05:06:34PM +0100, Clément Bœsch wrote:
> On Mon, Aug 31, 2015 at 04:43:15PM +0200, Michael Niedermayer wrote:
> > On Mon, Aug 31, 2015 at 03:29:03PM +0200, Clément Bœsch wrote:
> > > From: Clément Bœsch <clement at stupeflix.com>
> > > 
> > > ---
> > > I'm not sure I'm doing the correct thing here, but maybe that's just because my
> > > samples aren't relevant.
> > 
> > i tried
> > ./ffplay tests/data/fate/vsynth1-mpeg4-qprd.avi -debug 8192
> > ./ffplay tests/data/fate/vsynth1-mpeg4-qprd.avi -flags2 +export_mvs -vf codecview=qp=1
> > 
> > the output looks quite different
> 
> Ah, indeed. The normalized QP is scaled in [0;63] so I fixed the filter to
> rescale the value the same way as in mpeg video debug code. New patch
> attached.
> 
> -- 
> Clément B.

>  doc/filters.texi           |    3 +++
>  libavfilter/vf_codecview.c |   43 ++++++++++++++++++++++++++++++++++++++++++-
>  2 files changed, 45 insertions(+), 1 deletion(-)
> 5a4fd233be3115808f47ddf06db52f210053b56d  0001-avfilter-codecview-add-QP-support.patch
> From 6fc6784793adb65b7e149d7d037460de411f9b39 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <clement at stupeflix.com>
> Date: Mon, 31 Aug 2015 15:18:34 +0200
> Subject: [PATCH] avfilter/codecview: add QP support

should be ok if tested

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151205/e11b8bc6/attachment.sig>


More information about the ffmpeg-devel mailing list