-
After Effects
Immigration
A smart import and batch replace tool that greatly improves the workflow of importing and replacing files especially file sequences and highly nested hierarchies.
We recently completed a project involving thousands of files from multi-pass rendering making up many image sequences. The finder struggled to list the directory contents, even after several minutes, however Immigration sailed through the files and immediately became an essential part of our workflow saving lots of time and streamlining the process. I can't imagine working with After Effects and image sequences without it. Tim Clapham - fxphd & LUXX
Immigration turns the pain usually associated with importing and batch replacing files in After Effects a joy. While browsing for import, it shows file sequences as one line item instead of a long list of files. Immigration uses a custom algorithm to scan the file system at speeds dramatically faster than even the OS can. In our testing a server folder with 30,000 files that takes over 5 minutes to open in the finder opens in 12 seconds in Immigration (and that includes file-sequence detection!). If you frequently find yourself waiting for the OS to open folders then you will love Immigration.
You can then select more than one file or sequence and either import them all at once or batch replace files already in your project. You can easily assign a frame rate to all imported files at once. Immigrations' Auto-Match Replace algorithm will automatically match files with similar names so you don't have to. It shows you a preview so you can make sure the matches are what you want. It color codes the match depending on how close it is. This is convenient if you name your revised files with a new version number or date.
If your files are already neatly organized in folders, Immigration will duplicate and maintain the folder hierarchy within the After Effects project. You can customize Immigration to only search for certain file extensions, and file age. So for example you can tell Immigration to only display .exr files that are less than an hour old. You can also tell it to include or ignore folder by name so if you would like it to ignore a folder in your hierarchy (an archives folder for example) you can do that easily.
Usage Instructions
Immigration makes batch importing and replacing footage items easy! Simply press Browse or, if available, select a previously used folder.
IMPORTANT: Sequences must have leading zeroes to be identified correctly and cannot have any illegal characters in the path or file name. If you must work with un-padded file sequences or if there are files with the same name but different extension (for example: File1.jpg and File1.tif) then turn on the "Pre-sort files" option below (Please note that this will make searching slower so only use this option if necessary).
To Import or Batch Import:
Make sure that there are no items selected in the project panel (or press the Switch to Import Mode button), then select the items you wish to import in Immigration and press Import. If any of the selected items to import are file sequences they will be conformed to the frame rate set in the panel. If you have a folder selected in the project panel before choosing your items to import, the items will be imported into that folder. If 'Maintain hierarchy' is checked, Immigration will recreate the folder hierarchy of the selected file(s) in the project panel. If the hierarchy already exists in the project it will be maintained using the existing folders. If using the Import into Folder feature, the selected project folder will be considered the root of the hierarchy. This feature works by searching folder names so make sure you don't have any duplicate folder names in your project.
To Replace or Batch Replace:
Select items to be replaced in the project panel first. Then select the files in Immigration. Once the same number of items are selected, the Replace button will become active. Auto-Match Files will attempt to match the same or similar name items. Manual Match Files (Top->Bottom) requires that the items be selected in Top->Bottom order in both the project panel and the Immigration window and they will be replaced in that order. Pressing the Preview File Matches button will give you a preview of how the items will be matched when they are replaced or added as a proxy. While in Preview mode you can change the match mode to preview how the files will be matched. If the Replace button is not active and you have the same number of items selected, try hitting the Refresh Item Count button. Pressing the Switch to Import Mode button will de-select all the items in the project panel and switch to Import mode.
Proxy Mode:
When proxy mode is on a proxy will be added if an item does not have a proxy or if the item already has a proxy, the proxy will be replaced. If adding a sequence as a proxy, the frame rate will be conformed to the frame rate set in the panel.
Filter:
Text entered in the Filter: text box will select any items that match. This feature supports regular expressions (see cheatsheet below). The filter pulldown allows you to filter a specific extension, setting the Filter to All will show all allowable extensions. You can modify the allowable extensions by editing the script file in a text editor and modifying the VALID EXTENSIONS section.
Frame Rate and Frame Range:
You can select one or more sequences to import at once. Set the frame rate for the sequences (all selected sequences will be assigned the same frame rate on import) then click Import and they will be imported. If you only have one sequence selected you can specify a subrange to import where it says Range
Folder filter:
If you would like certain folders to be excluded from the search, set Folder filter below to Exclude and enter the name of the folder you would like to exclude. This field is case-sensitive. If you would like to exclude more than one word separate them with a comma like this: red, blue. Be aware that spaces are considered so don't use any spaces unless you intend for them to be included in the name match. The Include feature will search recursively but only return files for folders whose names match, so make sure to include the name of the folder that includes the files you want. For example, if the hierarchy is \jobs\3d\diffuse and you want the files in the diffuse folder, you would search for diffuse. Searching for 3d would not include the diffuse folder. As with exclude you can add more than one word separated by comma so 3d, diffuse will return all the files in the 3d folder as well as the diffuse folder. You can also Exclude or Include files based on how old they are by entering the amount of days. You can enter fractional numbers to match less than a day.
ADVANCED SETTINGS:
You can override which extensions you want Immigration to work with by editing the user preferences file that is created after the first time you run Immigration. You can find this file in the same directory where the script is installed. Be cautious when editing this file as any formatting errors will prevent it from being read in properly. To restore the file to its default value, simply delete the file (but not the Folder) and it will be re-created the next time you launch Immigration. If you have to deal with file sequences that are not zero-padded or files with the same name but different extensions in the same folder: File01.jpg and File01.psd. You can turn on the pre-sort preference in the external preferences file that will identify these sequences properly but will be slower to search, especially in folders with thousands of files.
Discussions
Want to talk about it?
Head over to r/aescripts to chat with fellow users about this product.
Need Support?
Please open a support ticket to be connected directly with the author of this product
Version History
1.5 -
Mar 4, 2020
- Now handles missing frame sequences properly (only works on import not replace due to scripting api limitations)
- Fixes UI color issues, dark background, etc.
1.41 -
May 2, 2011
Compatibility
After Effects
2026, 2025, 2024, 2023, 2022, 2021, 2020, CC 2019, CC 2018, CC 2017, CC 2015.3, CC 2015, CC 2014, CC, CS6
EULA
This software ("the Software Product") and accompanying documentation is licensed and not sold. This Software Product is protected by copyright laws and treaties, as well as laws and treaties related to other forms of intellectual property. The author owns intellectual property rights in the Software Product. The Licensee's ("you" or "your") license to download, use, copy, or change the Software Product is subject to these rights and to all the terms and conditions of this End User License Agreement ("Agreement").
Acceptance
YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT BY SELECTING THE "ACCEPT" OPTION AND DOWNLOADING THE SOFTWARE PRODUCT OR BY INSTALLING, USING, OR COPYING THE SOFTWARE PRODUCT. YOU MUST AGREE TO ALL OF THE TERMS OF THIS AGREEMENT BEFORE YOU WILL BE ALLOWED TO DOWNLOAD THE SOFTWARE PRODUCT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, YOU MUST SELECT "DECLINE" AND YOU MUST NOT INSTALL, USE, OR COPY THE SOFTWARE PRODUCT.
License Grant
This Agreement entitles you to install and use one copy of the Software Product. In addition, you may make one archival copy of the Software Product. The archival copy must be on a storage medium other than a hard drive, and may only be used for the reinstallation of the Software Product. This Agreement does not permit the installation or use of multiple copies of the Software Product, or the installation of the Software Product on more than one computer at any given time, on a system that allows shared used of applications, on a multi-user network, or on any configuration or system of computers that allows multiple users. Multiple copy use or installation is only allowed if you obtain an appropriate licensing agreement for each user and each copy of the Software Product.
Restrictions on Transfer
Without first obtaining the express written consent of the author, you may not assign your rights and obligations under this Agreement, or redistribute, encumber, sell, rent, lease, sublicense, or otherwise transfer your rights to the Software Product.
Restrictions on Use
You may not use, copy, or install the Software Product on any system with more than one computer, or permit the use, copying, or installation of the Software Product by more than one user or on more than one computer. If you hold multiple, validly licensed copies, you may not use, copy, or install the Software Product on any system with more than the number of computers permitted by license, or permit the use, copying, or installation by more users, or on more computers than the number permitted by license.
You may not decompile, "reverse-engineer", disassemble, or otherwise attempt to derive the source code for the Software Product.
Restrictions on Alteration
You may not modify the Software Product or create any derivative work of the Software Product or its accompanying documentation. Derivative works include but are not limited to translations. You may not alter any files or libraries in any portion of the Software Product.
Restrictions on Copying
You may not copy any part of the Software Product except to the extent that licensed use inherently demands the creation of a temporary copy stored in computer memory and not permanently affixed on storage medium. You may make one archival copy which must be stored on a medium other than a computer hard drive.
Disclaimer of Warranties and Limitation of Liability
UNLESS OTHERWISE EXPLICITLY AGREED TO IN WRITING BY THE AUTHOR, THE AUTHOR MAKES NO OTHER WARRANTIES, EXPRESS OR IMPLIED, IN FACT OR IN LAW, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OTHER THAN AS SET FORTH IN THIS AGREEMENT OR IN THE LIMITED WARRANTY DOCUMENTS PROVIDED WITH THE SOFTWARE PRODUCT.
The author makes no warranty that the Software Product will meet your requirements or operate under your specific conditions of use. The author makes no warranty that operation of the Software Product will be secure, error free, or free from interruption. YOU MUST DETERMINE WHETHER THE SOFTWARE PRODUCT SUFFICIENTLY MEETS YOUR REQUIREMENTS FOR SECURITY AND UNINTERRUPTABILITY. YOU BEAR SOLE RESPONSIBILITY AND ALL LIABILITY FOR ANY LOSS INCURRED DUE TO FAILURE OF THE SOFTWARE PRODUCT TO MEET YOUR REQUIREMENTS. THE AUTHOR WILL NOT, UNDER ANY CIRCUMSTANCES, BE RESPONSIBLE OR LIABLE FOR THE LOSS OF DATA ON ANY COMPUTER OR INFORMATION STORAGE DEVICE.
UNDER NO CIRCUMSTANCES SHALL THE AUTHOR, ITS DIRECTORS, OFFICERS, EMPLOYEES OR AGENTS BE LIABLE TO YOU OR ANY OTHER PARTY FOR INDIRECT, CONSEQUENTIAL, SPECIAL, INCIDENTAL, PUNITIVE, OR EXEMPLARY DAMAGES OF ANY KIND INCLUDING LOST REVENUES OR PROFITS OR LOSS OF BUSINESS) RESULTING FROM THIS AGREEMENT, OR FROM THE FURNISHING, PERFORMANCE, INSTALLATION, OR USE OF THE SOFTWARE PRODUCT, WHETHER DUE TO A BREACH OF CONTRACT, BREACH OF WARRANTY, OR THE NEGLIGENCE OF THE AUTHOR OR ANY OTHER PARTY, EVEN IF THE AUTHOR IS ADVISED BEFOREHAND OF THE POSSIBILITY OF SUCH DAMAGES. TO THE EXTENT THAT THE APPLICABLE JURISDICTION LIMITS THE AUTHOR'S ABILITY TO DISCLAIM ANY IMPLIED WARRANTIES, THIS DISCLAIMER SHALL BE EFFECTIVE TO THE MAXIMUM EXTENT PERMITTED.
Limitation of Remedies and Damages
Any claim must be made within the applicable warranty period. All warranties cover only defects arising under normal use and do not include malfunctions or failure resulting from misuse, abuse, neglect, alteration, problems with electrical power, acts of nature, unusual temperatures or humidity, improper installation, or damage determined by the author to have been caused by you. All limited warranties on the Software Product are granted only to you and are non-transferable. You agree to indemnify and hold the author harmless from all claims, judgments, liabilities, expenses, or costs arising from your breach of this Agreement and/or acts or omissions.
Governing Law, Jurisdiction and Costs
This Agreement is governed by the laws of New York, without regard to New York's conflict or choice of law provisions.
Severability
If any provision of this Agreement shall be held to be invalid or unenforceable, the remainder of this Agreement shall remain in full force and effect. To the extent any express or implied restrictions are not permitted by applicable laws, these express or implied restrictions shall remain in force and effect to the maximum extent permitted by such applicable laws.