killmoms
24th May 2014, 04:36
So, I’m trying to accomplish something a bit weird; basically I’m trying to render a .ASS subtitle file (with no underlying video) with alpha intact to an image sequence (ultimately for conversion to ProRes4444 video as an overlay I can use selectively after editing the underlying video). So I’m successfully using BlankClip() and ASSrender() to get the video I want (a quick check with ShowAlpha() verified that the alpha channel was correct with this setup).
Unfortunately, when I tried to use VirtualDub’s built in Export > Image Sequence, it bashed the alpha and left me with no transparency in the image sequence. So I did some more searching and found ImageWriter() built-in to AVISynth, so figured I could just use that with VirtualDub’s “video analysis” pass to just force a full run through the script. That let me make files with correct alpha, but unfortunately it’s way slower than VDub’s image sequence exporter—by a factor of 20 (roughly). I’m wondering if I’m using ImageWriter() wrong, or VDub, or something else. Is there a nice, fast, alpha channel-friendly way to get an image sequence (preferably losslessly compressed with RLE or something, so I’m not stuck with 8.3MB/frame) out of AVISynth?
Unfortunately, when I tried to use VirtualDub’s built in Export > Image Sequence, it bashed the alpha and left me with no transparency in the image sequence. So I did some more searching and found ImageWriter() built-in to AVISynth, so figured I could just use that with VirtualDub’s “video analysis” pass to just force a full run through the script. That let me make files with correct alpha, but unfortunately it’s way slower than VDub’s image sequence exporter—by a factor of 20 (roughly). I’m wondering if I’m using ImageWriter() wrong, or VDub, or something else. Is there a nice, fast, alpha channel-friendly way to get an image sequence (preferably losslessly compressed with RLE or something, so I’m not stuck with 8.3MB/frame) out of AVISynth?