Participate > Documentation & Tips

Script for batch trimming

(1/2) > >>

Evil_Burrito:
I spent hours learning how to do this. I hope this will save head ache for people who get sick of watching the exact same op/ed credits. Straight to the meat.

0: Know the start/ending frame numbers and ensure it is the same for all the videos in the same folder. 1: Open "AB Batch Cut.js" with notepad and replace the frames numbers I used with your own (save it, duh). 2: Then open Avidemux 2.5.6, select file > load/run "AB Batch Cut.js". 3: Follow the on screen prompts. Done :o

*This particular script does not re-encode your .avi, it only trims opening and ending.
*If you are brave, you can batch encode by saving a projects setting. Then replacing the commands in the script (app.video.codec, app.audio.codec, app.setContainer etc.).
*I have not tested this script with any containers other than .avi
__________________________________________________

Source: "JS scripting only batch processing"
http://www.avidemux.org/admWiki/doku.php?id=tutorial:batch_processing

Agent_007:
I can add this script to Wiki if it is OK for you?

Evil_Burrito:

--- Quote from: Agent_007 on February 12, 2012, 12:15:44 PM ---I can add this script to Wiki if it is OK for you?

--- End quote ---

Sure :), before you do so. Let me edit some of the code comments, so it will be clearly understood. I will post when I re-up.

Evil_Burrito:
Done with v2. I edited and added some comments via wordpad.

Agent_007:
I will poke Wiki during weekend.

Navigation

[0] Message Index

[#] Next page

Go to full version