Having tough time with editing a video I captured from screen
This video has a resolution of 1914 X 1074
The issue is that it is squeezed vertically. Horizontally its fine
So I just want to keep the horizontal measurements same and extend it a bit vertically
I decided to edit it to 1914 by 1220 pixels
Using resize filter in avidemux I gave the above values and did the edit.
But the resulting video has height fixed, but the width became shorter as well.
I don't want to change the width at all.
Is it possible to do that?
+ Reply to Thread
Results 1 to 21 of 21
Your video is not standard - IMHO you should pad video to 1920x1080 and you should set correct aspect ratio - decoder will do remaining job to match video to display capabilities.
Last edited by pandy; 16th Feb 2019 at 11:48.
Last edited by navarannan; 16th Feb 2019 at 18:07.
Are you watching your video on a 1920x1080 (or other 16:9) monitor? Then you expect pillarbox bars while viewing full screen because the video has to be scaled from 1920x1220 to 1700x1080 to fit the screen.
Last edited by jagabo; 16th Feb 2019 at 21:21.
Now I appy the filter as
1914 X 1220 ( I assume the width is same but the height is expanded)
When I open the edited video this is how it looks
The issue is the width also got reduced and now it doesnt span across the whole width of the monitor. The video had become smaller
Please provide a short clip if you can, 10 15 seconds is enough
Do you want to keep the letterbox (black border top and bottom) ?
Or just crop that out and resize the actual movie ?
The width isn't being reduced by AviDemux. It's being reduced by the player because your monitor is 16:9, not 16:10. You need to crop away some of the letterbox bars to maintain a 16:9 aspect ratio. Ie, upscale to 1914x1220 then crop 72 lines off the top and bottom leaving 1914x1076.
I didn't verify that 1914x1220 is the right size to upscale to. I just used your values.
Last edited by jagabo; 16th Feb 2019 at 23:30.
Here's a quick and dirty fix, crop top, bottom and sides, resize to 1:85 aspect ratio giving width of 1920, then re-add the borders top and bottom
to give 1920x1080
The clip has some frame rate problem also, it's quite jerky
Last edited by davexnet; 17th Feb 2019 at 00:01. Reason: fixed the stated width!
Last edited by jagabo; 17th Feb 2019 at 00:26.
ie the 1222 height has to be reduced to 1080 on playback (assuming a 1080p display), so the width is reduced by the same percentage, meaning it'd be less than 1914, then the player adds black to the sides for 1920x1080.
I never encode black borders. It seems pointless and if you add borders for a standard 1920x1080 16:9 aspect ratio and one day buy a TV with a wider display than 16:9, the player will have to add borders to the sides so the picture will match the aspect ratio of the screen. Unless you zoom in. Anyway.....
Using Avidemux first crop the black. Something like 22 left, 26 right, 170 top, 168 bottom. Then assuming the remaining picture is supposed to be 1.85, which looks about right, you can resize to any 1.85 dimensions. Personally, I'd downscale as there's not an abundance of detail, probably to something like 1280x688 (1280/688=1.86, which is close). If you really like pointless borders, you could add 16 pixels top and bottom for 1280x720 (720p).
The same principle applies to upscaling, so after cropping the black you could resize to 1920x1040 (close to 1.85) and add 20 pixels worth of pointlessness to the top and bottom for 1920x1080.
If you think 1.85 isn't quite right, after cropping the existing black, resize to your preferred dimensions instead, but it's probably better to use the above method rather than resize the existing black along with the picture. If you want black borders for a standard 16:9 resolution, add the appropriate amount of black to the height (and/or width) once you're happy the picture looks right.
Last edited by hello_hello; 17th Feb 2019 at 09:44.
Universal equation for aspect ratios:
DAR = FAR * SAR DAR = display aspect ratio, the final shape of the picture FAR = frame aspect ratio, frame_width:frame_height SAR = sampling aspect ratio, relative distance between pixels, horizontally:vertically
But based on the understanding I have from this thread, it doesn't make sense to me.
Here is what I did
Original video 1920 X 1080
1. Cropped all the black borders around the video to get full screen of picture -> 1880 X 750
2. Resized to -> 1920 X 920
3. Add 80 lines top and 80 lines bottom to bring it to 1920 X 1080
However the video after step 2 and step 3 looks the same.
Why is that. Attached a screenshot of each step..
Does that mean I can save around an hour of Step3?
When you play a 1920x920 video full screen on a 1920x1080 monitor the player adds letterbox bars to fill the screen. That's why cases 2 and 3 look the same.
PS. When I cropped the black I ended up with picture dimensions of 1866x736. Your cropped picture is 1880x750, so I assume you didn't crop all the black, even if there wasn't much remaining.
Personal preference.... I always aim to crop all the black, and as sometimes the "line" between border and picture isn't sharp, I'll crop a few pixels worth of picture too if need be. That way the edges of the picture are sharp rather than fuzzy, which I find annoying. Maybe it's a form of OCD but I'd crop to achieve something similar to the second screenshot rather than the first, whether you decide to add borders yourself or not, but that's just me.... (the full size pic looks better than the thumbnail version, because the resizing to thumbnail size messes with the border edges).
Last edited by hello_hello; 18th Feb 2019 at 09:46.