Skip to main content
francisyoonn
Participant
June 23, 2022
질문

How to get rid of black Lines on sides on the video

  • June 23, 2022
  • 1 답변
  • 4349 조회
Hi everyone,
I'm trying to upload my finished video using after effect on Behance.
 
I wanted to upload it as a GIF but the size is too big and I couldn't upload it as a result (the outcome of downsizing of my GIF file through both photoshop and website was not smooth).
 
So I decided to put it as a normal H.264 in Behance. However, as you can see in the photo that I attached, there are black lines on the side. I adjusted the size few times and the bottom thin line has disappeared but the ones on the sides do not seem to disappear. The pixel size of the uploaded image is 2720 x 1555 px. If I encode it as GIF with the same size black lines are not appearing. I also tried encoding from Vimeo but somehow whenever I encode the video becomes too small with bad quality.
 
I prefer to upload it as GIF but would be happy to upload it as H.264. I have been struggling with this problem for more than a month and still couldn't find the solution. If anyone could help me out I would really appreciate it!
 
 

1 답변

Roland Kahlenberg
Legend
June 23, 2022

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

 

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Participant
October 22, 2025

Thank you Roland!!!