[Ffmpeg-devel] [PATCH] AVISynth support
Víctor Paesa
wzrlpy
Fri Aug 18 18:46:50 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_v2.patch works fine for me, under Cygwin.
Platform is Cygwin 1.5.21, gcc 3.4.4, Avisynth 2.56.
Transcode test is:
$ ./ffmpeg -i 'C:\Program Files\AviSynth 2.5\Examples\Authors.avs' \
-y output%d.png
FFmpeg version SVN-r6005, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-static --disable-shared --enable-avisynth
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 18 2006 16:53:03, 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
Press [q] to stop encoding
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%
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.
make test fails, but exactly as if I don't use --enable-avisynth,
so this is an error not related to the patch.
--- ./data/ffmpeg.regression 2006-08-18 18:22:55.078125000 +0200
+++ /home/Inma/src/FFmpeg-20060816-6005/ffmpeg/tests/ffmpeg.regression.ref
2006-08-07 18:05:18.000000000 +0200
@@ -105,7 +105,7 @@
6263462 ./data/a-ljpeg.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
-6d2f733ea211280cb291a2045551d51d *./data/a-jpegls.avi
+7b3010f595177b428cb909fa1a10ef83 *./data/a-jpegls.avi
9085658 ./data/a-jpegls.avi
0f8637e9b861230aff9894825af83720 *./data/out.yuv
stddev: 2.84 PSNR:39.04 bytes:7602176
Regression test: Error.
make[1]: *** [codectest] Error 1
make[1]: Leaving directory `/home/Inma/src/FFmpeg-20060816-6005/ffmpeg/tests'
make: *** [test] Error 2
I see there is already a avisynth-input_v4.patch, I will re-test it
this evening.
Regards,
V?ctor Paesa
More information about the ffmpeg-devel
mailing list