[FFmpeg-user] Animation issues - colors faded and washed out

Kieran O Leary kieran.o.leary at gmail.com
Sun Nov 18 19:15:42 EET 2018


On Sun, Nov 18, 2018 at 4:30 PM Ron Barnes <rbarnes at njdevils.net> wrote:
>
> Hi,
>
> Here is the log as an attachment.

Cool. I don't know much about x265 and bt2020, but I think the issue
is that your input file is tagged with bt2020 colour metadata:

Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv,
bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps,
23.98 tbr, 1k tbn, 23.98 tbc (default)

and ffmpeg is not writing this information to your output file:

 Stream #0:0: Video: hevc (libx265), yuv420p10le, 3840x2160 [SAR 1:1
DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 23.98 tbc (default)

So you could add these to your command and that should hopefully write
the correct colour metadata, which your player will then use in order
to be able to render the colours correctly:
 -color_primaries bt2020 -color_trc smpte2084  -colorspace bt2020nc
-color_range tv

so you could try this command:

ffmpeg -i "Wreck_It_Ralph_Full_Bluray.mkv" -c:v libx265 -preset medium
-map 0 -c:s copy -c:a:0 libmp3lame -b:a:0 128k -reserve_index_space
1000k -crf 23 -s 3840x2160  -color_primaries bt2020 -color_trc
smpte2084  -colorspace bt2020nc -color_range tv -ac 2 -c:a aac -b:a
128k -metadata title="Wreck-it Ralph" Wreck-It_Ralph.mkv

Best,

Kieran O'Leary


More information about the ffmpeg-user mailing list