Log in

View Full Version : Avisynth 3.0 for Linux


Pages : [1] 2 3 4

Amnon82
8th November 2006, 23:54
Avisynth 3.0 is in the early development (alpha state). Use it if you can use it ;)

Avisynth 3.0 is a powerful frameserver for Windows and Linux. It aims at editing and processing videos in a non linear manner.

http://img376.imageshack.us/img376/7644/avsoutput167ho9.th.png (http://img376.imageshack.us/my.php?image=avsoutput167ho9.png) http://img376.imageshack.us/img376/8477/avs3gtkmain187dr1.th.jpg (http://img376.imageshack.us/my.php?image=avs3gtkmain187dr1.jpg) http://img393.imageshack.us/img393/4337/avs3gtkinfo138xm9.th.png (http://img393.imageshack.us/my.php?image=avs3gtkinfo138xm9.png)

Aviysnth 3.0 is a complete rewrite of Avisynth 2.5, written from scratch by Bidoche (David Pierre). Its advantages compared to Avisynth 2.5 are the following:

* Abstract core layer that allows it to run on Windows and Linux.
* Better cache managing.
* More powerful script langage.
* Some more internal improvements.

On the other hand, the bad news is that the plugins of Avisynth 2.5 are not compatible with the 3.0 version.

Avisynth 3.0 for Linux Homepage (http://avisynth3.unite-video.com/download.html)

____________________________________________________________

AVISynth 3.0 is supported by followed Distros:


Gentoo
Paldo GNU/Linux - How to install AVS (http://forum.paldo.org/index.php?action=topic&topicnr=112&pagenr=1#post617) - Wie man AVS installiert (http://www.phpbbplanet.com/paldo/viewtopic.php?t=21&mforum=paldo)

mod
9th November 2006, 00:19
Ahhh.. it will be a nice weekend..

Amnon82
9th November 2006, 00:26
The bin is not there. If you do a compile or even a deb-file let me know ;) - hate to compile it. atm no time for it.

cya Phil

p.s. I can compile :)

cd ../linux
./booststrap.sh
./configure
make
sudo make install

... or not :(

amnon@amnon-desktop:/media/sda5/Downloads/avisynth-3.0/build/linux$ ./bootstrap.sh
+ Checking autotools versions
+ OS: Linux
./bootstrap.sh: 156: autoconf: not found

Error: autoconf >= 2.50 required (found )
amnon@amnon-desktop:/media/sda5/Downloads/avisynth-3.0/build/linux$ ./bootstrap.sh
+ Checking autotools versions
+ OS: Linux
+ autoconf: autoconf 2.60
./bootstrap.sh: 156: aclocal: not found

Error: aclocal >= 1.7 required (found )
amnon@amnon-desktop:/media/sda5/Downloads/avisynth-3.0/build/linux$


Where do I get aclocal >= 1.7 ?!?

danpos
9th November 2006, 04:29
Where do I get aclocal >= 1.7 ?!?

Ubuntu: Synaptic -> search -> automake (there are several options, I did choose 1.8 ;) ).

Regards,

Amnon82
9th November 2006, 08:55
I'm now in contact with d'Oursse, the one how ported AVISynth 3.0 to linux. In couple of days the bin-files will be fixed. Seems I'll start to help him with avisynth 3.0 :)

Here some news:

AutoQ4 will be a linux release using AVISynth 3.0 as base. Stay tuned for the first alpha release ...

d'Oursse
9th November 2006, 09:06
no no no, I'm not the lead dev of avisynth 3.0 :D It's Bidoche. I'm the commercial guy and did the linux port, that's all. All the great ideas are from Bidoche.

see http://forum.doom9.org/showthread.php?t=75409 for informations about the development.

What I would need are people who know how to create spec and deb files for installing avs3 as a package. ParadoxHeart has already written an ebuild for gentoo.

and of course testers :) I can't test it on all platforms. Right now, avs3 works on my computer (old mandrake, x86) and gentoo (x86 and amd64).

about your error, install autoconf and automake (aclocal comes with the latter).

In addition, I remark that when a autofoo prog is not found, i don't display the correct message. Bug found :D

