[FFmpeg-devel] [PATCH 08/29] avcodec/mpeg4videoenc: mark as limited color range only

Michael Niedermayer michael at niedermayer.cc
Sun Dec 10 20:22:11 EET 2017


On Sun, Dec 10, 2017 at 02:14:15PM +0100, Paul B Mahol wrote:
> lavf-mkv changes only because of metadata.
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/mpeg4videoenc.c |  1 +
>  libavcodec/mpegvideo_enc.c |  4 ++++
>  tests/ref/lavf/mkv         |  8 ++++----
>  tests/ref/seek/lavf-mkv    | 44 ++++++++++++++++++++++----------------------
>  4 files changed, 31 insertions(+), 26 deletions(-)

This changes the amount of noise in:

./ffmpeg -f lavfi -i testsrc=s=500x300 -vf noise=alls=40 -vcodec mpeg4 -qscale 2 -vframes 3 noise.avi

Looking at the format convertion it seems that an additional scaler
is used to convert to gbrp which is then converted again

[....]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- 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/20171210/d69cfeb3/attachment.sig>


More information about the ffmpeg-devel mailing list