It's hard to find comprehensive documentation about color-range manipulation with ffmpeg. I'd like to know the recommended way to deal with the following cases:
- Input is limited range, I want to output full range
- Input is full range 4:2:2, I want to output in 4:2:0 full range
- Input is wrongly flagged as full-range, I want to remux or re-encode in limited range
For example to solve case #2, I just add the -pix_fmt yuvj420p
option. It's working but I have a warning telling me the pixel format is deprecated. I try to find a solution with -pix_fmt yuv420p -color_range 2
but the output is washed out (limited range played as full)