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

Clément Bœsch u at pkh.me
Fri Dec 4 17:06:34 CET 2015


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-codecview-add-QP-support.patch
Type: text/x-diff
Size: 3730 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151204/275439b1/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151204/275439b1/attachment.sig>


More information about the ffmpeg-devel mailing list