Script: add to adobe media encoder

Hello guys!
First of all congrats about the new features, and the badass look of After Effects. I really enjoy it!
But I'm really disappointed to see that the h264 render function is gone. That really destroyed my workflow   boom!
Because I have a lot of jobs for an event hall, where I'm doing very often 360 degrees projection mappings, and the global resolution there is around 26 000 px width. What we usually do, because we're using watchout as playback system and handling all the projectors, is splitting h264 movies to theirs maximum width resolution. The things is that for example for an event we have around 20 - 30 animations, and 1 animation is split in 6 movies.. What we usually did -  we wrote a small script which splits automatically the movie into 6, pre-compose them all, align them all  and renders all the videos with predefined h264 settings. So .... my question now is.. how can I modify my script and set it to send all the pre-composed, resized, aligned, new comps to Adobe Media Encoder and use a predefined h264 render setting? I couldn't find anywhere more info about the scripting bridge between AE and Media Encoder.
Cheers,
Marin
PS: I know that we can use Final Cut Pro or Motion to get more resolution from the h264.. but it's kind of workflow that I used to work.. everything happens in one application.. and no annoying hundred times save as, render as etc

Hi Marin,
It's true that it's a pain to handle the encoding of h.264 outside of AE.  You can write a script that calls the app.executeCommand() function and passes in the code that invokes the "Add to Adobe Media Encoder Queue..." found under AE's Composition menu.  The correct, numerical, code for that command is 3800.  So you would just iterate through the comps you wanted and then open them in the main viewer using the .openInView() method which brings them into focus so-to-speak.  Once it's open you can then send the comp to AME with app.executeCommand(3800).  On the AME side, you would have to make a default template for the render output settings you would want.  When your script adds a comp to the AME queue it will take those settings. 
Now, you could do all that, but have you seen AEmpeg that aescripts posted yesterday?  It allows you to render to 100s of codecs using ffmpeg right from AE.  While it costs some money, at least it will open up the door to a streamlined workflow and a variety of codecs that you might need.
--Arie

