Skip to content

Using -no-embedded-video while specifying max window dimensions breaks autoscale

Exampe commandline:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" http://www.youtube.com/watch?v=NqAB8zHX8Cw --no-embedded-video --video-x=200 --video-y=200 --qt-start-minimized --no-qt-updates-notif --no-osd --height=210 --no-qt-fs-controller --play-and-exit

Creates a borderless window as expected at the specified coordinates, however, the height parameter (and also a width parameter if supplied) gets ignored, instead the video displays at it's full resolution.

Adding --no-autoscale

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" http://www.youtube.com/watch?v=NqAB8zHX8Cw --no-embedded-video --video-x=200 --video-y=200 --qt-start-minimized --no-qt-updates-notif --no-osd --height=210 --no-autoscale --no-qt-fs-controller --play-and-exit

This results in the window dimensions being correct as specified by height/width parameters, however the video does not "fit" the pane, instead the video gets cropped into the new dimension.

Only by manually setting Video - Always Fit Window (or keyboard shortcut o)will the video be scaled correcty inside a correctly dimensioned video pane.

Only tested on Windows 7.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information