[FFmpeg-user] Animation issues - colors faded and washed out
rbarnes at njdevils.net
Tue Nov 20 02:04:34 EET 2018
The movie is somewhat improved but the colors are still slightly off. Could it be its compressed too much?
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Kieran O Leary
Sent: Sunday, November 18, 2018 12:16 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] Animation issues - colors faded and washed out
On Sun, Nov 18, 2018 at 4:30 PM Ron Barnes <rbarnes at njdevils.net> wrote:
> 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
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user