[Ffmpeg-devel] [PATCH] AVISynth support
Víctor Paesa
wzrlpy
Sat Aug 19 01:47:23 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_v4.patch works fine for me, under Cygwin
and MingGW (cross compiled under Cygwin).
Platform is SVN-r6022, Cygwin 1.5.20, 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-r6022, 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 23:49:45, 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.
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.
3) 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.
Native Cygwin:
--- ./data/ffmpeg.regression 2006-08-19 00:51:17.453125000 +0200
+++ /home/Inma/src/FFmpeg-20060818-6022/ffmpeg/tests/ffmpeg.regression.ref
2006-08-18 20:08:12.000000000 +0200
@@ -105,7 +105,7 @@
6264498 ./data/a-ljpeg.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
-def9480023d51686a29477d095618906 *./data/a-jpegls.avi
+8b9359781a7e87d09af1b1c9a536cb75 *./data/a-jpegls.avi
9086694 ./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-20060818-6022/ffmpeg/tests'
make: *** [test] Error 2
Cross compiled:
--- ./data/ffmpeg.regression 2006-08-19 00:15:21.562500000 +0200
+++ /home/Inma/src/FFmpeg-20060818-6022/ffmpeg/tests/ffmpeg.regression.ref
2006-08-18 20:08:12.000000000 +0200
@@ -27,9 +27,9 @@
810646 ./data/a-mpeg2threadivlc.mpg
6b820ffc74de50cc863b41d51f72c22b *./data/out.yuv
stddev: 7.64 PSNR:30.45 bytes:7602176
-9d32e1f9d22198a8db2032f0f65bcd25 *./data/a-mpeg2reuse.mpg
-2121461 ./data/a-mpeg2reuse.mpg
-4a6d380f589543b8c8f733b5a90e5094 *./data/out.yuv
+edb3e58ea66de2e9b32713daf9b5c3f1 *./data/a-mpeg2reuse.mpg
+2119706 ./data/a-mpeg2reuse.mpg
+1dab2eaca5320fe01afbe9596b2bd6cc *./data/out.yuv
stddev: 7.68 PSNR:30.41 bytes:7602176
f24f317ad39c5f2d0195ce0675a828e7 *./data/a-msmpeg4v2.avi
643702 ./data/a-msmpeg4v2.avi
@@ -75,9 +75,9 @@
601276 ./data/a-mpeg4-adv.avi
0b7935cee2070f3b838478cea6dc4b3c *./data/out.yuv
stddev: 10.25 PSNR:27.90 bytes:7602176
-08b4397e5dc88e1b08aaa8ee2a186607 *./data/a-mpeg4-thread.avi
-768506 ./data/a-mpeg4-thread.avi
-1f81a4308d75893b92c6aa550b0ec46d *./data/out.yuv
+729af3941305c27ce330e2afaebb5592 *./data/a-mpeg4-thread.avi
+765722 ./data/a-mpeg4-thread.avi
+252d1e8cc1ee88eea693cebd6b4e7e53 *./data/out.yuv
stddev: 12.32 PSNR:26.31 bytes:7602176
670f6e540bcf504ccc72d41952cc401e *./data/a-mpeg4-Q.avi
900488 ./data/a-mpeg4-Q.avi
Regression test: Error.
make[1]: *** [codectest] Error 1
make[1]: Leaving directory `/home/Inma/src/FFmpeg-20060818-6022/ffmpeg/tests'
make: *** [test] Error 2
Of course, by now there is already a avisynth-input_v5.patch, I will
re-test it tomorrow ...
Regards,
V?ctor
More information about the ffmpeg-devel
mailing list