I'm trying to trim 2 pixels off the top and bottom of an encode. In settings, there is an "Auto correct crop values" setting. When you hover over that setting it states "Force crop values compatible with YUV/YV12 colorspace and with the forced output mod value." I don't understand what this means or why a colorspace would have crop limitations. I know sometimes, for efficiency in encoding, you want a mod4 resolution. I've also read this isn't as important anymore. I'm not concerned about file sizes. Would turning this off allow me to crop any way I want? Do I need to keep things compatible for a YUV/YV12 colorspace? Any advice would be greatly appreciated. It's been hard to find info about this topic.
+ Reply to Thread
Results 1 to 2 of 2
-
-
Eexample, chroma plane could have smaller resolution that luma as YUV420 video (YV12). It has 1920x1080 for luma and 960x540 for U and V chroma. If you crop 3pixels fromtop, that would not work. Because you'd need to crop 3pixel lines for luma and 1.5 pixel lines for chroma. You need to crop only even number of lines for 420 subsampling (chroma has less resolution). Example cropping 4pixels, cropping 4pixels for luma and that crop would automatically crop 2 pixels for chroma as well. So in that case the mod is 2.
Last edited by _Al_; 20th May 2025 at 20:10.
Similar Threads
-
AmarecTV Message "Can not support colorspace by video codec"
By Alwyn in forum Capturing and VCRReplies: 0Last Post: 10th May 2025, 08:56 -
Avisynth error "ColorYUV: only work with YUV colorspace"
By marcorocchini in forum Newbie / General discussionsReplies: 5Last Post: 9th Feb 2025, 13:27 -
Media-Info Values in windows "details" tab in explorer
By Platos in forum Newbie / General discussionsReplies: 9Last Post: 28th Feb 2024, 16:04 -
"for yv12, yv411, yuy2 and yv16 input width must be mod 4"
By bradwiggo in forum Newbie / General discussionsReplies: 8Last Post: 22nd May 2021, 14:03 -
MKVToolNix - "crop" "zoom" 4:3 letterbox to 16:9
By basti3030 in forum Newbie / General discussionsReplies: 7Last Post: 27th May 2020, 10:48