I created a simple one-line AVS script called Test.avs which simply says "Version()". It loads in Windows Media Player correct and plays for 10s dispalying version info for AviSynth.
Even this script fails, however, as an ffmpeg source. Can someone explain to me how to get AviSynth working as an input to ffmpeg on Windows? Detailed output and version info below.
Thanks!
PS> ffmpeg -i .\Test.avs -loglevel debug
ffmpeg version N-51211-ge0e8c20 Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 22 2013 09:01:53 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena
ble-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-lib
twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxa
vs --enable-libxvid --enable-zlib
libavutil 52. 22.101 / 52. 22.101
libavcodec 55. 1.100 / 55. 1.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.100 / 3. 48.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument '.\Test.avs'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set libav* logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file .\Test.avs.
Successfully parsed a group of options.
Opening an input file: .\Test.avs.
[avisynth @ 00000000003279e0] Format avisynth probed with size=2048 and score=50
[AVIOContext @ 00000000021ffe40] Statistics: 9 bytes read, 0 seeks
.\Test.avs: Unknown error occurred