Copy link to clipboard
Copied
Copy link to clipboard
Copied
H264 encoding requires even-numbered pixels on both the width and height. The black lines you see are the encoder creating the black lines to ensure your file can be encoded into H264. To prevent the insertion of black lines, increase the height of your comp by 1 pixel, to end up with the following Comp Resolution -
2720 x 1554
HTH
Copy link to clipboard
Copied
Hi Roland,
Just tried encoding it with 2720 x 1554 px and uploaded it in Behance to see if it works. But it still has black lines on sides as well as one the bottom..
Thanks for the reply though!
Copy link to clipboard
Copied
Try values that are perfectly divisible by 4 - something to do with RLE (run length encoding) and this will hopefully fix it. Since, you're not working with standard video pixel dimensions, you may have to adjust the values until you find a sweet spot when the H264 encoder doesn't add/pad pixels to make its encoding work. And different encoders may have their own solutions to this issue; such the issue may not even crop up (pun unintended) by fixing the awkward pixel dimensions internally and also checking internally, for no borders prior to spitting out the H264 video.
Copy link to clipboard
Copied
I am also getting this issue with a standard 1920 x 1080 Quicktime file. I have even checked it by dropping it in AE after render, but only happens on Behance after conversion.?