ramicio
10th July 2011, 18:42
I have a perl script to encode my movies. I rely on copying my AVS script to a temporary one and add a line to make it one frame long, then use AVS2AVI to make me an AVI, then MediaInfo to give me the width and height. To get the number of frames I need the DGI created by DGDecNV to be alongside with my AVS script and I search for CODED and then get the number of frames from that. I would like to not have to make any temporary files or need a copy of the DGI, I would just like to read all the info from what the AVS would create. Any suggestions? I'm using the 64-bit version of AviSynth, too.
The perl script can be seen here. (http://timramich.com/movie-script.html)
The perl script can be seen here. (http://timramich.com/movie-script.html)