<p>This was fixed by doing the following in the project settings (via creating a new project profile):</p>
<ul>
<li>Resolution - 1080x1920</li>
<li>Pixel aspect -  ratio 1:1</li>
<li>Display aspect - ratio 9:16</li>
</ul>

CC BY-SA 4.0
2024-12-30T03:52:25.227Z
2024-12-30T03:52:25.227Z
thanks_in_advance
<p>Two different videos:</p>
<ul>
<li>both have same resolution (1920 x 1080)</li>
<li>one processed with <code>Tencoder</code> (frontend for FFMPEG), and the other processed with <code>kdenlive</code> (video editor that uses MLT framework)</li>
</ul>
<p><strong>The issue:</strong> they show up very differently in VLC.</p>
<ul>
<li>One needs &quot;Menu &gt; Video &gt; Always Fit Window&quot; to be <strong>checked</strong> to fill the screen.</li>
<li>The other needs &quot;Menu &gt; Video &gt; Always Fit Window&quot; to be <strong>unchecked</strong> to fill the screen.</li>
</ul>
<hr />
<p><strong>Video 1</strong>: processed using <code>kdenlive</code> (video editor that uses MLT framework) <a href="https://kdenlive.org/en/" rel="nofollow noreferrer">link</a>:</p>
<p>How the file looks in the file system:</p>
<p><a href="https://i.sstatic.net/v8zAHQno.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/v8zAHQno.jpg" alt="enter image description here" /></a></p>
<p><code>kdenlive</code> project settings:</p>
<p><a href="https://i.sstatic.net/LAj3xkdr.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LAj3xkdr.jpg" alt="enter image description here" /></a></p>
<p><code>kdenlive</code> render profile:</p>
<p><a href="https://i.sstatic.net/E8iT2rZP.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/E8iT2rZP.jpg" alt="enter image description here" /></a></p>
<p>The MLT command looks like this in kdenlive (screenshot):</p>
<p><a href="https://i.sstatic.net/eAwFgUFv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/eAwFgUFv.png" alt="enter image description here" /></a></p>
<p>The MLT command in text form:</p>
<p><code>ab=160k acodec=aac channels=2 crf=23 f=matroska g=15 movflags=+faststart preset=veryfast real_time=-1 threads=0 vcodec=libx264</code></p>
<p>MediaInfo:</p>
<p><a href="https://i.sstatic.net/JpRmJz42.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/JpRmJz42.jpg" alt="enter image description here" /></a></p>
<p>VLC with &quot;Always Fit Window&quot; <strong>checked</strong>: video underfills the screen:</p>
<p><a href="https://i.sstatic.net/8OtEQTKZ.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8OtEQTKZ.jpg" alt="enter image description here" /></a></p>
<p>VLC with &quot;Always Fit Window&quot; <strong>unchecked</strong>: video fills the screen:</p>
<p><a href="https://i.sstatic.net/OlsztZw1.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OlsztZw1.jpg" alt="enter image description here" /></a></p>
<hr />
<p><strong>Video 2</strong>: processed using <code>Tencoder</code> (frontend for FFMPEG) <a href="https://portableapps.com/apps/music_video/tencoder-portable" rel="nofollow noreferrer">link</a>:</p>
<p>How the file looks in the file system:</p>
<p><a href="https://i.sstatic.net/vQipeco7.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vQipeco7.jpg" alt="enter image description here" /></a></p>
<p><code>Tencoder</code> encode settings:</p>
<p><a href="https://i.sstatic.net/tC8briZy.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tC8briZy.jpg" alt="enter image description here" /></a></p>
<p>MediaInfo:</p>
<p><a href="https://i.sstatic.net/tCiZJR9y.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tCiZJR9y.jpg" alt="enter image description here" /></a></p>
<p>VLC with &quot;Always Fit Window&quot; <strong>checked</strong>: video fills the screen:</p>
<p><a href="https://i.sstatic.net/HkgAbJOy.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HkgAbJOy.jpg" alt="enter image description here" /></a></p>
<p>VLC with &quot;Always Fit Window&quot; <strong>unchecked</strong>: video overfills the screen:</p>
<p><a href="https://i.sstatic.net/EDtToB0Z.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EDtToB0Z.jpg" alt="enter image description here" /></a></p>
<hr />
<p>Summary:</p>
<ul>
<li>despite the two videos having the same resolution (1920 * 1080)</li>
<li>to fill the screen, one video needs &quot;Always Fit Window&quot; <strong>unchecked</strong> and the other needs it <strong>checked</strong>.</li>
</ul>
<p>Question for you dear reader: <strong>Why?</strong> (see Summary above).</p>