mod
9th November 2006, 09:34
Ready to test on Ubuntu64 Core2Duo :)

Kurtnoise
9th November 2006, 09:50
Correct me if I'm wrong, avs 3.0 is not stable, right ?

d'Oursse
9th November 2006, 10:15
kurt: no, it's not yet stable. Why ? Did I miss something ? It's not alpha yet. We'll see with Bidoche if we release an alpha with the new parser.

Kurtnoise
9th November 2006, 10:20
No you didn't miss something it's because I read on Amnon's blog that's stable.That's why I was surprised. :D

Sharktooth
9th November 2006, 16:18
No, Avisynth 3 is not stable at all...

Lokean
9th November 2006, 17:45
ParadoxHeart has already written an ebuild for gentoo.
Link please?

Amnon82
9th November 2006, 18:24
@d'Oursse & Kurtnoise13: It was my fault. I reedited my blog and my post above. I thougth it was stable. I won't confuse somebody here. I'm happy that there is a port of AVISynth for linux, so I can start developing AutoQ4. ... I think I forgot automake. Hope I can compile it then. Maybe I'll come up with some debs.

@Lokean: ebuilds of Avisynth 3.0 early alpha (pkg_avisynth3-20060702.tar.bz2) (http://www.unite-video.com/phpbb/download.php?id=2009)

@mod: If you did a compile that works, let me know. (maybe step by step) ;)

Amnon82
9th November 2006, 18:31
Sorry, it is french. I can't french. It is a simple copy-post-add:

C'est assez basique, mais ça vous permettra de vous faire une idée de l'avancement d'avisynth sans trop de difficultés, enfin noramlement Wink

le tar est à décompresser dans votre PORT_DIR_OVERLAY par defautl /usr/local/portage
si necessaire décommentez la variable de /etc/make.conf

tar -xjvf pkg_avisynth3-20060624.tar.bz2 -C /usr/local

ds /etc/portage/package.keywords rajoutez

media-video/avisynth -*


si vous n'êtes pas en ~x86, il vous faut aussi (resp ~amd64):

dev-libs/boost ~x86
dev-libs/STLport ~x86
media-libs/freetype ~x86
media-libs/fontconfig ~x86
dev-libs/liboil ~x86
media-libs/gstreamer ~x86
media-libs/gst-plugins-base ~x86
media-libs/gst-plugins-good ~x86
media-libs/gst-plugins-bad ~x86
media-libs/gst-plugins-ugly ~x86
media-plugins/gst-plugins-ffmpeg ~x86
media-libs/x264-svn-20060618 ~x86
dev-lang/nasm ~x86
sys-devel/gcc ~x86


ensuite dans /etc/portage/package.use

dev-libs/boost bjam threads threadsonly
media-libs/x264-svn gtk

commencez par installer la dernière version de gcc. n'oubliez pas de switcher votre ancienne version après l'installation d'avisynth, si vous ne désirez plus vous servir de gcc 4 pour compiler le reste de votre system (eselect appartient à gentootoolkit)

emerge -av gcc
eselect compiler list
eselect compiler set i686-pc-linux-gnu-4.1.1/vanilla

puis compilez les dépendances d'avisynth :

emerge -avD avisynth

normalement tout devrait compiler sauf avisynth.
je vous laisse créer à la main un lien et faire une copy

ln -s /usr/lib/preloadable_libintl.so /usr/lib/libintl.so


et copier ce qui se trouve ds circular_buffer.zip dans /usr/include/boost

cd ~/
wget http://www.iecn.u-nancy.fr/~torri/files/circular_buffer_v3.7.tar.bz2
tar -xjvf cd circular_buffer
cp -R circular_buffer* /usr/include/boost

et enfin

emerge -av avisynth

pour tester
prener un avi ou un mkv et faites un .avs

GstreamerSource("blood.avi",0,0)

lancez avisynth_test et ouvrez votre .avs vous pouvez ensuite voir les informations de la vidéo et sauvegarder en mkv.

J'espère ne rien avoir oublié vu l'heure tardive

edit : petite erreur da,s le script.

Hope it helps you.

