News:

--

Main Menu

Script for batch trimming

Started by Evil_Burrito, February 11, 2012, 06:27:46 AM

Previous topic - Next topic

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?
I am away between 15th of May - 15th of June. (yes, I am playing D3)

Evil_Burrito

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

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 am away between 15th of May - 15th of June. (yes, I am playing D3)

xpmule

Quote from: Evil_Burrito on February 22, 2012, 07:54:40 PM
Done with v2. I edited and added some comments via wordpad.

404 - Attachment Not Found