<kdenlive><vlc>
inconsistent "Always Fit Window" behavior in VLC for two different videos
thanks_in_advance
# inconsistent "Always Fit Window" behavior in VLC for two different videos

(Asked by: username_0 on 2024-11-24)

Two different videos:

* both have same resolution (1920 x 1080)
* one processed with `Tencoder` (frontend for FFMPEG), and the other processed with `kdenlive` (video editor that uses MLT framework)

**The issue:** they show up very differently in VLC.

* One needs "Menu > Video > Always Fit Window" to be **checked** to fill the screen.
* The other needs "Menu > Video > Always Fit Window" to be **unchecked** to fill the screen.

---

**Video 1**: processed using `kdenlive` (video editor that uses MLT framework) [link](https://kdenlive.org/en/):

How the file looks in the file system:

[![enter image description here](https://i.sstatic.net/v8zAHQno.jpg)](https://i.sstatic.net/v8zAHQno.jpg)

`kdenlive` project settings:

[![enter image description here](https://i.sstatic.net/LAj3xkdr.jpg)](https://i.sstatic.net/LAj3xkdr.jpg)

`kdenlive` render profile:

[![enter image description here](https://i.sstatic.net/E8iT2rZP.jpg)](https://i.sstatic.net/E8iT2rZP.jpg)

The MLT command looks like this in kdenlive (screenshot):

[![enter image description here](https://i.sstatic.net/eAwFgUFv.png)](https://i.sstatic.net/eAwFgUFv.png)

The MLT command in text form:

`ab=160k acodec=aac channels=2 crf=23 f=matroska g=15 movflags=+faststart preset=veryfast real_time=-1 threads=0 vcodec=libx264`

MediaInfo:

[![enter image description here](https://i.sstatic.net/JpRmJz42.jpg)](https://i.sstatic.net/JpRmJz42.jpg)

VLC with "Always Fit Window" **checked**: video underfills the screen:

[![enter image description here](https://i.sstatic.net/8OtEQTKZ.jpg)](https://i.sstatic.net/8OtEQTKZ.jpg)

VLC with "Always Fit Window" **unchecked**: video fills the screen:

[![enter image description here](https://i.sstatic.net/OlsztZw1.jpg)](https://i.sstatic.net/OlsztZw1.jpg)

---

**Video 2**: processed using `Tencoder` (frontend for FFMPEG) [link](https://portableapps.com/apps/music_video/tencoder-portable):

How the file looks in the file system:

[![enter image description here](https://i.sstatic.net/vQipeco7.jpg)](https://i.sstatic.net/vQipeco7.jpg)

`Tencoder` encode settings:

[![enter image description here](https://i.sstatic.net/tC8briZy.jpg)](https://i.sstatic.net/tC8briZy.jpg)

MediaInfo:

[![enter image description here](https://i.sstatic.net/tCiZJR9y.jpg)](https://i.sstatic.net/tCiZJR9y.jpg)

VLC with "Always Fit Window" **checked**: video fills the screen:

[![enter image description here](https://i.sstatic.net/HkgAbJOy.jpg)](https://i.sstatic.net/HkgAbJOy.jpg)

VLC with "Always Fit Window" **unchecked**: video overfills the screen:

[![enter image description here](https://i.sstatic.net/EDtToB0Z.jpg)](https://i.sstatic.net/EDtToB0Z.jpg)

---

Summary:

* despite the two videos having the same resolution (1920 \* 1080)
* to fill the screen, one video needs "Always Fit Window" **unchecked** and the other needs it **checked**.

Question for you dear reader: **Why?** (see Summary above).

**Tags:** kdenlive, vlc


---

## 1 answers

### Answer by username_0 on 2024-12-30. Score: 0

This was fixed by doing the following in the project settings (via creating a new project profile):

* Resolution - 1080x1920
* Pixel aspect - ratio 1:1
* Display aspect - ratio 9:16


---

