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

Paul B Mahol onemda at gmail.com
Sun Dec 10 21:37:38 EET 2017


On 12/10/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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

Here output looks more correct IMHO.


More information about the ffmpeg-devel mailing list