5 Replies Latest reply on Aug 14, 2008 5:07 AM by (Steve_Patterson)

    I can preview but not render?  Black frames?

      I've taken some footage from an HDV camcorder...I did some editing in Premiere, then imported the timeline into After Effects CS3 (latest version). I had no problems when I was working on time remapping and color correction...RAM previews worked fine.

      Now, when I try to export to any format (Quick Time, AVI Uncompressed, image sequence), After Effects will render a few frames just fine, then render a few frames as nothing but black (except for the stuff that's not the HDV video). The footage is being interpreted correctly, and I've tried every combination of that and the fields settings when exporting.

      I don't understand why I can RAM preview and scrub through the timeline and see every frame just fine, but After Effects cannot render it to file.

      Anyone have any ideas? I worked for days on this project...

      Since I can scrub the timeline, is there a way to write a script to make After Effects go frame by frame, wait for the comp preview to render, then export THAT image as a PNG or something, since I know that works?

      I'll never try to edit HDV again without some sort of intermediate, but is there any way to save THIS project?

      Thanks for your help.
        • 1. Re: I can preview but not render?  Black frames?
          Mylenium Most Valuable Participant
          Purge the disk cache and media cache, either via the "Edit" menu or the preferences. Also turn off multiprocessing (in case you are using it). The issue very much sounds like a problem with concurrent file I/O and a bottleneck situation resulting from it.

          • 2. Re: I can preview but not render?  Black frames?
            Level 1
            Good suggestions. When I rendered as a PNG sequence, that made AE suddenly able to render about 90% of the frames...but the remaining ones still lack the video (or have it rendered in some odd form...like just one field).

            Is my only option to go through each of those frames, wait for the comp preview to render, then save the image manually?

            Is this just a product of AE not working well with HDV footage?
            • 3. Re: I can preview but not render?  Black frames?
              Level 1
              If this happens to anyone else, I found a workaround. It's slower than crap, but it works for now...until AE can deal with HDV footage better.

              Like Mylenium said, trash multi-core rendering, that was an important step. On my quad core machine, I threw about 80% of the RAM to the cache, and had it render WITHOUT OpenGL as a PNG image sequence.

              After Effects halted 5 or 6 times during the 4,000 frame render. It would usually have a bizarre error, then Windows would complain about virtual memory. I would just dismiss the error, reload AE, and begin rendering from the last good frame. It took a few hours, but I got all the frames, then rendered the image sequence to a movie.

              Tedious and frustrating, but it worked. Hope this helps someone else in the future.
              • 4. Re: I can preview but not render?  Black frames?
                Mylenium Most Valuable Participant
                Actually AE is quite good with HDV these days, but of course there are minute variations in the streams depending from which camera it comes and how it was captured. OpenGL is indeed not advisable for final rendering, but depending on what you have done, AE may never have used it to begin with (it will disable it quietly if it encounters a conflict with the render settings and effects used). Still, that checking might be part of the problem as would be the concurrent usage of the graphics card in such cases (as in theory, you would then also have to have 4 of them for 4 multiprocessing instances of AE). In the medium run, if you can't get rid of the issues, I can only recommend to convert the footage before using it, as lame as that sounds.

                • 5. Re: I can preview but not render?  Black frames?
                  (Steve_Patterson) Level 1
                  Did you try to set the "secret" preferences to purge every frame during the render? Perhaps that would have helped too. Either way, glad you got the situation resolved.