user14650: I am new to AE, and hope this question makes sense for you and is easy to answer. 
On my website I have some images in portrait format with 2085 × 2560 px. Now I will add a mp4 video file, which will be a simple animation of a logo. 
The problem is that the exported file is not in the desired format (2085 × 2560 px); the width seams to be correct but the height is smaller than 2085px. 


I tried out different Pixel Aspect Ratios and different data for the height; unfortunately I just could not achieve my wanted result. 
What do I have to do to get a video which has the exact format like a 2085 × 2560 px image? 
Or did I something wrong while exporting?
Thanks in advance!

user14650: I just found out how to solve my problem. The H.264 codec is the issue, it somehow does not work with it and AE gives you a warning: Output file will be resized from 2085 x 2560 (1.0 PAR) to 2000 x 2000 (1.0 PAR) to meet format constraints. 

Solution:
I went with the MPEG4 codec and it worked as I wanted. 

14650: <p>I am new to AE, and hope this question makes sense for you and is easy to answer. </p>

<p>On my website I have some images in portrait format with 2085 × 2560 px. Now I will add a mp4 video file, which will be a simple animation of a logo. </p>

<p>The problem is that the exported file is not in the desired format (2085 × 2560 px); the width seams to be correct but the height is smaller than 2085px. </p>

<p><a href="https://i.stack.imgur.com/KCzgy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KCzgy.jpg" alt="video smaller than the right portrait format image"></a></p>

<p><a href="https://i.stack.imgur.com/RYduq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RYduq.png" alt="this was the first try"></a></p>

<p>I tried out different <em>Pixel Aspect Ratios</em> and different data for the height; unfortunately I just could not achieve my wanted result. </p>

<p><strong>What do I have to do to get a video which has the exact format like a 2085 × 2560 px image? 
Or did I something wrong while exporting?</strong></p>

<p><em>Thanks in advance!</em></p>
 14650: <p>I just found out how to solve my problem. The H.264 codec is the issue, it somehow does not work with it and AE gives you a warning: <em>Output file will be resized from 2085 x 2560 (1.0 PAR) to 2000 x 2000 (1.0 PAR) to meet format constraints.</em> </p>

<p><a href="https://i.stack.imgur.com/VhT2P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VhT2P.png" alt="enter image description here"></a></p>

<h1>Solution:</h1>

<p>I went with the <strong>MPEG4 codec</strong> and it worked as I wanted. </p>
