Hello all,
I tried lots of different software to change the ratio of a video (Width x Height) but none offers certain formats (2.21:1 - 2.31:1 - 2.35:1 - etc... ).
Would it be complicated to write a program in Purebasic that would allow you to choose any ratio?
Thanking you.
Video aspect ratio
Re: Video aspect ratio
Re: Video aspect ratio
Hello,
thank you for your answer but VLC for example can change the aspect ratio at the time of playing but what I want is to change the aspect ratio of the video permanently without having to change it in VLC every time I play the video.
I also tried handbrake, but it doesn't offer the ratios I want.
thank you for your answer but VLC for example can change the aspect ratio at the time of playing but what I want is to change the aspect ratio of the video permanently without having to change it in VLC every time I play the video.
I also tried handbrake, but it doesn't offer the ratios I want.
Re: Video aspect ratio
Another option is probably VirtualDub2.
handbrake video resizing / commandline reference. Looks like everything needed is there. If you need end-users to do it more often, just slap a quick GUI done with purebasic around it.
Re: Video aspect ratio
thank you bitblazer
Re: Video aspect ratio
using ffmpeg (https://ffmpeg.org/), you could do whatever you want by command line.
Recently I've done something similar:
ffmpeg -i xx.mp4 -vf scale=1920:1080 -c:v libx264 -preset fast -crf 8 -ar 16000 output.mp4
HTH
Recently I've done something similar:
ffmpeg -i xx.mp4 -vf scale=1920:1080 -c:v libx264 -preset fast -crf 8 -ar 16000 output.mp4
HTH
PureBasic: Surprisingly simple, diabolically powerful
Re: Video aspect ratio
Thank you morosh