View Full Version : Avisynth 3.0 for Linux
d'Oursse
7th December 2006, 20:54
on linux (and other unixes), it will be only gstreamer. On windows, There will be the same as what is in avs 2.5 (avi, directshow).
Gstreamer is the only framework (on linux) that I know and which is able to do what we want in avs
Do you have a suggestion ?
Gusar
8th December 2006, 00:30
Do you have a suggestion ?Not really, I was just curious. FFmpeg is the only thing that comes close I guess, but you probably already checked that and found that it doesn't offer everything you need.
Thanks for the information and thanks for all your work, having avisynth natively on linux will be huge.
Oh, another thing: I checked the cvs and didn't see an ebuild there. Am I blind or is it not there yet?
isolationism
8th December 2006, 07:18
d'Oursse, laisse-moi vous dire merci pour vos efforts sur Avisynth 3.
I'm excited that I'll soon be able to use it to encode video; all my horsepower is locked up in 64-bit Linux machines running Gentoo right now. I tried to install from source earlier this week but got stuck with problems with missing libraries.
I too would love to get my hands on that (those?) ebuild(s). I checked out the CVS module today but wasn't able to find any ebuilds or references to Gentoo. I'm sure you're very busy; when you have a moment could you touch the thread to let us fanatics know? Thanks again!
Edit: Speedy reply, d'Oursse! Here's hoping you find time today.
d'Oursse
8th December 2006, 08:16
about ffmpeg, gstreamer already includes ffmpeg, so no need to use it directly.
About the ebuild, I'm lazy, it's not in cvs. But I have it on my hd :) I'll try to do that today
ak
14th December 2006, 15:30
I too would love to get my hands on that (those?) ebuild(s).
Here's one: https://opensvn.csie.org/4nykey/portage/media-video/avisynth/avisynth-9999.ebuild
It didn't build for me, last time I tried, maybe you'll be more lucky.
d'Oursse
14th December 2006, 18:21
some patches are in, as well as the ebuild in build/linux/gentoo
isolationism
14th December 2006, 18:50
Awesome, d'Oursse, thank you. I've updated my local copy and grabbed the ebuild.
On to the next problem ... ;) boost-circular-buffer doesn't have an ebuild currently in portage, but the avisynth-cvs ebuild requires it. I'm assuming the circular-buffer ebuild is already out there, just not in avisynth's cvs folder. Any idea where I could find it?
Edit: Thank you again d'Oursse!
d'Oursse
14th December 2006, 19:23
there's an ebuild. Check that post, I'll edit it when the ebuild is in
Edit: the ebuild is in
isolationism
19th December 2006, 06:38
Okay, progress:
- boost-circular-buffer compiled fine using the provided ebuild and the appropriate archive copied to /usr/portage/distfiles. You can probably mark this ~amd64 (currently x86 is the only keyword).
- When I went to emerge avisynth-cvs, it updated stlport and x264-svn. I had to add "dev-libs/STLport ~amd64" to package.keywords, but it compiled fine.
- Emerging avisynth-cvs itself failed, however, with an error regarding x264-svn not supporting the gtk flag. The actual error is below:
!!! ERROR: media-video/avisynth-cvs-3.0 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
avisynth-cvs-3.0.ebuild, line 45: Called built_with_use 'media-libs/x264-svn' 'gtk'
eutils.eclass, line 1617: Called die
!!! media-libs/x264-svn-20061014-r1 does not actually support the gtk USE flag!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
Any thoughts as to what might be up? I have 'gtk' specified in my USE flags but true to the error above, "emerge -pv x264-svn" only has the "debug" and "threads" use flags, both of which are disabled for me.
ParadoxHeart
19th December 2006, 09:36
The AviSynth ebuild checks the x264-svn ebuilld to see whether the gtk use flag is enabled, if you have the avisynth gtk use flag enabled (which controls whether or not the GUI program is built). The x264-svn in the main tree doesn't have a gtk use flag yet as I haven't yet got around to asking the package maintainers to add one.
For the purposes of testing I added an overlay x264-svn ebuild with a gtk use flag. I could ask for the overlay ebuild to be added to the AviSynth CVS but it would probably be more productive to get it in the main portage tree. Not that it is all that important right away as Gentoo's (and other distro's) GCC 4.1.1 contains a bug fix not present in the original release of GCC 4.1.1 that picks up on an error in AviSynth's code and causes the build to fail (this is why the specialization after initialisation errors that people have been getting happens). So unless you use an older GCC it won't build yet anyway. :-)
EDIT: It appears that there is now an x264-svn-encoder ebuild in portage with a gtk use flag. I shall adjust the AviSynth ebuild to use this and have it submitted to the CVS.
isolationism
19th December 2006, 17:02
Bummer. I am indeed using the latest GCC (although this is the first time doing so has been a hindrance instead of a help :) ). I haven't quite got to that stage yet, though, but no rush. Thanks for the explanation, ParadoxHeart. I'll update CVS in a day or two to look for your commit and try again (even if I can't yet go "all the way", I can at least get the dependencies wrapped up).
d'Oursse
19th December 2006, 19:10
ebuild updated
Amnon82
19th December 2006, 22:47
did someone a deb? ... I don't have the time for it atm.
isolationism
21st December 2006, 04:12
Okay, looks good. After using the new ebuild and placing the patch file in the package's files/ directory, the x264 encoder was compiled and then avisynth-cvs started compiling. It succeeded up to this point:
C: core/block/holder/ownedsplitting.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
make: *** Waiting for unfinished jobs....
C: core/block/holder/ownedstandard.cpp
!!! ERROR: media-video/avisynth-cvs-3.0 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
avisynth-cvs-3.0.ebuild, line 74: Called die
... Which is probably as far as I can get using GCC 4.1.1 (as it was noted that AviSynth doesn't compile with the latest GCC yet).
d'Oursse
21st December 2006, 07:37
yes, problem with gcc 4.1.1. Btw, we'll rewrite the Block class in a near future
d'Oursse
28th December 2006, 14:01
now, avisynth uses STLport 5.1. I've also updated the ebuild (I hope that it's correct)
isolationism
28th December 2006, 19:07
Hey d'Oursse, thanks for the update. Does STLport affect the block class mentioned above (e.g. make AVISynth compilable in GCC 4.1), or is it unrelated?
d'Oursse
28th December 2006, 19:29
not at all, it's a compiler bug, not a STLport one. But that newer version fixes a bunch of bugs in STLport and improves some stuff too. So I prefered to bump the version.
Sirber
30th December 2006, 22:36
Will the usage be the same for windows and linux?
I mean the execution, not the .avs ;)
d'Oursse
31st December 2006, 10:10
except the sources specific to the OS, yes. Even the scripts will be the same, except the sources :)
Amnon82
1st January 2007, 11:03
I'm just on installing AVS 3.0 on Debian 4.0. BJAM is installed. Here is the List
BOOST BUILD
/.
/etc
/etc/user-config.jam
/etc/site-config.jam
/usr
/usr/share
/usr/share/doc
/usr/share/doc/boost-build
/usr/share/doc/boost-build/html
/usr/share/doc/boost-build/html/jam
/usr/share/doc/boost-build/html/jam/building.html
/usr/share/doc/boost-build/html/jam/miscellaneous.html
/usr/share/doc/boost-build/html/jam/language.html
/usr/share/doc/boost-build/html/jam/usage.html
/usr/share/doc/boost-build/html/bbv2
/usr/share/doc/boost-build/html/bbv2/faq
/usr/share/doc/boost-build/html/bbv2/faq/s02.html
/usr/share/doc/boost-build/html/bbv2/faq/s04.html
/usr/share/doc/boost-build/html/bbv2/faq/s05.html
/usr/share/doc/boost-build/html/bbv2/faq/s07.html
/usr/share/doc/boost-build/html/bbv2/faq/s08.html
/usr/share/doc/boost-build/html/bbv2/faq/dll-path.html
/usr/share/doc/boost-build/html/bbv2/faq/envar.html
/usr/share/doc/boost-build/html/bbv2/faq/external.html
/usr/share/doc/boost-build/html/bbv2/faq/header-only-libraries.html
/usr/share/doc/boost-build/html/bbv2/arch
/usr/share/doc/boost-build/html/bbv2/arch/tools.html
/usr/share/doc/boost-build/html/bbv2/arch/targets.html
/usr/share/doc/boost-build/html/bbv2/arch/build.html
/usr/share/doc/boost-build/html/bbv2/advanced.html
/usr/share/doc/boost-build/html/bbv2/extender.html
/usr/share/doc/boost-build/html/bbv2/howto.html
/usr/share/doc/boost-build/html/bbv2/faq.html
/usr/share/doc/boost-build/html/bbv2/installation.html
/usr/share/doc/boost-build/html/bbv2/arch.html
/usr/share/doc/boost-build/html/bbv2/jam.html
/usr/share/doc/boost-build/html/bbv2/reference.html
/usr/share/doc/boost-build/html/bbv2/tutorial.html
/usr/share/doc/boost-build/html/bbv2/tutorial
/usr/share/doc/boost-build/html/bbv2/tutorial/conditions.html
/usr/share/doc/boost-build/html/bbv2/tutorial/libs.html
/usr/share/doc/boost-build/html/bbv2/tutorial/hierarchy.html
/usr/share/doc/boost-build/html/bbv2/tutorial/testing.html
/usr/share/doc/boost-build/html/bbv2/tutorial/prebuilt.html
/usr/share/doc/boost-build/html/bbv2/tutorial/linkage.html
/usr/share/doc/boost-build/html/bbv2/tutorial/properties.html
/usr/share/doc/boost-build/html/bbv2/extending
/usr/share/doc/boost-build/html/bbv2/extending/features.html
/usr/share/doc/boost-build/html/bbv2/extending/tools.html
/usr/share/doc/boost-build/html/bbv2/extending/toolset_modules.html
/usr/share/doc/boost-build/html/bbv2/extending/targets.html
/usr/share/doc/boost-build/html/bbv2/extending/rules.html
/usr/share/doc/boost-build/html/bbv2/reference
/usr/share/doc/boost-build/html/bbv2/reference/definitions.html
/usr/share/doc/boost-build/html/bbv2/reference/jamfiles.html
/usr/share/doc/boost-build/html/bbv2/reference/buildprocess.html
/usr/share/doc/boost-build/html/bbv2/reference/generators.html
/usr/share/doc/boost-build/html/bbv2/advanced
/usr/share/doc/boost-build/html/bbv2/advanced/projects.html
/usr/share/doc/boost-build/html/bbv2/advanced/differences_to_v1.html
/usr/share/doc/boost-build/html/bbv2/advanced/build_process.html
/usr/share/doc/boost-build/html/bbv2/advanced/targets.html
/usr/share/doc/boost-build/html/bbv2/advanced/builtins
/usr/share/doc/boost-build/html/bbv2/advanced/builtins/features.html
/usr/share/doc/boost-build/html/bbv2/advanced/builtins/targets.html
/usr/share/doc/boost-build/html/bbv2/advanced/other-rules.html
/usr/share/doc/boost-build/html/bbv2/advanced/configuration.html
/usr/share/doc/boost-build/html/bbv2/advanced/invocation.html
/usr/share/doc/boost-build/html/bbv2/recipies
/usr/share/doc/boost-build/html/bbv2/recipies/site-config.html
/usr/share/doc/boost-build/html/index.html
/usr/share/doc/boost-build/html/HTML.manifest
/usr/share/doc/boost-build/html/images
/usr/share/doc/boost-build/html/images/warning.png
/usr/share/doc/boost-build/html/images/toc-blank.png
/usr/share/doc/boost-build/html/images/blank.png
/usr/share/doc/boost-build/html/images/note.png
/usr/share/doc/boost-build/html/images/toc-plus.png
/usr/share/doc/boost-build/html/images/next_disabled.png
/usr/share/doc/boost-build/html/images/important.png
/usr/share/doc/boost-build/html/images/tip.png
/usr/share/doc/boost-build/html/images/home.png
/usr/share/doc/boost-build/html/images/toc-minus.png
/usr/share/doc/boost-build/html/images/up_disabled.png
/usr/share/doc/boost-build/html/images/prev.png
/usr/share/doc/boost-build/html/images/up.png
/usr/share/doc/boost-build/html/images/prev_disabled.png
/usr/share/doc/boost-build/html/images/next.png
/usr/share/doc/boost-build/html/images/draft.png
/usr/share/doc/boost-build/html/images/caution.png
/usr/share/doc/boost-build/html/boostbook.css
/usr/share/doc/boost-build/example
/usr/share/doc/boost-build/example/qt
/usr/share/doc/boost-build/example/qt/qt3
/usr/share/doc/boost-build/example/qt/qt3/uic
/usr/share/doc/boost-build/example/qt/qt3/uic/Jamroot
/usr/share/doc/boost-build/example/qt/qt3/uic/main.cpp
/usr/share/doc/boost-build/example/qt/qt3/uic/hello_world_widget.ui
/usr/share/doc/boost-build/example/qt/qt3/hello
/usr/share/doc/boost-build/example/qt/qt3/hello/Jamroot
/usr/share/doc/boost-build/example/qt/qt3/hello/main.cpp
/usr/share/doc/boost-build/example/qt/qt3/hello/canvas.h
/usr/share/doc/boost-build/example/qt/qt3/hello/canvas.cpp
/usr/share/doc/boost-build/example/qt/qt3/moccable-cpp
/usr/share/doc/boost-build/example/qt/qt3/moccable-cpp/Jamroot
/usr/share/doc/boost-build/example/qt/qt3/moccable-cpp/main.cpp
/usr/share/doc/boost-build/example/qt/qt4
/usr/share/doc/boost-build/example/qt/qt4/uic
/usr/share/doc/boost-build/example/qt/qt4/uic/Jamroot
/usr/share/doc/boost-build/example/qt/qt4/uic/main.cpp
/usr/share/doc/boost-build/example/qt/qt4/uic/hello_world_widget.ui
/usr/share/doc/boost-build/example/qt/qt4/hello
/usr/share/doc/boost-build/example/qt/qt4/hello/Jamroot
/usr/share/doc/boost-build/example/qt/qt4/hello/main.cpp
/usr/share/doc/boost-build/example/qt/qt4/hello/arrow.cpp
/usr/share/doc/boost-build/example/qt/qt4/hello/arrow.h
/usr/share/doc/boost-build/example/qt/qt4/moccable-cpp
/usr/share/doc/boost-build/example/qt/qt4/moccable-cpp/Jamroot
/usr/share/doc/boost-build/example/qt/qt4/moccable-cpp/main.cpp
/usr/share/doc/boost-build/example/qt/README.txt
/usr/share/doc/boost-build/example/customization
/usr/share/doc/boost-build/example/customization/class.verbatim
/usr/share/doc/boost-build/example/customization/codegen.cpp
/usr/share/doc/boost-build/example/customization/t2.verbatim
/usr/share/doc/boost-build/example/customization/Jamfile
/usr/share/doc/boost-build/example/customization/verbatim.jam
/usr/share/doc/boost-build/example/customization/inline_file.py
/usr/share/doc/boost-build/example/customization/usage.verbatim
/usr/share/doc/boost-build/example/customization/readme.txt
/usr/share/doc/boost-build/example/customization/project-root.jam
/usr/share/doc/boost-build/example/customization/t1.verbatim
/usr/share/doc/boost-build/example/python_modules
/usr/share/doc/boost-build/example/python_modules/Jamroot
/usr/share/doc/boost-build/example/python_modules/readme.txt
/usr/share/doc/boost-build/example/python_modules/python_helpers.py
/usr/share/doc/boost-build/example/python_modules/python_helpers.jam
/usr/share/doc/boost-build/example/boost-build.jam
/usr/share/doc/boost-build/example/hello
/usr/share/doc/boost-build/example/hello/Jamroot
/usr/share/doc/boost-build/example/hello/hello.cpp
/usr/share/doc/boost-build/example/libraries
/usr/share/doc/boost-build/example/libraries/app
/usr/share/doc/boost-build/example/libraries/app/Jamfile
/usr/share/doc/boost-build/example/libraries/app/app.cpp
/usr/share/doc/boost-build/example/libraries/util
/usr/share/doc/boost-build/example/libraries/util/foo
/usr/share/doc/boost-build/example/libraries/util/foo/Jamfile
/usr/share/doc/boost-build/example/libraries/util/foo/bar.cpp
/usr/share/doc/boost-build/example/libraries/util/foo/include
/usr/share/doc/boost-build/example/libraries/util/foo/include/lib1.h
/usr/share/doc/boost-build/example/libraries/Jamroot
/usr/share/doc/boost-build/example/gettext
/usr/share/doc/boost-build/example/gettext/Jamfile
/usr/share/doc/boost-build/example/gettext/main.cpp
/usr/share/doc/boost-build/example/gettext/readme.txt
/usr/share/doc/boost-build/example/gettext/project-root.jam
/usr/share/doc/boost-build/example/gettext/russian.po
/usr/share/doc/boost-build/example/variant
/usr/share/doc/boost-build/example/variant/libs
/usr/share/doc/boost-build/example/variant/libs/l.cpp
/usr/share/doc/boost-build/example/variant/libs/Jamfile
/usr/share/doc/boost-build/example/variant/a.cpp
/usr/share/doc/boost-build/example/variant/Jamfile
/usr/share/doc/boost-build/example/variant/readme.txt
/usr/share/doc/boost-build/example/variant/project-root.jam
/usr/share/doc/boost-build/copyright
/usr/share/doc/boost-build/changelog.Debian.gz
/usr/share/boost-build
/usr/share/boost-build/util
/usr/share/boost-build/util/sequence.jam
/usr/share/boost-build/util/utility.jam
/usr/share/boost-build/util/doc.jam
/usr/share/boost-build/util/set.jam
/usr/share/boost-build/util/option.jam
/usr/share/boost-build/util/assert.jam
/usr/share/boost-build/util/path.jam
/usr/share/boost-build/util/string.jam
/usr/share/boost-build/util/indirect.jam
/usr/share/boost-build/util/order.jam
/usr/share/boost-build/util/container.jam
/usr/share/boost-build/util/os.jam
/usr/share/boost-build/util/regex.jam
/usr/share/boost-build/util/numbers.jam
/usr/share/boost-build/util/print.jam
/usr/share/boost-build/boost-build.jam
/usr/share/boost-build/build
/usr/share/boost-build/build/targets.jam
/usr/share/boost-build/build/type.jam
/usr/share/boost-build/build/project.jam
/usr/share/boost-build/build/property-set.jam
/usr/share/boost-build/build/feature.jam
/usr/share/boost-build/build/version.jam
/usr/share/boost-build/build/virtual-target.jam
/usr/share/boost-build/build/scanner.jam
/usr/share/boost-build/build/modifiers.jam
/usr/share/boost-build/build/alias.jam
/usr/share/boost-build/build/property.jam
/usr/share/boost-build/build/readme.txt
/usr/share/boost-build/build/toolset.jam
/usr/share/boost-build/build/generators.jam
/usr/share/boost-build/build/build-request.jam
/usr/share/boost-build/notes
/usr/share/boost-build/notes/build_dir_option.txt
/usr/share/boost-build/notes/relative_source_paths.txt
/usr/share/boost-build/notes/README.txt
/usr/share/boost-build/tools
/usr/share/boost-build/tools/quickbook-config.jam
/usr/share/boost-build/tools/hpfortran.jam
/usr/share/boost-build/tools/testing.jam
/usr/share/boost-build/tools/xlf.jam
/usr/share/boost-build/tools/hp_cxx.jam
/usr/share/boost-build/tools/qt3.jam
/usr/share/boost-build/tools/qt4.jam
/usr/share/boost-build/tools/intel-linux.jam
/usr/share/boost-build/tools/como-win.jam
/usr/share/boost-build/tools/unix.jam
/usr/share/boost-build/tools/msvc.jam
/usr/share/boost-build/tools/dmc.jam
/usr/share/boost-build/tools/docutils.jam
/usr/share/boost-build/tools/types
/usr/share/boost-build/tools/types/cpp.jam
/usr/share/boost-build/tools/types/html.jam
/usr/share/boost-build/tools/types/lib.jam
/usr/share/boost-build/tools/types/rsp.jam
/usr/share/boost-build/tools/types/exe.jam
/usr/share/boost-build/tools/types/obj.jam
/usr/share/boost-build/tools/types/qt.jam
/usr/share/boost-build/tools/types/register.jam
/usr/share/boost-build/tools/types/asm.jam
/usr/share/boost-build/tools/package.jam
/usr/share/boost-build/tools/lex.jam
/usr/share/boost-build/tools/xsltproc.jam
/usr/share/boost-build/tools/vacpp.jam
/usr/share/boost-build/tools/gfortran.jam
/usr/share/boost-build/tools/doxygen.jam
/usr/share/boost-build/tools/notfile.jam
/usr/share/boost-build/tools/boostbook-config.jam
/usr/share/boost-build/tools/make.jam
/usr/share/boost-build/tools/midl.jam
/usr/share/boost-build/tools/gcc.jam
/usr/share/boost-build/tools/sun.jam
/usr/share/boost-build/tools/cw.jam
/usr/share/boost-build/tools/como.jam
/usr/share/boost-build/tools/fop.jam
/usr/share/boost-build/tools/cast.jam
/usr/share/boost-build/tools/python-config.jam
/usr/share/boost-build/tools/ifort.jam
/usr/share/boost-build/tools/python.jam
/usr/share/boost-build/tools/mc.jam
/usr/share/boost-build/tools/acc.jam
/usr/share/boost-build/tools/stlport.jam
/usr/share/boost-build/tools/kylix.jam
/usr/share/boost-build/tools/stage.jam
/usr/share/boost-build/tools/como-linux.jam
/usr/share/boost-build/tools/rc.jam
/usr/share/boost-build/tools/qt.jam
/usr/share/boost-build/tools/whale.jam
/usr/share/boost-build/tools/darwin.jam
/usr/share/boost-build/tools/boostbook.jam
/usr/share/boost-build/tools/msvc-config.jam
/usr/share/boost-build/tools/gettext.jam
/usr/share/boost-build/tools/intel-win.jam
/usr/share/boost-build/tools/xsltproc-config.jam
/usr/share/boost-build/tools/pch.jam
/usr/share/boost-build/tools/quickbook.jam
/usr/share/boost-build/tools/borland.jam
/usr/share/boost-build/tools/doxygen-config.jam
/usr/share/boost-build/tools/builtin.jam
/usr/share/boost-build/tools/intel.jam
/usr/share/boost-build/tools/qcc.jam
/usr/share/boost-build/tools/common.jam
/usr/share/boost-build/tools/bison.jam
/usr/share/boost-build/tools/fortran.jam
/usr/share/boost-build/tools/cw-config.jam
/usr/share/boost-build/tools/symlink.jam
/usr/share/boost-build/build-system.jam
/usr/share/boost-build/bootstrap.jam
/usr/share/boost-build/kernel
/usr/share/boost-build/kernel/boost-build.jam
/usr/share/boost-build/kernel/bootstrap.jam
/usr/share/boost-build/kernel/errors.jam
/usr/share/boost-build/kernel/class.jam
/usr/share/boost-build/kernel/modules.jam
/usr/share/boost-build/timestamp.txt
/usr/share/boost-build/user-config.jam
/usr/share/boost-build/options
/usr/share/boost-build/options/help.jam
BJAM
/.
/usr
/usr/bin
/usr/bin/bjam
/usr/share
/usr/share/doc
/usr/share/doc/bjam
/usr/share/doc/bjam/jam
/usr/share/doc/bjam/jam/building.html
/usr/share/doc/bjam/jam/miscellaneous.html
/usr/share/doc/bjam/jam/language.html
/usr/share/doc/bjam/jam/usage.html
/usr/share/doc/bjam/index.html
/usr/share/doc/bjam/copyright
/usr/share/doc/bjam/Jambase.gz
/usr/share/doc/bjam/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/bjam.1.gz
Avisynth 3.0 needs an extension of Boost that is not in the current version of Boost. Nevertheless, we have included it in our tree. Here is how to install it if Boost is installed in usr/local:
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/boost
[ctrl-D] (to return to user mode)
... so which path will it be for Debian, if I use the Deb-Packs?
http://img177.imageshack.us/img177/2424/screenshotsynapticpackajm5.th.png (http://img177.imageshack.us/my.php?image=screenshotsynapticpackajm5.png) http://img299.imageshack.us/img299/6127/screenshotsynapticpackawv8.th.png (http://img299.imageshack.us/my.php?image=screenshotsynapticpackawv8.png)
d'Oursse
1st January 2007, 11:53
I think that all the needed packages are installed (libboost-dev, and libboost-thread*)
Now, you have to check where the header files are installed. I guess that they are installed in /usr/include/boost. Then, the commands to install circular buffer are:
cd avisynth/build
tar jxvf circular_buffer_v3.7.tar.bz2
cd circular_buffer
su (give your root password)
cp -R circular_buffer* /usr/include/boost
[ctrl-D] (to return to user mode)
Amnon82
9th January 2007, 13:36
I'll try to install Gentoo 2006.1 today. Hope I get into it with the ebuild thing ;)
Sharktooth
15th January 2007, 03:50
Amnon82, try Sabayon linux. It's based on gentoo but it's MUCH easier to install and comes as a Live CD/DVD...
Amnon82
15th January 2007, 21:28
Will try it as soon as I get 6000 DSL so the download won't take so long.
danpos
22nd January 2007, 22:31
Amnon82, try Sabayon linux. It's based on gentoo but it's MUCH easier to install and comes as a Live CD/DVD...
Great tip, Sharktoot. :) I got both DVD and CD (mini-edition) and both work great (the mini-edition was installed in my daughter's machine and it's working great there - AMD Duron 1.3 GHz with 640 MB of RAM).
Regards,
alec_robertson
23rd January 2007, 01:11
Any chance of fixing the gcc-4.1 compilation error? It worked fine using gcc-4.0 until that package disappeared from debian!
d'Oursse
24th January 2007, 10:19
right now, no. The block class will be rewritten later.
can't you downgrade a package ?
alec_robertson
24th January 2007, 16:58
There are alternative apt sources (deb http://www.gallet.info.free.fr/debian/ sarge contrib main non-free) which work fine but as far as I can tell, gcc-4.0 has disappeared from all debian versions.
Is there a list of filters/commands that work with v3? I'd like to give it a spin beyond just opening a movie with GstreamerSource. Also which formats (at the moment I've only been able to open an avi/h264/mp3?)
d'Oursse
24th January 2007, 20:39
sorry, no :/ we are working on the new parser, but we don't have much free time
about the formats, all those that gstreamer can open :
containers: avi, mkv, ogm/ogg, mov, mp4, real and some wmv for the video, mp3, ogg, some wma and real,.. for the audio
codecs : everything that is supported by ffmpeg and those from the libs temselves (xvid, theora, etc...)
alec_robertson
25th January 2007, 23:36
OK, so I installed all the possible gstreamer plugins available for debian + marrillat but I can't load my quicktime/dv/twos video from dvgrab. Something about unsupported colorspace (YUY2). I've tested with two other gstreamer applications (remuxer.py and pitivi) and they can read these movies fine.
Any ideas? Here's the output:
accept /home/alecr/dvd/avs/trailer.avs
** Message: Pipeline Create
** Message: Pipeline Create
** Message: new pad video/x-raw-yuv, format=(fourcc)YUY2, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ]
** Message: new pad audio/x-raw-int, width=(int)16, depth=(int)16, endianness=(int)4321, signed=(boolean)true, rate=(int)48000, channels=(int)2
** Message: new pad video/x-raw-yuv, format=(fourcc)YUY2, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ]
** Message: new pad audio/x-raw-int, width=(int)16, depth=(int)16, endianness=(int)4321, signed=(boolean)true, rate=(int)48000, channels=(int)2
** Message: size : 720x480
** Message: frame count : 214
** Message: fps : 30000/1001
** Message: colorspace : YUY2
** Message: sample count : 342744
** Message: sample rate : 48000
** Message: channels : 2
frame count !! : 214
terminate called after throwing an instance of 'avs::exception::colorspace::Unsupported'
what(): N3avs9exception10colorspace11UnsupportedE
Aborted
The avs file contains: GstreamerSource("ut.mov",0,0). ut.mov is here: http://web.mit.edu/alecr/www/cwf/ut.mov
Inventive Software
26th January 2007, 12:17
You're missing a YUY2 codec with GStreamer then.
alec_robertson
26th January 2007, 15:15
But it plays fine in two other gstreamer based applications: pitivi and remuxer.py from the gstreamer cvs...
d'Oursse
27th January 2007, 11:53
it's only because I need to display the video in the gui. That is I need to convert an frame from the colorspace YUY2 to the colorspace RGB32
there aren't such converter in avs3 yet
damn, my todo is growing too much :/
I'll try to add one tomorrow
d'Oursse
29th January 2007, 14:02
I've written a small conversion function in C++ (no asm). It's not yet in the cvs. Also, even if the colorspace is not supported, there is now a beautiful dialog that explains what is wrong. I've not committed it yet as i'm doing a lot more tests.
I'll edit that post when everything will be in cvs (in 48 hours, I think)
edit: it was faster that I thought. I've added the YUY2->RGB32 colorspace conversion. I can see your video, now
renrutal
2nd February 2007, 16:56
Hello,
just a bit ago I was trying to build it through portage, but this came up: http://pastebin.com/873659
Actually I only came here to ask what was the last CVS revision that had no compilation errors, so I could pull that revision instead.
Thank you.
d'Oursse
2nd February 2007, 17:45
renrutal: could you please use rafb.net/paste instead of pastebin.com ?
edit: ok, pastebin was not so down, finally :) The problem is that you're trying to compile avs3 with gcc 4.1.1 or later. There'sa bug that is shown only with those compilers. Try to use an older gcc.
alec_robertson
2nd February 2007, 21:41
I'm also getting compilation errors on the latest cvs (feb-2):
../../src/bin/private.h:15: error: storage class specified for parameter ‘Avs3_Data’
../../src/bin/private.h:36: error: syntax error before ‘*’ token
...the rest is here...http://rafb.net/p/aAZwON85.html
My system: debian unstable, gcc/g++-4.0, stlport5.1, boost1.33.1, gstreamer0.10.10, x264-r622...
d'Oursse
2nd February 2007, 22:33
i would need more error messages (those before the ones you posted)
alec_robertson
2nd February 2007, 23:48
OK, my build commands are: http://rafb.net/p/xiryN379.html
Configure output is: http://rafb.net/p/qAenU381.html
Debian depends: http://rafb.net/p/eFolGN55.html
Build output: http://rafb.net/p/XhYDBa54.html
d'Oursse
2nd February 2007, 23:52
can you also paste the file platform.inc which is in build/linux, please ?
alec_robertson
3rd February 2007, 00:05
platform.inc: http://rafb.net/p/LgL7Hw34.html
d'Oursse
3rd February 2007, 00:38
i don't really know what happens. Try to put all the typedef instructions in src/bin/private.h and src/bin/provate_x264.h after the dfinition of the structs, instead of before.
alec_robertson
3rd February 2007, 05:09
Nah, no difference...
It seems to have a problem with the typedefs, as when I remove them and use "struct Avs3_Data" (and so on for a few structs and void*) it no longer barfs, but then I run into problems later on in encode.c...
d'Oursse
3rd February 2007, 08:04
../../src/bin/private.h:15: error: storage class specified for parameter ‘Avs3_Data’
can you paste private.h, please ? and also mark the line 15, please
alec_robertson
3rd February 2007, 20:14
original private.h: http://rafb.net/p/GlpIza25.html
removing the typedef avoids the compiler error: http://rafb.net/p/K1Ul2M94.html
d'Oursse
3rd February 2007, 20:29
I can't understand why the code fails for you. The code *is* correct.
Did you change compiler version during 2 builds of avs3 ? To be sure, make clean, then make
alec_robertson
3rd February 2007, 23:39
Nope, same gcc as last time. I even remove the entire directory and re-checkout from cvs between compiles... Same problem with gcc-3.4...
d'Oursse
4th February 2007, 22:45
i have no more ideas. I'll look deeper in the code for possible errors. It's difficult to fix a bug that I don't have :(
Amnon82
7th February 2007, 20:34
Sers, I'll try tomorrow to compile AVS for Paldo 1.9. Thats what I should have:
STLport 5.0.2
Boost 1.33.1
bjam 3.1.12 (utilitaire similaire a make)
Freetype 2.2.1
Fontconfig 2.3.2
liboil 0.3.10
Gstreamer 0.10.10
Gst-Plugins-Base 0.10.10
Gst-Plugins-Good 0.10.4
Gst-Plugins-Bad 0.10.3
Gst-Plugins-Ugly 0.10.4
Gst-FFmpeg 0.10.1
Nasm 0.98.39
And what we have in our distro:
GCC 4.1-20061222-1
boost 1.33.1-2
freetype 2.3.1-1
fontconfig 2.4.2-1
liboil 0.3-0.3.9-1
Gstreamer 0.10.11
Gst-Plugins-Base 0.10.11
Gst-Plugins-Good 0.10.5
Gst-Plugins-Bad 0.10.4
Gst-Plugins-Ugly 0.10.5
Gst-FFmpeg 0.10.2
nasm 0.98.39-1
Needs to be compiled:
STLport
bjam
Are there any bugs with GCC 4.1? LibOil needs to be updated, right?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.