alec_robertson
9th November 2006, 18:57
I tried to compile the latest cvs on debian unstable and get the following error:
../../src/core/block/block.cpp:36: error: specialization of 'avs::block_<align>::block_(int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:36: error: invalid function declaration
../../src/core/block/block.cpp:41: error: specialization of 'avs::owned_block<align>::owned_block(const avs::PEnvironment&, int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:41: error: invalid function declaration
make: *** [core/block/block.o] Error 1

My compile sequence is (using gcc-4.1, autoconf-2.60a):
cvs -q -d:pserver:anonymous@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2 co -r avisynth_3_0 avisynth
cd avisynth/build
tar xvjf circular_buffer_v3.7.tar.bz2 # circular buffer patch
cd circular_buffer
sudo cp -R * /usr/include/boost/
sudo chmod -R a+rx /usr/include/boost/circular*
cd ../linux
sh ./bootstrap.sh
./configure --with-stlport-path=/usr \
--with-boost-includedir-path=/usr/include/boost
make

d'Oursse
9th November 2006, 20:18
amnon: that ebuild is from another guy. There's a better one.

alec_rebertson: strange. I've tried with g++ 4.1 and I don't remember any problem with it. I'll try again.

edit: It compiles here without problem with g++ 4.1.1. Do you have a 64bits computer ?

d'Oursse
9th November 2006, 22:30
amnon82: for circular_buffer, in the doc, you should have read:


cd avisynth/build
tar jxvf circular_buffer_v3.7.tar.bz2
cd circular_buffer
su (give your root password)
cp -R circular_buffer* /usr/local/include/boost-1_33_1/
[ctrl-D] (to return to user mode)


change /usr/local/include/boost-1_33_1/ to /usr/local/include/boost-1_33

For the problem with stlport, it's always the same problems with packagers, who install the files where they want. I'll add some configure options to set the include path of stlport

Thank you for the report.

Amnon82
9th November 2006, 22:37
Here's the link for circular_buffer_v3.7.tar.bz2 (http://avisynth2.cvs.sourceforge.net/*checkout*/avisynth2/avisynth/build/circular_buffer_v3.7.tar.bz2?revision=1.1.2.3&pathrev=avisynth_3_0)

Amnon82
10th November 2006, 00:02
first, the gui will not be built because gtk+ >= 2.8, with -dev packages) is not installed
second, there's an error:

