Skip to main content
January 28, 2017
Question

Export Video from Image sequence.

  • January 28, 2017
  • 1 reply
  • 6787 views

Hi All,

I am very new to after effect scripting, I want to create video from image sequences, I have completed importing the image sequences using scripting but not able to export the same into video. Could you please help me in this? below is my code for the same.
============================================================

app.newProject();

$.writeln("******* DONE **********");

//app.project.items.addComp("Demo", 1280, 720, 1, 10, 24);

try{

        var myImportOptions = new ImportOptions();

        myImportOptions.file =new File( "E:\\AE-AUTO\\mayaOut\\A C Mistakes 01.0001.jpg");

        myImportOptions.sequence = true;

        var myFootage = app.project.importFile(myImportOptions);

        $.writeln("DONE Importing *****");

}catch(e){

    $.writeln("EXCEPTION*****"+e);

=============================================

My intention to create video from those imported image sequence only.

    This topic has been closed for replies.

    1 reply

    Community Expert
    January 28, 2017

    I'm not sure why you are resorting to scripting. AE imports image sequences naturally, assumes by default setting in the preferences that the desired frame rate is 30 fps, and if you create a comp from the imported image sequence you can render that comp to video through the Render Cue and output module or the Adobe Media Encoder. Premiere Pro and the Adobe Media encoder will also recognize image sequences and render them to video. You can change the assumed frame rate in any of the apps. There is no trick to doing this.

    I have not tried your script but if it imports an image sequence to the project panel and it shows up as an image sequence then all you have to do is create a comp from the footage and render.

    January 28, 2017

    Thanks a lot Rick,

    I am very new to scripting, If you could point me coding examples so that it will be very helpful for me.

    Thanks a lot,

    Prashant

    Community Expert
    January 28, 2017

    My point is that you don't need scripting to import an image sequence. It's a waste of time unless you are building something far more complicated. I would never write a script just to import an image sequence.

    There is a Subspace on scripting right here on this forum. Try asking questions on scripting there. After Effects Scripting