How to force a resolution size for playback

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
WTWASP
Blank Cone
Blank Cone
Posts: 15
Joined: 20 Aug 2024 07:02

How to force a resolution size for playback

Postby WTWASP » 17 Jan 2025 08:18

Does anyone know how (or even if) I can configure VLC to play video files within the strict parameters of 1920p wide and say, 800p-860p high?

My wish is to get the old 4:3 videos (1440x1080p, 1920x1080p, etc) to be "shrunk to fit" to a display range not exceeding an aspect ratio of 1920p by (no higher than) 860p.
Videos that are 1920x800p will of course playback normally (with "60p to spare" along the top and bottom), but any videos with an actual height that exceeds 860p (or whatever preferred height I want - 800p, 820p, etc) will be shrunk to fit without stretching or cropping or anything like that. Naturally, to make 1080p fit within 860p, the 1920 width of a 1920x1080p video will also be reduced accordingly and yield the "black bars" on the sides, which is fine.

It's just that I find these 4:3 videos to be a little overwhelming when they fill up the entire screen and look so "big"... it's like a zoom feature is activated when it's not (if you get what I mean).

The zoom in/out options on the player are not precise enough.

I have explored all the Preferences setting but the terminology of things leaves me clueless as to what anything is or does. I've done a lot of trial and error (testing things that look like they might do what I want), but either I get no change or it started loading videos stretched and skewed.

I've added an image to help illustrate what I mean, cos I know I cannot explain it properly...

Image
https://drive.google.com/file/d/1zbLt-q ... drive_link

DoctorWho
Developer
Developer
Posts: 39
Joined: 04 Mar 2025 10:09

Re: How to force a resolution size for playback

Postby DoctorWho » 01 Apr 2025 11:32

Hello there!

For this specific request, i suggest you to go to "Tools" -> "Adjustments and Effects"-> "Video Effects" -> "Crop" and set a specific height or width !

You can also set a specific aspect ratio or set the video to adapt the size of the window, but it will transform the image.

Indeed, it is Another way to change the Zoom options but it will have various display results based on the video you want to play.

Can you please share the image you uploaded with https://imgbb.com/ or https://wetransfer.com/ ? That would be great to investigate deeper into this situation!

Regards!

NB : It's - "Effects & Filters", not "Adjustments and Effects", sorry about this.
Last edited by DoctorWho on 01 Apr 2025 15:39, edited 2 times in total.

WTWASP
Blank Cone
Blank Cone
Posts: 15
Joined: 20 Aug 2024 07:02

Re: How to force a resolution size for playback

Postby WTWASP » 01 Apr 2025 13:54

Hello there!
For this specific request, i suggest you to go to "Tools" -> "Adjustments and Effects"-> "Video Effects" -> "Crop" and set a specific height or width !
You can also set a specific aspect ratio or set the video to adapt the size of the windows, but it will transform the image.

There is NO "Adjustments & Effects" option after "Tools" (I assume you mean the DROP MENU for Tools?).
Dead end.

What I have under the Tools drop menu are :
- Effects & Filters
- Track Synchronization
- Media Information
- Codec Information
- VLM Configuration
- Program Guide
- Messages
- Plugins & Extensions
————————————
- Customize Interface
- Preferences ◄—(This the one I have explored)

Under the (Advanced) Preferences Window (with "All" advanced preferences "showing"), I get a long "hierarchy tree" of options. The only relevant categories are "Interface" and "Video". I've tried everything in those two sections that looks like it might be what I need, but no matter what I do or try, nothing changes - except to screw things up royally (and sometimes irreversibly). For this reason, there are probably some options I was afraid to try if I was not 100% clear on what it actually would do (despite whatever the popup description box would say).

Any custom crop setting I found that indicated it was to set limitation of the height hand/or width, either did not work at all (no change) or it works in some screwed up way I do not want (and almost could not undo, due to the complicated nature of the settings and descriptions). It seems changing one thing can change other things without my knowing, hence not being able to figure out why undoing what was done refuses to go back to the previous settings (it took me hours to figure it out and finally put everything back as it was).

