View Single Post
Old 19th May 2011, 10:49   #6  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by LongkerDandy View Post
each time I call something like "avidemux2_cli --force-alt-h264 --load input.mkv --run MY_SCRIPT --save output.mp4 --quit",
I need specific different videobitrate, scale, ratio etc with the same script.
If the parameters/script needs adjustment each time, you could create the script "on the fly" before calling Avidemux.

Like:
echo REQUIRED_PARAMETERS > temp.js
avidemux2_cli --force-alt-h264 --load input.mkv --run temp.js --save output.mp4 --quit


(Depending what OpSys and Shell you use, the syntax might be a bit different)

Quote:
Originally Posted by LongkerDandy View Post
I‘also wondered where can I find the full api reference of avidemux script.
It seems the wiki doesn't list all of them.
For eg, the field of app.audio.targetTrackInfo
For parameters missing in the Wiki, you'll have to scan the source code, I guess
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 19th May 2011 at 10:55.
LoRd_MuldeR is offline   Reply With Quote