I recognize some of the frustration that others express with the Scale Absolute (I don't use), Scale Max (I use - incomprehensible errors) and Scale Percentage (I use - incomprehensible errors).
For example a 3840x2160 video I transfer from my iPhone to my Win11 laptop. I want to scale down to 720p = 1280 x 720 = Standard HD.
So I try this Scale Percentage:

but get the errors
Error converting to Matroska, 'C:\Videos\in\H264-part-10-30fps.mov' to 'C:\Videos\out\H264-part-10-30fps.mkv'
x265 [error]: Picture width must be an integer multiple of the specified chroma subsampling
[libx265 @ 0000028f0ebb9840] Cannot open libx265 encoder.
[vost#0:0/libx265 @ 0000028f0edc4100] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000028f0edc4ec0] Error sending frames to consumers: Invalid data found when processing input
[vf#0:0 @ 0000028f0edc4ec0] Task finished with error code: -1094995529 (Invalid data found when processing input)
[vf#0:0 @ 0000028f0edc4ec0] Terminating thread with return code -1094995529 (Invalid data found when processing input)
[vost#0:0/libx265 @ 0000028f0edc4100] Could not open encoder before EOF
[vost#0:0/libx265 @ 0000028f0edc4100] Task finished with error code: -22 (Invalid argument)
[vost#0:0/libx265 @ 0000028f0edc4100] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0000028f0eb68cc0] Nothing was written into output file, because at least one of its streams received no packets.
So I try this Scale Maximum:

and get more incomprehensible errors:
Error converting to Matroska, 'C:\Videos\in\H264-part-10-30fps.mov' to 'C:\Videos\out\H264-part-10-30fps.mkv'
x265 [error]: Picture width must be an integer multiple of the specified chroma subsampling
[libx265 @ 00000268933f9840] Cannot open libx265 encoder.
[vost#0:0/libx265 @ 0000026893604100] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000026893604ec0] Error sending frames to consumers: Invalid data found when processing input
[vf#0:0 @ 0000026893604ec0] Task finished with error code: -1094995529 (Invalid data found when processing input)
[vf#0:0 @ 0000026893604ec0] Terminating thread with return code -1094995529 (Invalid data found when processing input)
[vost#0:0/libx265 @ 0000026893604100] Could not open encoder before EOF
[vost#0:0/libx265 @ 0000026893604100] Task finished with error code: -22 (Invalid argument)
[vost#0:0/libx265 @ 0000026893604100] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 00000268933a8cc0] Nothing was written into output file, because at least one of its streams received no packets.
I have no idea what a chroma subsample is or how I specified that, but I kinda understand integers and am pretty sure I'm sticking with those as much as possible with percentage and maximum scale.
How is this supposed to work with x265?
For example a 3840x2160 video I transfer from my iPhone to my Win11 laptop. I want to scale down to 720p = 1280 x 720 = Standard HD.
So I try this Scale Percentage:
but get the errors
Error converting to Matroska, 'C:\Videos\in\H264-part-10-30fps.mov' to 'C:\Videos\out\H264-part-10-30fps.mkv'
x265 [error]: Picture width must be an integer multiple of the specified chroma subsampling
[libx265 @ 0000028f0ebb9840] Cannot open libx265 encoder.
[vost#0:0/libx265 @ 0000028f0edc4100] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000028f0edc4ec0] Error sending frames to consumers: Invalid data found when processing input
[vf#0:0 @ 0000028f0edc4ec0] Task finished with error code: -1094995529 (Invalid data found when processing input)
[vf#0:0 @ 0000028f0edc4ec0] Terminating thread with return code -1094995529 (Invalid data found when processing input)
[vost#0:0/libx265 @ 0000028f0edc4100] Could not open encoder before EOF
[vost#0:0/libx265 @ 0000028f0edc4100] Task finished with error code: -22 (Invalid argument)
[vost#0:0/libx265 @ 0000028f0edc4100] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0000028f0eb68cc0] Nothing was written into output file, because at least one of its streams received no packets.
So I try this Scale Maximum:
and get more incomprehensible errors:
Error converting to Matroska, 'C:\Videos\in\H264-part-10-30fps.mov' to 'C:\Videos\out\H264-part-10-30fps.mkv'
x265 [error]: Picture width must be an integer multiple of the specified chroma subsampling
[libx265 @ 00000268933f9840] Cannot open libx265 encoder.
[vost#0:0/libx265 @ 0000026893604100] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000026893604ec0] Error sending frames to consumers: Invalid data found when processing input
[vf#0:0 @ 0000026893604ec0] Task finished with error code: -1094995529 (Invalid data found when processing input)
[vf#0:0 @ 0000026893604ec0] Terminating thread with return code -1094995529 (Invalid data found when processing input)
[vost#0:0/libx265 @ 0000026893604100] Could not open encoder before EOF
[vost#0:0/libx265 @ 0000026893604100] Task finished with error code: -22 (Invalid argument)
[vost#0:0/libx265 @ 0000026893604100] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 00000268933a8cc0] Nothing was written into output file, because at least one of its streams received no packets.
I have no idea what a chroma subsample is or how I specified that, but I kinda understand integers and am pretty sure I'm sticking with those as much as possible with percentage and maximum scale.
How is this supposed to work with x265?
Comment