Feature suggestion: An option to set crop offsets in AVC and HEVC video streams
Posted: Fri Nov 12, 2021 12:31 am
Removing letterboxing/pillarboxing from videos is a good QoL enhancement, especially for anyone watching content in a window on a computer instead of a TV.
h.264 and h.265 (AVC and HEVC respectively) include flags for crop offsets in their respective picture streams. These can be set without losing any picture data. The vast majority of players will also respect these flags, unlike the flags that can be set on the mkv container itself.
here is some documentation on how to do it in ffmpeg.
Doing this after ripping with makemkv is not a particularly huge deal, but it is rather time consuming, especially with 4k movies.
A feature to extract a few frames from the target title so that the needed crop values can be determined are probably a good idea.
h.264 and h.265 (AVC and HEVC respectively) include flags for crop offsets in their respective picture streams. These can be set without losing any picture data. The vast majority of players will also respect these flags, unlike the flags that can be set on the mkv container itself.
here is some documentation on how to do it in ffmpeg.
Doing this after ripping with makemkv is not a particularly huge deal, but it is rather time consuming, especially with 4k movies.
A feature to extract a few frames from the target title so that the needed crop values can be determined are probably a good idea.