In case you missed it, I am using an OLDER version of VLC (2.26) which I am running on Windows XP. Upgrading VLC is not a likely option, as it is a risky move I do not want to take in case it messes up my previous installation (I do not want to risk having to reinstall 2.26 from scratch in case of a screwup or incompatibility issue, and redo all my customizations - it's too complicated and time consuming, cos the VLC interface is not very end-user friendly). I may have tried to do an upgrade some time ago, to a "mildly newer" version (like 2.3 or whatever) only to get the "compatibility error" or some such. I pretty much just accepted what I have is the end of the line - however, I am hoping I jus have not discovered the desired settings/configurations that would make watching videos a little more uniformly satisfying.

Indeed, Another way to change the Zoom options but it will have various display results based on the video you want to play.

I tried the zoom feature already - it doesn't do what I need it to do. It either stretches/skews the image, or it crops it.

Can you please share the image you uploaded with https://imgbb.com/ or https://wetransfer.com/ ? That would be great to investigate deeper into this situation!
Regards!

Those links are no-go. ImgBB wants money (I'm not paying for a "premium account" just to share a couple of images) and WeTransfer has me jumping through too many hoops (accept cookies, asking for too much info up front, and other nonsense) just to even get into the main home page of the site and check it out.

The links I provided should be working (I tested them after posting - they seemed to open and show the images just fine). If there is some kind of forum setting prohibiting unauthorized links, then I don't know what to tell you. I'm not gonna join a dozen different file sharing sites - I have too damn many as it is. I'd just as soon upload the images directly into my posts, but it seems that logical option is not allowed, either (that was the first thing I tried when posting, and it failed, showing "broken link" image placeholders).
EDIT : If you were having problems with my original link, I may have found out what was wrong - the privacy permissions were not set properly on my end. I've now adjusted them to allow "anyone with the link" to access/view the file. You should be able to see the image now.
(The images on the left side are the video's aspect ratio dimensions ; the images on the right show the auto-adjustments I seek for playback.)


I'll see if I can explain it once more :

Basically, I want a "set it and forget it" configuration that will play all videos at a height between 800p minimum and 820p maximum (depending on the width of the video, while not exceeding 1920p "sans crop"), detecting the video's aspect ratio and adjusting accordingly without me having to toggle settings manually back and forth.

So, videos that are 1920x800 will not change at all... videos that are inconsistent, i.e. 1910x800, will increase slightly to meet the height/width prerequisites, but not allow the either one to exceed the maximum range... videos that are 1920x1080 will be reduced to fit within the 800-820p limit (resulting in "black bars" on the sides)... and smaller videos, such as 864x480/360 will be enlarged (zoomed in) to fit as close to 1920x800 as well.


I cannot find any settings in the drop menus or the internal (Advanced) Preferences that achieve this without messing up other things. It seems, whatever settings I use, there is no "auto-detect" to know when to keep videos the same and when to zoom in/out to fit the 1920x800p parameters while retaining the video's native aspect ratio (iow, without skewing or distorting the image).


Incidentally, I have found many of the other features in VLC to be absolutely useless, or not function properly, such as file type converting. The only things that seem to work well enough are the still image capture function and the "recording" feature (which is probably meant for capturing streamed content - something else that does not work for me in VLC - and saving it to a video file on the fly).

Those issues (file conversion and streaming) are not as important, I just mentioned them to illustrate that trying to get all videos to playback within certain parameters is not the only issue I have encountered.


~ WTW/BN

DoctorWho
Developer
Developer
Posts: 39
Joined: 04 Mar 2025 10:09

Re: How to force a resolution size for playback

Postby DoctorWho » 02 Apr 2025 11:07

Hello again,

You're right, sorry about the mistake, i was mentionning the "Effects & Filters" menu.

After some investigation about the way you want to use VLC, the only and best way to resize the video as you wish is to force a custom aspect ratio, by editing the configuration file.

This file can be found here :

Windows NT/2000/XP: C:\Documents and Settings\<username>\Application Data\vlc\vlcrc

Open the "vlcrc" file with a text editor, and search for the line :

# Custom aspect ratios list (string)
custom-aspect-ratios=

And edit it to your desired ratio (let's say 1500 x 800 as you mentionned in the thread):

# Custom aspect ratios list (string)
custom-aspect-ratios=1500:800

Save the configuration file (this is the file to backup in case you change your version of VLC so you can copy it if you like to.)

Finally, Open VLC and go to the "Video Menu" go to the "Aspect Ratio" option and select the new custom aspect ratio you just edited.

That should help you to resize videos the way you want.

That being said, here some general thoughs about your feedback:

VLC does not resize or modify dynamicaly the video effects that you want to play, and can't crop and resize each video separately like a video editor.

These are very specific requests and unfortunately, running a old operating system with old version of VLC is not helping to provide the best experience for advanced usages like this.

I really recommand you to upgrade the operating system or test a later version of VLC, because VLC 2 is a very old version (Latest official release is VLC 3.2.1), and WindowsXP won't be supported soon anymore as it's not supported anymore by Microsoft since many years.
A lot of availibity, security concerns or compatibility questions depend on those points.
If you need help for that, please ask and we can guide you to upgrade VLC properly with your existing configuration.

Hope the steps given will help you this time!

Regards.

WTWASP
Blank Cone
Blank Cone
Posts: 15
Joined: 20 Aug 2024 07:02

Re: How to force a resolution size for playback

Postby WTWASP » 02 Apr 2025 14:25

You're right, sorry about the mistake, i was mentionning the "Effects & Filters" menu.
After some investigation about the way you want to use VLC, the only and best way to resize the video as you wish is to force a custom aspect ratio, by editing the configuration file.
This file can be found here :
Windows NT/2000/XP: C:\Documents and Settings\<username>\Application Data\vlc\vlcrc
Open the "vlcrc" file with a text editor, and search for the line :
# Custom aspect ratios list (string)
custom-aspect-ratios=
And edit it to your desired ratio (let's say 1500 x 800 as you mentionned in the thread):
# Custom aspect ratios list (string)
custom-aspect-ratios=1500:800
Save the configuration file (this is the file to backup in case you change your version of VLC so you can copy it if you like to.)
Finally, Open VLC and go to the "Video Menu" go to the "Aspect Ratio" option and select the new custom aspect ratio you just edited.
That should help you to resize videos the way you want.

That sounds like new information (I figured some kind of program file editing might be required). I'll look into it and give it a try.

I didn't cite 1500p in this thread (except maybe in some end-result context?). 1920x800 (or 820) is the optimal range.
But no matter, it's just a sample value. I get the gist of the instructions.

I assume the instructions, based on how you described it (creating options within a selection menu) will mean I can add as many custom sizes/ratios as I may need based on a video's native resolution? Though that kind of defeats the purpose of a "set it & forget it" kind of "smart preset". If I have to potentially adjust it for every video when the native dimensions differ for the previous video? Such as loading a 1440x1080p among the standard 1920x800p and 1920x1080p videos...

I guess I'll find out...

I really recommand you to upgrade the operating system or test a later version of VLC, because VLC 2 is a very old version (Latest official release is VLC 3.2.1), and WindowsXP won't be supported soon anymore as it's not supported anymore by Microsoft since many years.

Ugh... not this again...
I refuse to upgrade because it's not just about a new OS alone ; I'd need a whole new rig of hardware to install it on, as well - I can't afford that.

Besides, everything that came out after XP has been absolute garbage. Dumbed-down, "didn't ask for it, didn't need it, don't want it" garbage.

Except perhaps Win 7, which was the least worst of the bunch - at least that had an "XP mode" or something... but even that OS is in the same EOL boat as XP, so, moot point.

Please spare me the fear-mongering of "no more support". That ship has sailed years ago and I'm still running the system just fine, as well as anything that's been installed. So the "no longer supported" boogeyman mantra is beyond worn out, tired, and plain cringey at this point. It's as meaningless as the woke mob still crying about social injustices... yawn.

There was never anything wrong with XP, except that maybe it was TOO good, TOO stable/reliable, and gave users TOO MUCH freedom and independence from "support". No money to be made on things that work well and last long, right? Microsuck had to "fix" that... by breaking what wasn't broken.

There was no reason XP could not have been kept on alongside anything new they wanted to churn out, and/or been (or even now be) re-released with all the advanced capabilities, such as handling more RAM and larger HDD capacities.

But, no, Microsuck knew damn well people would stay or go back to XP. So they had to force our hands and eliminate FREEDOM OF CHOICE. Microsuck decided, "Let's reinvent the wheel entirely by retiring XP and forcing people who have spent the last 10-12 years building files and bodies of e-work on that OS (which are highly dependent on a 32-bit XP system to work properly or at all) to throw it all away and start over". No regard for anyone or anything except their own bottom line.

Much of what is installed on a 32-bit, like older games or particular programs, are not be compatible on 64-bit. So "migration" is not an option. I was not about to abandon my favorite games or editing programs (and the thousands of program-dependent files I created through them) just cos "32-bit old and bad, 64-bit new and good".

They also made sure to make the new PCs so dumbed-down and user-unfriendly (removing all the good features and implementing stupid/useless ones) that there will be no choice but to require support (aka outsourced, English illiterate morons who don't actually know anything) when things go wrong (and they will). No more DIY diagnostics and repairs (like what I have to do now - hell, I had to do it even before XP's EOL/support in 2014 ; that's how useless the support was to begin with). It was all a money grab as much as it was a power play.

I see many videos on YouTube about the endless array of problems with Windows 10, and 11 is projected as being just as bad or even worse. Too much Orwellian control and over-reach from Microsuck. All end-user freedom, flexibility, and options are vanishing (being taken away and restricted) in general, leaving the user beholden to whatever Microsuck decides the private individual is "allowed" to do with their own PC (and everything on it).

So uhm, yeah... upgrade? I don't think so. Not now, not ever...
Unless XP is re-issued, "AS-WAS", modified for SOME modern advancements - like the aforementioned increase of RAM and HDD capacity.

Smart people would have done as I did and stayed true to XP - or at least keep a machine with XP on it (as a backup or alternative), just in case.
The day will come.

My biggest problem was just web browser compatibility, but that's recently been remedied. Now I only really grapple with understanding some of the "fine-tuning" and how to go about custom tweaks of certain things in my existing installations. Like now, with the customizing of the aspect ratio parameter preferences in VLC. Because it's on XP, there is usually a way to make modifications within the program files (if not already available in settings), but, that requires careful know-how. No room for trial & error there, unless one knows what they're doing. Which I often don't, so I go looking for answers. Answers - not sales pitches nagging me to "upgrade", as if that will solve anything for me.

There is no reason an old PC cannot continue to run whatever is installed, as-is, for the life of the machine - as long as what is installed STAYS installed, and everything is carefully maintained and cared for. Needless to say, to preserve my current installation, I do clones and backups in addition to other maintenance, and have a set of replacement hardware should "the worst" happen in that regard.

Constant updates/upgrades, by my estimation, were largely unnecessary, and only pushed by those who wish to keep naive users in fear, and beholden to the "gotta upgrade" and "continued support" scam, as if failing to replace an entire computer and/or OS will magically cause an older PC and/or its previous OS to just "not work" one day. I'm not that gullible.

For the record, and for what it's worth, my XP machine started running a lot better and more stable once all the "urgent updates" stopped coming in. Gee, funny that... I wonder why that is? :roll: </sarcam> :lol:

WTWASP
Blank Cone
Blank Cone
Posts: 15
Joined: 20 Aug 2024 07:02

Re: How to force a resolution size for playback

Postby WTWASP » 02 Apr 2025 14:27

A lot of availibity, security concerns or compatibility questions depend on those points.

Security? That's what Anti-Virus and Firewalls are for. As well as personal awareness & proper caution ; not just carelessly clicking and navigating recklessly.
Availability and compatibility? Well, that only tends to apply to optional things like games or other programs... My outlook on that is : if it won't "play nice" with my XP 32-bit system, then I don't need it that badly.

If you need help for that, please ask and we can guide you to upgrade VLC properly with your existing configuration.

If any VLC version above 2.26 won't work in XP, then I guess I'm staying put.

Hope the steps given will help you this time!


We'll see... thanks for the steps.
Sorry for the diatribe (but that's what one gets when I am still nagged about mindless assimilation to the latest pile of junk being shoved down our throats).


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 67 guests