Log in

View Full Version : avisynth (and avs2yuv) under wine


Tack
29th September 2007, 19:03
I am trying to have a go with avisynth under wine and I'm running into a problem. Since I know some of you have done this successfully, I thought I'd ask here, since endless Googling isn't turning much up.

This is wine 0.9.33 under Ubuntu Feisty; it's a virgin install, so ~/.wine didn't exist when I started.

I ran the installers for Avisynth 2.5.7 and the latest ffdshow-tryout pack. I have a trivial test.avs file that contains only:
AviSource("test.avi")

I am running this through akupenguin's avs2yuv tool. When I try to execute it, I get the following:
tack@viper:~/avs$ wine avs2yuv.exe test.avs -o -

Avisynth error:
AVISource: couldn't locate a decompressor for fourcc
(test.avs, line 1)
I can specify the fourcc (it is a DIVX file) in the call to AviSource, but I get a similar error (only in that case the error message specifically says it can't locate a decompressor for fourcc DIVX). I've tried several other avi files, for example an AVI with h264 video, and get a similar "couldn't locate a decompressor for fourcc h264".

I also dropping avifil32.dll into the system32 directory and telling Wine to use the native dll, rather than its built-in avifile. The outcome is the same however.

Also, running the VFW config tool from ffdshow shows a long list of formats under the decoder tab. Particularly H264 and DIVX are there, and associated with libavcodec.

I suspect I'm missing something important. :) Any help would be appreciated.

Thanks,
Jason.

Gusar
29th September 2007, 19:31
Open ~/.wine/drive_c/windows/system.ini and add this line at the endvidc.FVFW=ff_vfw.dll

Tack
29th September 2007, 19:37
Ah, brilliant. Many thanks, Gusar.

shevegen
6th October 2007, 07:30
Do we have some wiki? This info is really cool :)