Is it possible to automatically resize a video at a resolution below 1080p to 1080p video using AviSynth while preserving the aspect ratio?
For example; 640x480(4:3) to 1440x1080(4:3) or 1280x720(16:9) to 1920x1080(16:9)
+ Reply to Thread
Results 1 to 3 of 3
-
-
should work, assuming a 1:1 PAR(=pixel aspect ratio) and that the output resolution needs to be mod2.Code:
target_h = 1080 target_w = int(float(Width) / Height * target_h / 2) * 2 # *2 to keep even number Lanczos4Resize(target_w, target_h) # or whatever resizer you prefer
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
N_m3u8DL-RE select specific video and audio track automatically
By josephsamual in forum Video Streaming DownloadingReplies: 4Last Post: 1st Jun 2024, 09:36 -
how to cut out adverts from video files automatically need software to do i
By elm in forum EditingReplies: 5Last Post: 29th Apr 2024, 02:08 -
Video editing: cut all clips on a project every 20 second automatically
By babuz87 in forum EditingReplies: 0Last Post: 28th Feb 2024, 07:03 -
Any video apps to automatically remove scenes?
By magnu in forum EditingReplies: 0Last Post: 4th Feb 2023, 20:15 -
handbrake automatically trimmed a video file
By cns00 in forum Video ConversionReplies: 1Last Post: 8th Feb 2022, 01:26


Quote