[Ffmpeg-devel] [PATCH] AVISynth support

Víctor Paesa wzrlpy
Sun Aug 20 00:56:29 CEST 2006


Hi,

>> except these minor issues, iam fine with the patch assuming it doesnt
>> break building on linux and mingw/cygwin
>

The patch avisynth-input_v5.patch works fine for me, under Cygwin
and MingGW (cross compiled under Cygwin).

Platform is SVN-r6027, Cygwin 1.5.21-2, gcc 3.4.4, binutils 20060817-1,
Avisynth 2.56.

Transcode test is:

$ ./ffmpeg -i 'C:\Program Files\AviSynth 2.5\Examples\Authors.avs' \
  -y output%d.png
FFmpeg version SVN-r6027, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-mingw32 --enable-memalign-hack --enable-static
--disable-shared
 --enable-avisynth --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 19 2006 23:56:06, gcc: 3.4.4 (cygming special) (gdc 0.12,
using dmd 0.125)
Input #0, avs, from 'C:\Program Files\AviSynth 2.5\Examples\Authors.avs':
  Duration: 00:01:42.4, start: 0.000000, bitrate: 0 kb/s
  Stream #0.0: Video: rawvideo, yuv422, 448x448, 80281 kb/s, 25.00 fps(r)
  Stream #0.1: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
Output #0, image2, to 'output%d.png':
  Stream #0.0: Video: png, rgb24, 448x448, q=2-31, 200 kb/s, 25.00 fps(c)
Stream mapping:
  Stream #0.0 -> #0.0
frame=  625 q=0.0 Lsize=       0kB time=25.0 bitrate=   0.0kbits/s
video:88182kB audio:0kB global headers:0kB muxing overhead -100.000000%


Scenarios:

1) Static Cygwin
   make distclean
   ./configure --enable-static --disable-shared --enable-avisynth
   make
   Builds OK.
   Transcodes AVS to PNG OK.

2) Shared Cygwin
   make distclean
   ./configure --disable-static --enable-shared --enable-avisynth
   make
   Builds OK.
   Transcodes AVS to PNG OK.

3) Static MinGW (cross compiled under Cygwin)
   make distclean
   ./configure --enable-mingw32 --enable-memalign-hack --enable-static \
     --disable-shared --enable-avisynth \
     --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
   make
   Builds OK.
   Transcodes AVS to PNG OK.

4) Shared MinGW (cross compiled under Cygwin)
   make distclean
   ./configure --enable-mingw32 --enable-memalign-hack --disable-static \
     --enable-shared --enable-avisynth \
     --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
   make
   Builds OK.
   Transcodes AVS to PNG OK.

make test fails, but exactly in the same steps as if I don't use
--enable-avisynth, so this is an error not related to the patch.

Regards,
V?ctor Paesa




More information about the ffmpeg-devel mailing list