09.07.2022, 13:46
Hello again.
I have a workflow where I take SD videos, for example PAL 16:15, bt470bg/bt470bg/bt709, and I deinterlace + bob using Hybrid. However, the output file, no matter what container or encoder, will not contain the PAR or color matrix/curve hints. This causes players to stretch the video and/or display it using wrong colors. I found a work around - h264 and h265 encoders in Hybrid allow you to override these hints, and that gets picked up by players at the end. But for every other encoder type, e.g. UT-VIDEO, there is no such option. Currently I need a post-processing step like this:
This will merely adjust the hints without touching the video or audio streams, but obviously takes a long time as it needs to copy the whole file.
I was wondering is there any way to do this using Hybrid?
Thanks!
I actually found a solution for MKV files. In Config > Containers, add the following "Mkvmerge command line addition":
However, I don't see a "command line addition" option for MP4Box or FFmpeg in general. Any chance to add them? Having that would allow one to customize the output beyond the options present in Hybrid.
Thanks!
I have a workflow where I take SD videos, for example PAL 16:15, bt470bg/bt470bg/bt709, and I deinterlace + bob using Hybrid. However, the output file, no matter what container or encoder, will not contain the PAR or color matrix/curve hints. This causes players to stretch the video and/or display it using wrong colors. I found a work around - h264 and h265 encoders in Hybrid allow you to override these hints, and that gets picked up by players at the end. But for every other encoder type, e.g. UT-VIDEO, there is no such option. Currently I need a post-processing step like this:
ffmpeg -i hybrid.mkv -colorspace bt470bg -color_primaries bt470bg -color_trc bt709 -aspect 4:3 -c copy -o fixed.mkv
I was wondering is there any way to do this using Hybrid?
Thanks!
I actually found a solution for MKV files. In Config > Containers, add the following "Mkvmerge command line addition":
--aspect-ratio 0:4/3 --colour-matrix-coefficients 0:5 --colour-transfer-characteristics 0:1 --colour-primaries 0:5
However, I don't see a "command line addition" option for MP4Box or FFmpeg in general. Any chance to add them? Having that would allow one to customize the output beyond the options present in Hybrid.
Thanks!