Similar Messages

  • "Add to Adobe Media Encoder queue" option very slow

    Hello,
    The new "add to Adobe Media Encoder queue" directly from After Effects is great, but it is sooooo much slower than encoding directly from Adobe Media Encoder.
    My comp is very simple : it's a 90 min. length video that I'm trying to convert from 24 to 25 frames. I need a MPEG2 export for DVD, so I can't use AE because there're no option to export to MPEG2 files in AE.
    AME announced 10 hours of encoding, but after 5 hours it was only at a third of completion. So I rendered the movie in DNxHD, then encoded in AME : 1 hour for the DNxHD file, and 4 hours for the MPEG2. Much faster!
    I run After Effects CC (12.1.0.168) and AME CC (7.1.0.74) on a windows 7 system with i5 processor and 8go of RAM.
    Anybody else encoutered this issue?

    Tento wrote:
    As for the higher encoding time of exporting to AME frome AE, do you have any clue ?
    Have you applied any effects to the footage in your After Effects comp? Are you using time remapping or the Time Warp effect? That will slow down the encode significantly. Also, what is the format of your source footage?
    Mind that, depending on what you're asking After Effects to render, encoding a comp via AME may not be as fast as using the Render Queue in After Effects. Feeding frames to AME via Dynamic Link incurs some memory overhead and limitations; for example After Effects can not render multiple frames simultaneously on different processors for Dynamic Link encodes.
    If I were you, I would try to solve the problems with AME transcoding your footage. You should bring the issue to the AME forum.  If you're fully committed to not using AME, I recommend using Premiere Pro, not After Effects, for this type of job.
    Regardless of all the above, I agree with Rick: you shouldn't need to transcode 24fps footage to 25fps for playback from DVD. DVD players will do that frame rate translation for you at playback time. But if your footage is not PAL dimensions (720x576), a DVD player won't necessarily convert the frame size, so transcoding at least the frame size is recommended. Bottom line: I would let your DVD authoring software (Encore?) handle the original file; it should do any conversions necessary when you set the DVD format to PAL.

  • Cannot find "Add To Adobe Media Encoder Queue"

    I just started in AE, and I've got a pretty good grasp on it from all the tutorials out there.
    But I hate the native rendering system in AE, I'd rather use Media Encoder like I have been for Premiere Pro.
    In the Adobe Tutorials, it says Comp > Add To Adobe Media...  but I don't have that option even available. I'm using Adobe After Affects CS6. This wasn't removed in CS6 Was it?

    In After Effects CS6, even though the Add To Adobe Media Encoder Queue command isn't present, you can add your composition to AME by other methods. Either use the File > Add command inside AME, or drag and drop your composition from After Effects to AME. Make sure to save your project first.

  • "Add to Adobe Media Encoder Queue" Missing

    Anyone know why my version of AE CS6 doesn't have the option "Add to Adobe Media Encoder Queue" ? http://t.co/UFTfFXN8VL

    The Add To Adobe Media Encoder Queue command is new in After Effects CC; it does not exist in After Effects CS6 or earlier versions. The command is available under both the File > Export and Composition menus. The keyboard shortcut is CTRL+Alt+M (Windows) or CMD+Opt+M (Mac).
    To add an AE comp to the AME Queue in CS6, you can do any of the following (which also work in AE and AME CC):
    Drag one or more comps from the AE Project panel to the AME Queue panel. (Save your project first.)
    Drag the AE project file from the desktop into the AME Queue panel. Choose a single comp and click OK.
    In AME, open the Add Source dialog: choose File > Add Source OR click the Add Source (plus sign) button in the Queue panel OR double-click in the empty area of the AME Queue panel. Choose the AE project file, click Open, then choose a single comp and click OK.
    In AME, choose File > Add After Effects Composition. Choose the AE project file on the left side of the dialog, then choose one or more comps on the right side.

  • Using Adobe Media Encoder with After Effects and ExtendScript

    Hi,
    I'm trying to automate the process of encoding a video using the Adobe Media Encoder. The project I'm working on includes allowing a user to upload a video and having that video then be encoded in different formats. I'm very new to After Effects and ExtendScript, but the two ways I see of doing this are:
    1) Use ExtendScript to fire the Adobe Media Encoder through After Effects, using the 'Add to Adobe Media Encoder Queue' function. I'm not sure if this is possible or not.
    2) Bypass After Effects all together and use the 'watch folder' function in Adobe Media Encoder and upload the files directly to that folder.
    I'd prefer to go route 1, if that's possible, but I'm not sure it is. I was thinking that I could write a script to work with Adobe Media Encoder to encode a given video, but from what I've read, ExtendScript isn't currently supported by Adobe Media Encoder? This is true? What would be the best way to go about accomplishing this?
    Thanks.

    I think you will have a much easier time just using option 2. I have to ask, why do you want the files to go through After Effects anyway? If you are just taking a file and converting it to ## different formats...the watch folder setup in AME would be super easy to setup.
    All you need to do is ensure the user submitted files end up in a certain directory -- make that folder your watch folder and create a second folder within that one called 'encoded' or something along those lines. That way as long as AME is online and watch folders are active....you won't have to do a thing.

  • Adobe Media Encoder Export like source size

    Hey,
    i´m trying to set up a custom export setting based upon HD BlueRay Mpeg setting.
    My source is a custom size (1400 x 1050 px), but i am not able to change to "size as source".
    Any Ideas how to change that?
    THX
    MArco

    Marco,
    You can use AME to encode a 1400x1050 M2V file.
    You need to use the generic MPEG2 format (not Blu-ray or DVD) and change the Level to High. (High 1440 will also work, but it is designed for specific applications.) You will also need to set the Profile to Main or High.
    The most important factor is what type of MPEG2 streams your playback device will support. That will be important for setting the Profile and Level values, which constrain the bitrate and therefore the frame size/frame rate of the MPEG2 stream. (This is what Mylenium was referring to.)
    Read this for more technical detail about different Profiles and Levels:
    http://en.wikipedia.org/wiki/H.262/MPEG-2_Part_2#Video_profiles_and_levels
    You cannot transfer encoding presets between After Effects and AME. However, remember than you can encode an After Effects comp directly from AME without rendering an intermediate comp first. Either drag and drop the comp from AE's Project panel into the AME queue, or simply import the AE project into AME, and choose the comp you wish to render. In the next version of After Effects, this process will be much easier with the introduction of a new Add To Adobe Media Encoder command from within After Effects.
    http://blogs.adobe.com/aftereffects/2013/04/whats-new-changed-after-effects-next.html
    If you want to contact in-person support for AME, visit the following page and choose After Effects as the product (there is no AME option because AME is not sold separately).
    http://helpx.adobe.com/contact.html

  • ProjectName_compName Adobe Media Encoder

    I have hundreds of comps between 30 after effects projects that I was hoping to add to Adobe Media Encoder as I completed them.  However I need the rendered comps to begin with the project name followed by the name of the composition: projectName_compName which is doable in after effects but I'm worried that It isn't automated in Media Encoder.
    Is this possible?
    Is there a workaround?
    If I can automatically have the comps within after effects named after the project then this wouldn't be a problem; however, I do not know if this is possible either.

    BATCH RENAME IN ADOBE BRIDGE FOR THE WIN

  • When I add my composition to the Adobe Media Encoder from After Effects, it renders out incorrectly?

    Why is it that when I add my composition directly from after effects to the adobe media encoder, it renders out of the adobe media encoder incorrectly? By that I mean the video comes out a little scrambled- parts of it overlap other parts. Is this an issue with 'dynamic link'? Did I do something wrong? I'm working in CC.

    I also don't understand what you are saying. What do you mean by "parts of it overlap other parts"? A screen shot might help.
    What were your render settings in AME? (Format, Codec, data rate, etc.)
    What is in your AE comp? If footage, tell us what format, codec, etc. Tell us what effects were used too.
    What exact version number of AE CC are you using?

  • Trying to Add Adobe Media Encoder in Creative cloud licenses but its not coming up, is media encoder bundled with another adobe product?

    Trying to Add Adobe Media Encoder in Creative cloud licenses but its not coming up, is media encoder bundled with another adobe product?

    You MUST have a 64bit computer... what is your computer?
    Adobe's MINimums http://helpx.adobe.com/premiere-pro/system-requirements.html
    -Programs won't display if they will not install on your computer
    -http://helpx.adobe.com/creative-cloud/kb/all-apps-displayed-aam.html

  • Command prompt window script to automatically run adobe media encoder

    Does anyone know of a way to run adobe media encoder from the command prompt or batch file?
    I would like to automatically invoke a script, much the way I do for Adobe After Effects.
    (I do not mean batch encode from the software.)

    This sort of thing is quite easy to accomplish in Windows using Notepad and the keyword Start.
    You would type something like
    start amencoder.exe (although I don't know the exact full path and exact name of Adobe Media encoder).
    Save your text from above into notepad as a .bat file .
    I'm not sure how this would be done in Mac but I'm sure there are similar options using the Terminal.
    Why do you need to do this when you have an icon that can be double-clicked to invoke the program, by the way?

  • Adobe Media Encoder CC - You Need to Add Unsupported CUDA Cards to supported_cuda_cards.txt

    Hi Folks
    I'm running on a Mac Pro with an NVidia GTX 770 with 4GB. Premiere Pro CC utilizes the GPU for playback and export but will give you a warning when you first enable CUDA in Mercury Playback Engine. However...
    I was noticing that when I queued the export to Adobe Media Encoder CC, it was taking forever to encode simple queued sequences.
    After doing a bit of research on the internet and even in these forums I realized that while Premiere Pro was being ok with supporting a non-supported card, Media Encoder was not. I added the GTX 770 to the supported_cuda_cards.txt file locate here: /Applications/Adobe Premiere Pro CC/Adobe Premiere Pro CC.app/Contents/ (you will need to be slightly geeky to find and modify this file - more info than I care to provide in this post but you can look up how to locate files in Mac OS).
    Voila! AME now encodes super speedly, like 4 times as fast as before!!!
    Thought I'd just provide this little tip for people experiencing this problem.
    Adobe... can you do something about this? I know it's a corner case but really - maybe something in AME preferences or something... Like "Use CUDA capable card even if not on supported CUDA list" checkbox or something.
    Now I can get back to work.
    -Keith

    I just made this change in the AME ".txt" file for my GeForce GTX 670 (i7, WIn 7 Pro, 32 GB, and I know it's not "certified" for CUDA), and now have it in both the PPro and AME ".txt" files. While I'm waiting for AME to finish, this thread raises questions in my mind.
    It's been my understanding that AME was engineered to run in the background, allowing other work to be done in PPro without the 2 "getting in each other's way".
    I'm happy with the rendering speed in PPro, and I see that hardware rendering is working there.
    If AME now makes use of the GPU while I'm doing other work in PPro, (like maybe "rendering the selection", or an entire sequence in PPro), does that affect the performance of either the file that AME is currently processing, or does it affect what I can do/performance I'll get while concurrently working in PPro?
    Are CUDA/GPU resources  "shared" between PPro and AME? Or, are the apps likely to "trip over each other"?
    If AME does, in fact, make use of the GPU, is there something other than the ".txt file hack" that I must do to enable the renderer in AME to use MPE hardware? As I type this I have AME working on a PPro sequence but I see that the "Renderer" is showing "Mercury Playback Engine Software Only".
    I feel like I'm missing some important tidbir of information, but I don't know what that is.
    What am I missing?

  • Add Metadata, Options to Open in Adobe Media Encoder for Video Files

    I was surprised to discover that some basic information about video files is not shown. For example, the duration of a QuickTime video is not shown.
    Also, there is no option to open an MOV file in Adobe Media Encoder.
    It would be nice to have this basic support for video.
    David Salahi

    removal of FLV and F4V export features from Adobe Media Encoder

  • Adobe Media Encoder for CS4 error Could not read from the source

    Hello,
    I get an error when I try to export from Premiere CS4. It doesn't matter how I export. Seems like an easy fix, but I can't figure it out. Any help is appreciated:
    - Source File: C:\DOCUME~1\ARTWHI~1\LOCALS~1\Temp\extra and b roll.prproj
    - Output File: E:\Living Accused Movie Transfers\video\Cindy at table.avi
    - Preset Used: NTSC DV
    - Video:
    - Audio:
    - Bitrate:
    - Encoding Time: 16:10:34
    1/21/2009 9:50:25 PM : Encoding Failed
    Could not read from the source. Please check if it has moved or been
    deleted.
    Thank you
    Art

    When you attempt to encode media with Adobe Media Encoder CS4 on Windows, the following error message appears in the text file (AMEEncodingErrorLog.txt) that opens when you click the error icon: "Encoding Failed. Could not read from the source. Please check if it has moved or been deleted."
    If it's that correct, you removed an earlier version of Adobe Premiere Pro or Adobe Creative Suite on the same computer.
    Do one or both of the following solutions:
    Solution 1: Create a shortcut to the Premiere Pro executable file, rename the shortcut to Premiere, and move the shortcut to C:\Program Files\Common Files\Adobe\dynamiclink.
    Close all Adobe applications.
    In Windows Explorer, navigate to C:\Program Files\Adobe\Adobe Premiere Pro CS4. (If you installed Premiere Pro CS4 in a location other than the default of C:\Program Files\Adobe, then navigate to your custom installation location.)
    Right-click on Adobe Premiere Pro.exe (which might appear without the .exe extension) and choose Create Shortcut.
    Rename the newly created shortcut to just Premiere.
    Important: The name of the shortcut must be exactly Premiere with no other characters.
    Open a second Windows Explorer window, and navigate to C:\Program Files\Common Files\Adobe\dynamiclink.
    Move the Premiere shortcut that you created into the dynamiclink folder.
    Solution 2: Remove and reinstall all Premiere Pro CS4 components or all Adobe Creative Suite 4 components.
    Do one of the following:
    Windows XP: Choose Start > Control Panel > Add or Remove Programs.
    Windows Vista: Choose Start > Control Panel > Programs and Features.
    In the list of installed programs, select Adobe Premiere Pro CS4, Adobe Creative Suite 4 Production Premium, or Adobe Creative Suite 4 Master Collection.
    Click Change/Remove (Windows XP) or Uninstall (Windows Vista).
    Follow the on-screen instructions to remove all components of Premiere Pro CS4 (including Adobe Encore CS4 and Adobe OnLocation CS4) or to remove all components of your edition of Adobe Creative Suite 4.
    Re-install your Adobe software.

  • Adobe Media Encoder stopped working in this project, works in others

    Adobe Media Encoder just stopped working in my current project (in PPRO CS3). I'd output several MPEG2-DVD and Windows Media Files. Then I went to make one more MPEG2-DVD file, and when I clicked OK in AME, nothing happened. It should open a window to select where I want to put the file, and a few more options. No crash, no freeze, no error messages..and no output.
    None of the AME formats work (WMF, Quicktime, etc). But other exports do work. I made my MPEG2-DVD file using Export to Encore.
    I opened another project I'm working on, and AME does work in that project.
    Back to my current project, and it still doesn't work.
    I've rebooted, and uninstalled-reinstalled PP CS3.
    Anyone fixed this?  Thanks!

    After some more playing, I discovered that the other sequences in this project do still export using AME. So I made a new sequence, copied all the media from the problem sequence into the new one, and it exports OK.  I lose fairly extensive Encore chapter marking, but that's a minor problem. No way to "cut and paste" chapter markers, I don't suppose?
    For curiosity value, if I make a duplicate of the problem sequence, all the media in the duplicate sequence has a red bar (unrendered) except for the parts that have already been rendered, which have a green bar. This is straight transferred DVCam media and shouldn't need rendering.  If I add some new video to the sequence, it gets a red bar too. Bizarre. Oh, and it won't export.
    I tried a few other tricks with the original problem sequence: delete all media, and replace with one new short clip; delete the chapter markers; shorten the work area bar to just a few seconds and try to export "work area only"; turn off tracks; deselect either audio or video in AME... nothing worked to make this sequence export.
    I also tried making a whole new project, and importing this one into it. Nothing changes - the problem sequence still wont' export, a copy of it leaves all media "unrendered..." exact same trouble as the original project. But it was while playing with this new project that I discovered that my other sequences did export, leading me back to the original project. That should have been the first or second thing I checked. Brain-dead Sunday.
    Conclusion: something corrupt in the sequence, but darned if I can figure out what. Not the media. Not the chapter markers. There's code in the sequence itself, and I guess that must be it.
    Enough time wated on this project. Thanks, all!
    Gary

  • Adobe Media Encoder in CS4

    Hello. My name is Justin. I am currently going through the  ADOBE FLASH CS4 REVEALED  book by Jim Shuman, as a program at a local community college. I have the Adobe Creative Suite 4 Design Premium. I am running this program on Microsoft Windows 7 x64,  with 4 gb ram and a Core2 Duo processor at 2.27 GHz.
    I am going through the content of the book, and in chapter 5, lesson 3, we were to use the encoder to encode a fireworks.mov file. (p5-14)
    I proceed through the steps described in the book. Upon opening the fl5_3.fla , I first select default fonts as I don't have the called for font. After making a new layer named video and clicking frame 1 of the said layer. I click File > Import > Import Video. I get the wizard window popped up. I click on the Embed FLV tic, and browse to the data folder.I select the file and click open. This is where I encounter the 1st error.
    "The video format you have selected is not valid for embedded video. Please select an FLV file."
    I click OK. And then click Launch Adobe Media Encoder button. I recieve a second error.
    "The file"(location)" could not be imported by Adobe Media Encoder" .
    I have tried to import it from various locations on my hard drive, and from the data disk itself. Adobe is said to be fully updated.
    I encounter this problem again in a later lesson in the Skills Review on page 5-40.
    Another thing to note is that when I choose to manually add an item in the que of the encoder, I do not get to initially see the .mov file until selecting the ALL option under the File type drop down scroll box.
    Any help in a timely manner would be greatly appreciated!
    Thank you.
    - Justin

    I could really use some help on this . . .
    Could it be a codec is missing or something?
    Does anyone know of another way I can get help if not from here?
    Thanks.

Maybe you are looking for

  • How do I reset my security questions I forgot answers to?

    New to iPad. We had an account for my kids to use iTunes under my email. Now I have an iPad and I can log in with my user name and password but when try to purchase apps it wants to verify with questions I can't remember my answers. How do I reset?

  • Key event problem

    Hi i have a text field and i am trying to listen for when a user enters a value between 1-9 and the Enter being pressed int temp = evt.getKeyCode(); // get what value is entered in my text field if(( temp >= KeyEvent . VK_0 ) && ( temp <= KeyEvent .

  • Problem while creating the Partner Address in CRM

    Hi,    We are facing one problem while creating the new address for the Business Partner.    When ever customer wants to change the address : we are following one process : where we are          using 'BAPI_BUPA_ADDRESS_ADD' functin module. Becuse of

  • Install failed "APS DAEMON.EXE error. MSVCR80.dll missing"

    ran the update - install failed "APS DAEMON.EXE error. MSVCR80.dll missing" Now iTunes is not installed nor running

  • The ADS call has failed-ADOBE form

    Hello All, I am getting the following error, while runing WD, i am displaying pdf form in that. but for few of the pdf forms i can display properly with out any error. in the same WD, but in other view this error is coming only with one form. the exc