Log in

View Full Version : 64-bit AviSynth playback


gordbort
12th April 2012, 16:38
I use Cakewalk's Sonar to score video soundtracks. In 32-bit Sonar, AviSynth has been an excellent tool to deal with the sometimes odd video formats that I get sent. 32-bit Sonar plays .avs files just fine. I'm running up against RAM limitations in the 32-bit version of Sonar, so I'd like to be able to playback .avs files in 64-bit Sonar.

I've installed 64-bit AviSynth and verified that it's working by opening up my version.avs script --which just contains the line version() --in both 32-bit and then 64-bit VirtualDub. No problem there.

But while 32-bit Sonar and 32-bit graphstudio will open my version.avs, the 64-bit versions of those programs will not. I assume this is because I don't have the right 64-bit codec installed. But 64-bit VirtualDub opens my .avs files fine.

In my testing, 64-bit Sonar will playback .avi files with mjpeg, mpeg4, or DV codecs. But not raw RGB or YUY2? (did I get those right). I tried various ConvertToRGBxx() and ConvertToYxx() commands in my .avs to see if any of them would solve the problem and they didn't. So I tried codec packs...

I tried ffdshow-tryouts 64-bit. I attempted to enable the rawvideo option, but that didn't let 64-bit graphstudio or Sonar playback the file. I tried K-Lite 64-bit, no go. And Shark007 32/64-bit combination, and attempted to enable all the codecs. Nope.

So, at this point, is there any 64-bit codec I can install (or setting to try) to at the very least get 64-bit graphstudio to decode my .avs script? And then if that works, maybe 64-bit Sonar will too.

Edit: I guess I should mention I'm on Win7 64-bit.

gordbort
13th April 2012, 17:30
Well, maybe it's not a codec problem. I found out that 64-bit Sonar will play a .avi with raw RGB codec.

So I have my version.avs file which outputs as RGB24. I did: ffmpeg -i version.avs -vcodec copy RGB24.avi to create a raw RGB .avi file and 64-bit Sonar played it fine. And 64-bit graphstudio opened it and showed its filter graph.

So now, it just looks like 64-bit graphstudio and Sonar just don't like .avs files, while 64-bit VirtualDub does. Is there anything special that has to be done to get them to recognize the .avs files? Is this a question for the AviSynth Dev forum?