5 Replies Latest reply on Sep 21, 2013 12:27 PM by Thongrrrl14

    Export Limited Number of Images

    Thongrrrl14 Level 1

      I want to export a series of images from a video, but only, say, one frame every three or four seconds. One out of every 90 to 120 frames of the video. Can this be done in AE, or do I need to do this in another CC program?

        • 1. Re: Export Limited Number of Images
          Todd_Kopriva Level 8

          If you want to export a relatively small number of frames from a video, you could mark the frames that you want to export and then run this script:


          • 2. Re: Export Limited Number of Images
            Rick Gerard Adobe Community Professional & MVP

            If you want to export every a frame every 3 seconds then simply drop your footage in the new composition icon at the bottom of the Project Panel, select your layer, enable time remapping, go to frame 10, then drag the last keyframe in time remapping to the left until the value in time remapping for frame 10 is 30 seconds. Then check frame 1, it should read 3 seconds.


            EZ as pie....


            One thing I forgot to mention, make sure that you open up footage interpretation and have the timecode from the footage set to start at 0. This makes calculations work out just fine.


            Here's a screenshot showing frame 5 and 15 seconds on the time remapping value.


            Screen Shot 2013-09-19 at 9.08.59 PM.png

            • 3. Re: Export Limited Number of Images
              Tim Kurkoski Adobe Employee

              I have a method that is easier than what Todd and Rick have suggested, assuming you don't want to export specific frames as Todd's referenced script would do.


              1. Add your comp to the Render Queue.
              2. Open the Render Settings dialog.
              3. In the Frame Rate box, choose Use This Frame Rate. Set the value to your desired interval. If you want 1 frame per second, enter 1. If you want 1 frame every 4 seconds, enter 0.25. (You can also simply enter 1/4. Easter egg: AE can do math in numerical input fields.)
              4. OK the Render Settings dialog.
              5. Change the Output Module settings as desired.*
              6. Start the render.


              *I don't recommend using QuickTime if your frame rate value is below 1. Use an image sequence format like PNG or TIFF instead. When I tested this method, rendering the QuickTime file succeeded but importing it back into AE caused AE to start giving errors when trying to use QuickTime files (the file caused the QT32 Server process to crash). Sigh. I'll file the bug tomorrow.**


              **UPDATE 2013-09-23: After isolating and filing the bug, it's not as bad as I initially found. The problem is isolated to frame rates of 0.49fps or less, and not all QuickTime codecs exhibit the problem. Animation and ProRes are among those that are affected.


              Regardless, for this workflow it's best to use image sequence formats.

              • 4. Re: Export Limited Number of Images
                Todd_Kopriva Level 8

                I agree with Tim's recommendation for outputting at exactly regular intervals. I thought that you were wanting to export chosen representative images from throughout the movie, not necessarily at regular intervals.

                • 5. Re: Export Limited Number of Images
                  Thongrrrl14 Level 1

                  Thanks to all who replied, but especially thanks to Tim! This was exactly what I needed.


                  I wanted to be able to create a log of visuals that are in a series of videos that were made. Now I can export stills from the videos, complete with a time code stamp to let me know where the visual can be found. (After that, I will use Adobe Bridge to assign keywords to the pics. For example, I will type in "teapot" and see all the occurrences of a teapot in the videos. Or a doorway. Or a crazy guy with a sock puppet. You get the idea.)