Answer the question
In order to leave comments, you need to log in
Why does the video get darker after converting to DNxHD (DNxHR)?
Hi all!
Why does the video get darker (higher contrast) after converting from h264/265 to DNxHD/DNxHR?
Converting with ffmpeg:
ffmpeg -i in.mov -c:v dnxhd -profile:v dnxhr_hqx -vf "scale=in_range=pc" out.mov
Answer the question
In order to leave comments, you need to log in
Color primaries : BT.709Probably, you need to not only set in_range, but also all characteristics and coefficients.
Transfer characteristics : BT.601
Matrix coefficients : BT.601
You need to understand the swscale defaults of the ffmpeg component. Firstly, by default it uses a BT.601 matrix (this is YCbCr encoding), and secondly, a limited range. So without -vf scale=out_range=pc (but also -color_range pc) you won't get full range. And by the way. I'm not at all sure that the VC-3 has a full range. And also you need to add 1 -color_primaries bt709 -color_trc bt601 -colorspace smpte170m
BT.601 matrix with BT.709 primaries is not quite standard mechanics. For proper display, mpv should be used.
Oh, and by the way. You should check that your .hevc source is really full, this is a standard android bug.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question