Magnum - The Edit Detector
This script automatically detects edits in footage. To use it you simply select a footage layer in a comp, set the work area to the region you’d like to find edits and tell Magnum to go to work! Magnum can then split the layer at each edit point or set layer markers where the edits are. It works very well at the default detect level, but tricky footage might need this adjusted.
Watch the screencast for usage example. There is also a built-in help.
If you want to run the script from the Window menu like I show in the screencast, you need to put the script inside a folder called ScriptUI Panels inside the Scripts folder.
If a ScriptUI Panels folder does not exist you will need to create it.
To run the script select it from the WINDOW menu (instead of the Scripts menu). Once the script palette opens you can drag it and embed the panel and it will be saved with your workspace.
The BG Renderer screencast shows how to do the installation.
| Download: Magnum_The_Edit_Detector (Requires After Effects CS3 or higher) |
version history (click ? on the script palette to find the version):
1.04 further fixed detection algorithm - 02/2008
1.03 optimized cut detection algorithm, fixed no selected layer bug - 02/2008
1.02 minor bug fix that incorrectly identified Comp’s as a null - 01/2008
1.01 minor bug fix to add error correction for null and stretched layers - 01/2008
1.0 initial release - 01/2008



This is pretty sweet!! I can’t tell you how many times I’ve had to do this by hand.
Thank you very much for the Magnun script. As you know this is a fairly frequent operation in AE so this is a real life/time-saver. Brilliant work!
Nice one Lloyd, I’ve been waiting for this. JD
[...] Alvarez has just released a free script that will detect the edit points in a footage layer then split the layer at those points. This is a [...]
Thanks for making this script available!
this is one of the coolest scripts I have seen. I have spend hours just hitting control + right for this task
Perfect! You’re a genius. Adobe owes you a cool two-hundred grand for your app! Make ‘em pay you, cuz a lot of folks will love using this in AE.
You CoderKids never cease to amaze!
[...] Alvarez posted Magnum - The Edit Detector to AE Scripts. The script will examine a layer in an After Effects composition and either break [...]
oh man you are the bomb. how does this work??!??! never mind, it works. it works well. it aced some pretty tough test clips i gave it, including a black and white cartoon where most of the shots were very similar. nice work, i can’t thank you enough.
would love to have this work on my mac.
looks amazing.
First, sorry for my poor english and thank you so much for this awesome script
I finaly succeed to run it on my french version of after effects after many tries.
In foreign languages, after use other name for the expression effects.
For exemple, “slider effect” appears as ‘Paramètre glissière’
and the property “slider” appaears as ‘Curseur’
And the script stop without any warning after the first error.
So I ues index instead of name at lines
180: myThresEffect.property(1).setValue(threshold);
185: myExpEffect.property(1).expression …….
190: “thres=effect(2)(1);\n” +
It’s working great now for me. But i’m not a code writer, so if anyone wants to correct me..
The script is not localized, so it will only run properly when AE is run in english. If there is enough interest I could modify the script so that it can be localized and then maybe ask for volunteers to do some translating.
This is so cool! Thanks so much!
That’s awesome…
…so what will happen if I try to run it on CS2?
-Bugh
The script relies on a new CS3 only function called sampleImage which is what allows me to analyze the images and determine if there is a cut or not, so unfortunately it won’t work on After Effects 7 or below.
[...] beta, and I’ve just added an entry there about my favorite new free After Effects script, Magnum, and how Adobe needs to encourage more of that kind of thing. I’m looking forward to seeing [...]
You rule. This will save me a ton of time. I have to break up QT files by hand about 20 times in a normal production month. Awesome, Awesome, Awesome.
Thanks.
[...] is where “Magnum the Edit Detector” script comes in. Lloyd Alvarez is the creator of this script and I can’t mention how [...]
Thank you very much for the script ……
This is possible to create a script to import a final cut project. ?
I see one script : FCPTOAE but it’s not very cool
I prefer to asking you because you very strong
hehehe
thnak and sorry for my english
RMAX
[...] on a request over at http://aenhancers.com and using the same engine i built for Magnum this script scans the footage and removes the duplicate frames by setting hold keyframes on the [...]
awesome stuff!!
such a simple idea … so useful.
Hello,
For people who use Final Cut: I’ve found this tool for scene detection:
http://www.scene-detector.com
Didn’t try it though.. Not free, alas..
[...] a .jsx that AE can import. It’s free but I haven’t tried it to see how well it works -Magnum AE Script: An AE script that “automatically” detects scene changes and split the layers [...]
Magnum does not work with my french/german/… version of AfterEffects?
Solution (windows): At your desktop or your quickstart bar, right click the shortcut of your After Effects installation, select Properties. Under Target, where you see the path to AfterFX.exe, ADD the following text at the very end, behind quotes if present:
-L EN
This will start After Effects with english as a menu language and everything will work fine, no messing around inside the script required. Of course, you now have to use After Effects in english and your settings will be reset.
P.S: Great script, thanks a lot!
[...] 3. Magnum the Edit Detector. This script auto detects scene changes from a video layer in AE. The script gives you a sensitivity fader then it goes to work. It will either split your layer up or leave markers. If you don’t like it’s results you just undo, adjust the sensitivity fader and try again. Depending on the format and speed of your computer it may or may not be quick. But if you don’t have a FCP file to work from this script can save you some work. [...]
[...] I do they work well. If you’re working in an editor that can’t export an XML file. You can try Magnum Edit Detector. It scans your video layer and will “auto” detect any scene changes. I found it to work quite well [...]
I’d prefer reading in my native language, because my knowledge of your languange is no so well. But it was interesting! Look for some my links:
Lloyd,
Totally brilliant! You’ve automated my most dreaded chore.
Wow! This is something I’ve dreamed of for a long long time… No, I’m not joking, Is that bad? Anyway - thanks!
The easyest way to run AE in English is to open the LANGUAGES Subfolder and Select the English Version. Basically, this does nothing more than putting the -L EN Addition to the Shortcut, but its already prepared and ready to go.
yeah, this is SWEEET!!!!!! thank you, thank you.
I LOOOOVE YOU!!!
thank you
[...] ::Descargar Magnun, The Edit Detector:: ::Ver video demo:: [...]
[...] technique uses the following After Effects scripts: AEScripts‘ “Magnum - the Edit Detector” Reverse Selected Layer Order Precomp to Layer Duration Redefinery’s RenderLayers and [...]
Hi, you should definetly put a readme-file to the .zip where people with different languages are informed about the -L ENG trick!
Btw.: THIS IS A GREAT THING!