News:

--

Main Menu

avidemuxcli3, how to resize videos?

Started by I12learn, April 19, 2014, 04:31:19 PM

Previous topic - Next topic

I12learn

Hello,
I'd like to apply resizing to a bunch of video, via batch it's preferred.
I saw in the package some ready functions, like */share/ADM_scripts/video/filter.js.
Here's the question, I'm not aware of ECMA scripts, how to make a script which will be loaded at the CLI and proceed to do me the right processing.
Basically I'd like to have to try out some options

  • First size about 800x480 (the bigger will be reduced and then keep the aspect ratio(AR)
  • Second size maximum width of 1280 the other dimension to reduced with AR
  • If original dimensions are below requested ones, nothing to apply
I think some beginning should be like//AD

include("video/filter.js");

var app = new Avidemux();

But the rest is uncertain. I'd like rather to think as tinypy script, but where'll be the difference?
Meanwhile I'll try something