make: *** No rule to make target `sources.inc'. Stop.

but I don't understand it. Verify that, in build/linux/, you have the file sources.inc available

1. Ok, I've to install gtk+ >=2.8 incl dev
2. sources.inc seems to be ok

I rebooted my machine and tried again with a fresh extracted avisynth-3.0.tar.bz2:

amnon@amnon-desktop:/media/sda5/Downloads/avisynth-3.0/build/linux$ /media/sda5/Downloads/avisynth-3.0/build/linux/bootstrap.sh
+ Checking autotools versions
+ OS: Linux
+ autoconf: autoconf 2.60
+ aclocal: aclocal 1.9
+ Creating ./configure
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
+ Removing files that are not needed
amnon@amnon-desktop:/media/sda5/Downloads/avisynth-3.0/build/linux$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to use default CFLAGS... yes
checking whether to use default CXXFLAGS... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -fvisibility=hidden... "yes"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for whether to use assembly code... yes
checking for architecture type... ia32
checking for build extensions... .so .a .o
checking for platform specific LDFLAGS/CFLAGS... ok
checking for nasm... yes
checking for nasm patch version... 38
checking for nasm object format... elf
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime in -lrt... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlclose in -ldl... yes
checking for dlsym in -ldl... yes
checking stl/_config.h usability... yes
checking stl/_config.h presence... yes
checking for stl/_config.h... yes
checking for main in -lstlport... yes
checking boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
checking boost/thread/mutex.hpp usability... yes
checking boost/thread/mutex.hpp presence... yes
checking for boost/thread/mutex.hpp... yes
checking boost/circular_buffer.hpp usability... yes
checking boost/circular_buffer.hpp presence... yes
checking for boost/circular_buffer.hpp... yes
checking boost/spirit/phoenix/functions.hpp usability... yes
checking boost/spirit/phoenix/functions.hpp presence... yes
checking for boost/spirit/phoenix/functions.hpp... yes
checking for main in -lboost_thread-gcc-mt-1_33... no
configure: WARNING: Boost library not in /usr/local/lib
checking for boost/shared_ptr.hpp... (cached) yes
checking for boost/thread/mutex.hpp... (cached) yes
checking for boost/circular_buffer.hpp... (cached) yes
checking for boost/spirit/phoenix/functions.hpp... (cached) yes
checking for main in -lboost_thread-gcc-mt-1_33_1... yes
checking for GST... checking for GSTBASE... yes
checking pluginsdir for gstreamer-0.10... /usr/lib/gstreamer-0.10
configure: checking if the gui program can be compiled
checking for GTK... configure: WARNING: Test application not built (gtk+ 2.8 missing)
checking whether the gui program can be compiled... no
configure: creating ./config.status
config.status: creating platform.inc
config.status: creating gen_sources.sh
config.status: creating avisynth-3.0.pc

------------------------------------------------------------------------
Avisynth 3.0 avisynth
------------------------------------------------------------------------

OS..................: linux-gnu

Visibility feature..:
Core debug mode.....: no
ASM support.........: yes

Gui program.........: no

Install path........: /usr/local
binaries..........: ${exec_prefix}/bin
libraries.........: ${exec_prefix}/lib
headers...........: ${prefix}/include/avisynth-3.0
gst-plugins.......: /usr/lib/gstreamer-0.10

Compilation.........: make
Installation........: make install

Make sure that Gst-FFmpeg is installed. Without it, most of
the usual video streams will not be decoded (huffyuv, xvid,
divx, x264 for example). We recommend that you install it

amnon@amnon-desktop:/media/sda5/Downloads/avisynth-3.0/build/linux$ make
D: build
C: ext/gstreamer/gstavs3videosink.c
In file included from ../../src/ext/gstreamer/gstavs3videosink.c:33:
../../src/ext/gstreamer/gstavs3videosink.h:26:21: error: gst/gst.h: No such file or directory
../../src/ext/gstreamer/gstavs3videosink.h:27:34: error: gst/base/gstbasesink.h: No such file or directory
In file included from ../../src/ext/gstreamer/gstavs3videosink.c:33:
../../src/ext/gstreamer/gstavs3videosink.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
../../src/ext/gstreamer/gstavs3videosink.h:53: error: expected specifier-qualifier-list before ‘GstBaseSink’
../../src/ext/gstreamer/gstavs3videosink.h:69: error: expected specifier-qualifier-list before ‘GstBaseSinkClass’
../../src/ext/gstreamer/gstavs3videosink.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_get_type’
../../src/ext/gstreamer/gstavs3videosink.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’
../../src/ext/gstreamer/gstavs3videosink.c:47: warning: data definition has no type or storage class
../../src/ext/gstreamer/gstavs3videosink.c:47: warning: parameter names (without types) in function declaration
../../src/ext/gstreamer/gstavs3videosink.c:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_details’
../../src/ext/gstreamer/gstavs3videosink.c:74: warning: data definition has no type or storage class
../../src/ext/gstreamer/gstavs3videosink.c:74: warning: parameter names (without types) in function declaration
../../src/ext/gstreamer/gstavs3videosink.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_signals’
../../src/ext/gstreamer/gstavs3videosink.c:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_change_state’
../../src/ext/gstreamer/gstavs3videosink.c:91: error: expected ‘)’ before ‘*’ token
../../src/ext/gstreamer/gstavs3videosink.c:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../src/ext/gstreamer/gstavs3videosink.c:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_setcaps’
../../src/ext/gstreamer/gstavs3videosink.c:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_preroll’
../../src/ext/gstreamer/gstavs3videosink.c:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_render’
../../src/ext/gstreamer/gstavs3videosink.c:113: error: expected ‘)’ before ‘*’ token
../../src/ext/gstreamer/gstavs3videosink.c:125: error: expected ‘)’ before ‘g_class’
../../src/ext/gstreamer/gstavs3videosink.c: In function ‘gst_avs3_video_sink_class_init’:
../../src/ext/gstreamer/gstavs3videosink.c:137: error: ‘GObjectClass’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:137: error: (Each undeclared identifier is reported only once
../../src/ext/gstreamer/gstavs3videosink.c:137: error: for each function it appears in.)
../../src/ext/gstreamer/gstavs3videosink.c:137: error: ‘gobject_class’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:138: error: ‘GstElementClass’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:138: error: ‘gstelement_class’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:139: error: ‘GstBaseSinkClass’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:139: error: ‘gstbase_sink_class’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:141: error: expected expression before ‘)’ token
../../src/ext/gstreamer/gstavs3videosink.c:142: error: expected expression before ‘)’ token
../../src/ext/gstreamer/gstavs3videosink.c:143: error: expected expression before ‘)’ token
../../src/ext/gstreamer/gstavs3videosink.c:145: error: ‘gst_avs3_video_sink_change_state’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:147: error: ‘gst_avs3_video_sink_signals’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:150: error: ‘G_SIGNAL_RUN_LAST’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:151: error: expected expression before ‘GstAvs3VideoSinkClass’
../../src/ext/gstreamer/gstavs3videosink.c:152: error: ‘NULL’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:154: error: ‘g_cclosure_marshal_VOID__UINT_POINTER’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:155: error: ‘G_TYPE_NONE’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:156: error: ‘G_TYPE_INT’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:156: error: ‘G_TYPE_POINTER’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:158: error: ‘gst_avs3_video_sink_getcaps’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:159: error: ‘gst_avs3_video_sink_setcaps’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:161: error: ‘gst_avs3_video_sink_preroll’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:162: error: ‘gst_avs3_video_sink_render’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c:164: error: ‘GstAvs3VideoSinkClass’ has no member named ‘seek’
../../src/ext/gstreamer/gstavs3videosink.c:164: error: ‘gst_avs3_video_sink_seek’ undeclared (first use in this function)
../../src/ext/gstreamer/gstavs3videosink.c: At top level:
../../src/ext/gstreamer/gstavs3videosink.c:169: error: expected ‘)’ before ‘*’ token
../../src/ext/gstreamer/gstavs3videosink.c:202: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../src/ext/gstreamer/gstavs3videosink.c:213: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_setcaps’
../../src/ext/gstreamer/gstavs3videosink.c:232: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_preroll’
../../src/ext/gstreamer/gstavs3videosink.c:272: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_render’
../../src/ext/gstreamer/gstavs3videosink.c:278: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gst_avs3_video_sink_change_state’
../../src/ext/gstreamer/gstavs3videosink.c:308: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘plugin_init’
../../src/ext/gstreamer/gstavs3videosink.c:314: error: expected declaration specifiers or ‘...’ before numeric constant
../../src/ext/gstreamer/gstavs3videosink.c:315: error: expected declaration specifiers or ‘...’ before numeric constant
../../src/ext/gstreamer/gstavs3videosink.c:316: error: expected declaration specifiers or ‘...’ before string constant
../../src/ext/gstreamer/gstavs3videosink.c:317: error: expected declaration specifiers or ‘...’ before string constant
../../src/ext/gstreamer/gstavs3videosink.c:318: error: expected declaration specifiers or ‘...’ before ‘plugin_init’
../../src/ext/gstreamer/gstavs3videosink.c:318: error: expected declaration specifiers or ‘...’ before string constant
../../src/ext/gstreamer/gstavs3videosink.c:318: error: expected declaration specifiers or ‘...’ before string constant
../../src/ext/gstreamer/gstavs3videosink.c:318: error: expected declaration specifiers or ‘...’ before string constant
../../src/ext/gstreamer/gstavs3videosink.c:318: error: expected declaration specifiers or ‘...’ before string constant
../../src/ext/gstreamer/gstavs3videosink.c:318: warning: data definition has no type or storage class
make: *** [ext/gstreamer/gstavs3videosink.o] Error 1
amnon@amnon-desktop:/media/sda5/Downloads/avisynth-3.0/build/linux$

I don't know why this happen now, cos in the first try I got until the make install. Now I don't reach that. I'm stuck in "make". So I'm not Jack Bauer, thats why I go to bed now. Hope mod come up with something ;)

Lokean
10th November 2006, 04:55
amnon: that ebuild is from another guy. There's a better one.
Where? Could you please find it for me? I would be really interested in trying it out.

d'Oursse
10th November 2006, 08:03
It was an ebuild from ParadoxHeart. But I don't see her on irc anymore :/

d'Oursse
11th November 2006, 17:18
amnon: Usually, gstreamer is installed in /usr/include. Check if he file gst.h is in /usr/include/gst or not.

Zep
13th November 2006, 10:28
Avisynth 3.0 is in the early development (not even alpha). Use it if you can use it ;)

Avisynth 3.0 is a powerful frameserver for Windows and Linux. It aims at editing and processing videos in a non linear manner.


and Mac OSX

IIRC one of the coders is coding on a OSX box.

Amnon82
13th November 2006, 10:28
I'll do a clean install of Ubuntu 6.06 right now. After a backup of the partition with partimage I'll play again with compiling AVS3.0 from the scratch.

d'Oursse
13th November 2006, 10:45
in fact, we try to use libs (stlport and boost) than work on a lot of platforms, including Windows, Linux, Solaris, *BSD and Mac OS X.
Bidoche is using Windows with a Microsoft compiler, and I use Linux with an old distro.

I tried to compile gstreamer on Mac OS X (with compilefarm on SourceForge), but I had problems. Right now, I only know that avs3 works on Windows and Linux, as I didn't have any report on other platforms.

Blue_MiSfit
13th November 2006, 12:15
Sorry if this is a bit OT, but will there by any possibility for an equivalent for LoadPluginEX wrapper for AviSynth 3.0?

In other words, is it technically possible to load plugins written for 2.5 into 3.0?

I know it's way too early to tell, and that 3.0 is nowhere near being actually usable, but I am curious as to how things will work once it's matured a bit. Will plugin developers have to start over from scratch? Will it be easy to adapt existing plugins? Will said wrapper be possible?

Sorry if I'm being speculative or asking foolish questions, but I'm rather curious! AviSynth on Mac OS X would be.... insane.

~MiSfit

d'Oursse
15th November 2006, 19:06
yes, it is possible. It is not implemented yet. And it will be more difficult than loadpluginex.

Blue_MiSfit
16th November 2006, 11:36
Open source amazes me.

Thank you developers for all your hard work! AviSynth blows away the competition.

nfm
19th November 2006, 00:12
I get this error, same as alec_robertson's one
C: core/block/block.cpp
../../src/core/block/block.cpp:36: error: specialization of ‘avs::block_<align>::block_(int, bool) [with int align = 16]’ after instantiation
../../src/core/block/block.cpp:36: error: invalid function declaration
../../src/core/block/block.cpp:41: error: specialization of ‘avs::owned_block<align>::owned_block(const avs::PEnvironment&, int, bool) [with int align = 16]’ after instantiation
../../src/core/block/block.cpp:41: error: invalid function declaration
make: *** [core/block/block.o] Error 1

I'm running:
- Ubuntu 6.10 i386
- gcc 4.1.1
- kernel smp 2.6.18.2

Edited typos ^

d'Oursse
19th November 2006, 08:14
do you have gcc 4.1.0 or 4.1.1 ?
Also, can you try with gcc 4.0.* ?

Carpo
19th November 2006, 12:14
i would say to use a 3.x.x version of gcc - as i have heard many ppl say they cant compile stuff using gcc 4.x

has anyone tried this on slackware ?

d'Oursse
19th November 2006, 16:23
I've compiled avs3 with g++ 3.3.*, 4.0.(0, 1, 2, 3) and 4.1.1
avs3 will not compile with 3.4.6, iirc (problem with templates)
I also compiled myself these versions of gcc. I do not use packages.

Amnon82
20th November 2006, 11:59
Seems I don't get it.

amnon@amnon-desktop:~/avs3_tmp/avisynth/build/linux$ ~/avs3_tmp/avisynth/build/linux/configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to use default CFLAGS... yes
checking whether to use default CXXFLAGS... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for __attribute__... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for whether to use assembly code... yes
checking for architecture type... ia32
checking for build extensions... .so .a .o
checking for platform specific LDFLAGS/CFLAGS... ok
checking for nasm... yes
checking for nasm patch version... 38
checking for nasm object format... elf
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime in -lrt... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlclose in -ldl... yes
checking for dlsym in -ldl... yes
checking stl/config/user_config.h usability... no
checking stl/config/user_config.h presence... no
checking for stl/config/user_config.h... no
configure: WARNING: STLport headers not in /usr/local/include/stlport
configure: error: "STLport is needed !"


now it is STLport again. Seems Ubuntu 6.06 won't run AVS3.0 or I'm to stupied to compile.

d'Oursse
20th November 2006, 13:47
It's my fault: i've modified the check of stlport and try to detect STLport 5.1. You have 2 solutions
1) check out avs3 again (i've corrected the check)
2) install STLport 5.1 RC3

Amnon82
20th November 2006, 21:48
I used your CVS-Build you linked me. Btw. what distro do you use?

d'Oursse
21st November 2006, 07:35
ha, that's right, I remember. Can't you install cvs ? It should be easy with synaptic

I use an old mandrake 10.0 or 10.1, which now looks more like a LFS :D

alec_robertson
22nd November 2006, 19:25
do you have gcc 4.1.0 or 4.1.1 ? Also, can you try with gcc 4.0.* ?

Version 4.1.1 gives me the error, but gcc-4.0 (ver 4.0.3) compiles fine.

d'Oursse
22nd November 2006, 19:33
Then, it's a problem with your version of gcc 4.1.1. I don't know if you are aware of that, but packagers apply sometimes patches to the progs/libs. That may be the source of the problem, if you have installed gcc 4.1.1 with a package manager.

As I said, I compile myself the different versions of gcc that I'm using.

alec_robertson
22nd November 2006, 19:41
Interesting, I'm using debian unstable's standard gcc-4.1 but this is the first time I've had problems compiling.

Amnon82
22nd November 2006, 22:15
Well. I installed now openSUSE 10.1. Will try it with Suse ...

Teegedeck
24th November 2006, 14:42
(openSUSE 10.2 is scheduled for release on Dec. 7th.)

Sharktooth
24th November 2006, 15:01
Ah! I hope my ISP fixes the low SNR im having these days so they can restore my 20Mbits connection so i can get the DVD edition of suse 10.2 without too much headaches and test if AVS3.0 compiles on it.

Amnon82
26th November 2006, 01:56
I'll try soon to compile AVS3.0 for my own Paldo-Linux. Fly by on www.paldo.org to get more info about the distribution of my friends and me.

d'Oursse
26th November 2006, 09:22
it seems that the bug above is a bug in avisynth which was not found by older compilers that g++ 4.1.1 (inluding this release). Some distro include a patch to notify it. That's why I don't have it. I'll try to fix it.

dirio49
30th November 2006, 03:03
Has anybody tried to install in gentoo?
Thanks

BTW, I am trying now will see how it goes.

ak
30th November 2006, 18:59
Has anybody tried to install in gentoo?


Yes. But then like whole *nix build system was removed in one CVS commit (IIRC). Makes you wonder is it really worth the hassle yet.

shevegen
1st December 2006, 06:56
hey hey hey patience guys ;)

Years back I was unhappy that I had to leave my favourite Windows App (when i switched to Linux).

It was one application which made me curious into "scripting" again :-)

Good code takes time!

d'Oursse
1st December 2006, 08:09
I know 2 persons who built avs3 on gentoo (x86 and amd64). I also have an ebuild. I'll add it to the cvs.

If some people are skilled in writing rpm or deb files, I would be glad to add those for avs3 too.

Sharktooth
7th December 2006, 16:10
built avs3 on sabayon (gentoo) and works.

Gusar
7th December 2006, 20:45
I have a question: Is the dependency on gstreamer fixed, or will we be able to use avs3 without gstreamer at some point in the future?