Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
8th October 2005, 21:31 | #141 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
[sl1pkn07@SpinFlo avisynth3_20051005]$ ./avisynth_test
accept /home/sl1pkn07/Desktop/arkanonVSag_jones.avi (fail) terminate called after throwing an instance of 'avs::exception::Generic' what(): no matching sample type Abortado [sl1pkn07@SpinFlo avisynth3_20051005]$ ./avisynth_test accept /mnt/hdf1/demux/Ranma/Ep005.ogm (open ok) notify video set videoinfo set frame count we seek... on associe le buffer 373248 422400 Timestamp : 5,589s seek done 1 2 3 4 5 6 accept /mnt/hdb1/[AstRG]Animatrix Dual_completa/[AstRG]Animatrix.DVD-RIP.DUAL.ogm (fail) terminate called after throwing an instance of 'avs::exception::NoVideo' what(): Clip has no video Abortado [sl1pkn07@SpinFlo avisynth3_20051005]$ ./avisynth_test accept /mnt/sata-a1/Heroina.[Spanish-DVDRip].[XviD-Mp3].by.SDG.avi (fail) notify video set videoinfo terminate called after throwing an instance of 'avs::exception::Generic' what(): no matching sample type Abortado [sl1pkn07@SpinFlo avisynth3_20051005]$ ./avisynth_test accept /mnt/hda1/[AHN]Elfen Lied Dual/[AHN][VE]_Elfen_Lied_01v2.mkv (fail) notify video set videoinfo set frame count we seek... on associe le buffer 418176 422400 Timestamp : 134,676s seek done (avisynth_test:12101): GStreamer-CRITICAL **: gst_data_ref: assertion `GST_DATA_REFCOUNT_VALUE (data) > 0' failed Violación de segmento (Segment Fault) [sl1pkn07@SpinFlo avisynth3_20051005]$ ./avisynth_test accept /mnt/hda1/[A-N]StepSister_completa/[A-N] StepSister - 01_Spanish sub.avi (fail) notify video set videoinfo terminate called after throwing an instance of 'avs::exception::Generic' what(): no matching sample type Abortado [sl1pkn07@SpinFlo avisynth3_20051005]$ ./avisynth_test accept /mnt/hdf1/demux/[VE~AT] Ranma Nibun no Ichi Ep_017.ogm (fail) terminate called after throwing an instance of 'avs::exception::NoVideo' what(): Clip has no video Abortado [sl1pkn07@SpinFlo avisynth3_20051005]$ ./avisynth_test accept /mnt/hdf1/demux/Ranma/Ep006.ogm (fail) terminate called after throwing an instance of 'avs::exception::NoVideo' what(): Clip has no video Abortado [sl1pkn07@SpinFlo avisynth3_20051005]$ OGM,AVI,MKV and MP4 fail (probe 20 videos, works only one :S) |
8th October 2005, 23:28 | #142 | Link |
Registered User
Join Date: Sep 2002
Location: France
Posts: 432
|
Tested on Debian unstable. Had to remove the gstreamer .so because they conflicted with system settings. Removed boost_thread because system's one was OK. Use of stlport 5 didn't match the system one so I kept your shared objects.
My findings: no file loaded+info => crash => not idiot-proof wmv/mkv bail out with the usual message about framecount having to be positive AVI without audio seems to work (frame accurate seeking) AVI with audio bails out with 'no matching sample type' mp4 A/V hangs mp4 audio 'no matching sample type' vob opens OK ac3 reports no video (duh) ts dies with "/usr/lib/gstreamer-0.8/libgstffmpeg.so: undefined symbol: mpegts_crc32" Probably a bad mixing of cvs/distrib so versions All of the above, except mp4, play well in totem, including ts and mkv. It's taking shape! And already, DVD files can be opened with your tool. Good job, and good luck. |
9th October 2005, 00:21 | #143 | Link |
Mushroomeur
Join Date: Jun 2003
Location: Mushrooms of Paris Town
Posts: 267
|
ouch, there are a lot of non working files.
I would like to mention that gst-ffmpeg is needed, because divx/xvid files are not handled correctly with only their decoder that are in gst-plugins. Maybe other decoders have also problems without gst-ffmpeg I would like to have an mkv file that fails with the app. All those I have (2 mkv) work, so it's difficult to know how debugging that problem. I've not tested with audio streams only. thank you for your reports Last edited by d'Oursse; 9th October 2005 at 00:30. |
8th November 2005, 22:41 | #144 | Link |
Clouded
Join Date: Jul 2003
Location: Cambridge, UK
Posts: 1,148
|
Bidoche and other developers:
If it is not too early to ask this question, could you give us some advice on what plug-in authors should do in order to make the rewriting for 3.0 as smooth as possible?
__________________
a.k.a. Clouded. Come and help by making sure your favourite AVISynth filters and scripts are listed. |
9th November 2005, 19:37 | #146 | Link | |
Clouded
Join Date: Jul 2003
Location: Cambridge, UK
Posts: 1,148
|
Thank you for the reply.
Quote:
__________________
a.k.a. Clouded. Come and help by making sure your favourite AVISynth filters and scripts are listed. |
|
10th November 2005, 18:21 | #147 | Link |
Mushroomeur
Join Date: Jun 2003
Location: Mushrooms of Paris Town
Posts: 267
|
mg262: i want to write some doc about writing plugins and to write a script that creates a "template" (not c++ template) to make plugins writing easier. But right now, I'm busy with the C interface
|
11th November 2005, 17:11 | #148 | Link |
Mushroomeur
Join Date: Jun 2003
Location: Mushrooms of Paris Town
Posts: 267
|
here are some improvements:
1) the current parser is broken, but there is one case where it works (you have to put an expression only in the script). One has to wait for the new Bidoche's parser 2) I have made a C interface. It's not complete yet, but sufficient for the point 3) 3) I have added to x264 an avs3 input. It works Last edited by d'Oursse; 11th November 2005 at 21:54. |
12th November 2005, 01:53 | #149 | Link | |
Professional Lemming
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
|
Quote:
Just in time for my port of ELDER4X264 to linux :P bis besser, T0B1A5
__________________
projects page: ELDER, SmoothD, etc. |
|
12th November 2005, 11:56 | #150 | Link |
Registered User
Join Date: Sep 2002
Posts: 125
|
Is it necessary to add a avs3 Interface to all Encoders/Players/Tools one want to use with avs3 with non-Windows?
Is avs3 intended for use under Windows? Is an avi Export feature (like in avs2) for Windows possible? I think it is one of the biggest strengths of avs2 to work with many Tools out of the box. Thank you for your efforts, I think I will like working with Avisynth under Linux :-) |
12th November 2005, 17:07 | #151 | Link |
Avisynth 3.0 Developer
Join Date: Jan 2002
Location: France
Posts: 639
|
avs3 exposes scripts as VFW objects the same way avs2 does (under Windows).
Programes using it through VFW won't notice the change. Those like VdubMod who directly use some avs features will need to be adapted. Under Linux, avs3 links with gstreamer. As for plugins, thx to Richard Berg's request, I finally came up with something I hope satisfactory (feedback welcome) Code:
class Linker { virtual char * GetName() const = 0; virtual PPlugin Link(LibraryHandle const& handle) const = 0; }; class Plugin { //combination of those two = plugin identity virtual char * GetName() const = 0; virtual char * GetVersionLabel() const = 0; virtual char * GetDescription() const = 0; virtual char * GetFunctionDef() const = 0; virtual bool CanUnloadNow() const = 0; virtual VMFunction GetFunction(std::string const& logicalFunctionName) const = 0; }; If it cannot be found, the linking will be passed to the Linker named "legacy' if it is known (ie the definition of the LegacyLinker will be left to a plugin I think). If it is found, it called to get the name of the linker to use to link the plugin. Each linker then defines the interface it expects. For the NativeLinker, provided by the avs3 core and named "native" : all the methods from Plugin as exports with same prototype + void PluginInit(AvisynthServer& server, PPlugin& self) //this is called after the NativeLinker created the PPlugin object, but before any function calls //The point of passing PPlugin is allowing to declare Linker and ColorSpace to the server and have them keep the plugin alive |
14th November 2005, 14:04 | #152 | Link | |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
Quote:
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|
23rd November 2005, 15:49 | #153 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
Code:
C: core/blitter/memcopy.cpp ../../src/core/blitter/memcopy.cpp: In member function ‘virtual void avs::blitter::MemCopy::Blit(const avs::BYTE*&, int, avs::BYTE*&, int, const avs::Dimension&) const’: ../../src/core/blitter/memcopy.cpp:34: error: invalid use of undefined type ‘const struct avs::dimension<long int>’ ../../src/core/blitter/../forward.h:61: error: declaration of ‘const struct avs::dimension<long int>’ ../../src/core/blitter/memcopy.cpp:36: error: invalid use of undefined type ‘const struct avs::dimension<long int>’ ../../src/core/blitter/../forward.h:61: error: declaration of ‘const struct avs::dimension<long int>’ ../../src/core/blitter/memcopy.cpp:37: error: invalid use of undefined type ‘const struct avs::dimension<long int>’ ../../src/core/blitter/../forward.h:61: error: declaration of ‘const struct avs::dimension<long int>’ ../../src/core/blitter/memcopy.cpp:37: error: ‘memcpy’ no se declaró en este ámbito make: *** [core/blitter/memcopy.o] Error 1 [sl1pkn07@SpinFlo linux]$ STLport 5 CVS GStreamer 0.8.11 (rpm) Boost 1.33 (rpm) Circular-buffer 3.7 Freetype 2.1.9 (rpm) not recognized in Configure Code:
[sl1pkn07@SpinFlo linux]$ ./configure --enable-stlport5 --with-stl-path=/usr --with-boost-path=/usr --with-ffmpeg-path=/usr --with-freetype-config=/usr/bin/freetype-config ..... checking for /usr/bin/freetype-config... no ERROR: The freetype-config development script you specified: /usr/bin/freetype-config was not found. Please check the path and make sure the script exists and is executable. configure: error: Fatal Error: no freetype-config detected. [sl1pkn07@SpinFlo linux]$ ls /usr/bin/freetype* /usr/bin/freetype-config [sl1pkn07@SpinFlo linux]$ Code:
C: text/freetype/library.cpp ../../src/text/freetype/library.cpp: In constructor ‘avs::text::freetype::Library::Library()’: ../../src/text/freetype/library.cpp:41: aviso: variable ‘error’ sin uso ../../src/text/freetype/library.cpp: In destructor ‘avs::text::freetype::Library::~Library()’: ../../src/text/freetype/library.cpp:49: aviso: variable ‘error’ sin uso C: text/freetype/outline.cpp ../../src/text/freetype/outline.cpp: In destructor ‘avs::text::freetype::Outline::~Outline()’: ../../src/text/freetype/outline.cpp:52: aviso: variable ‘error’ sin uso ............ C: filters/levels/coloryuv/analyze.cpp ../../src/filters/levels/coloryuv/analyze.cpp: In member function ‘virtual avs::CPVideoFrame avs::filters::coloryuv::Analyze::MakeFrame(const avs::PVideoFrame&) const’: ../../src/filters/levels/coloryuv/analyze.cpp:51: aviso: variable ‘yLooseLimit’ sin uso ../../src/filters/levels/coloryuv/analyze.cpp:52: aviso: variable ‘uLooseLimit’ sin uso ../../src/filters/levels/coloryuv/analyze.cpp:53: aviso: variable ‘vLooseLimit’ sin uso .............. C: freetype/face.cpp ../../src/freetype/face.cpp: In member function ‘avs::Vecteur avs::freetype::Face::GetKerning(unsigned int, unsigned int) const’: ../../src/freetype/face.cpp:67: aviso: variable ‘error’ sin uso ../../src/freetype/face.cpp: In member function ‘void avs::freetype::Face::SetCharSize(const avs::Dimension&, const avs::Dimension&)’: ../../src/freetype/face.cpp:77: aviso: variable ‘error’ sin uso C: freetype/glyph.cpp C: freetype/library.cpp ../../src/freetype/library.cpp: In constructor ‘avs::freetype::Library::Library()’: ../../src/freetype/library.cpp:40: aviso: variable ‘error’ sin uso ../../src/freetype/library.cpp: In destructor ‘avs::freetype::Library::~Library()’: ../../src/freetype/library.cpp:48: aviso: variable ‘error’ sin uso ............ C: avisynth_c/clip_c.cpp ../../src/avisynth_c/clip_c.cpp:60: aviso: se definió ‘stlp_std::string get_script(char*)’ pero no se usa C: gstreamer/structure.cpp ../../src/gstreamer/structure.cpp: In member function ‘int avs::gstreamer::Structure::GetIntField(const char*) const’: ../../src/gstreamer/structure.cpp:44: aviso: variable ‘success’ sin uso ../../src/gstreamer/structure.cpp: In member function ‘bool avs::gstreamer::Structure::GetBoolField(const char*) const’: ../../src/gstreamer/structure.cpp:55: aviso: variable ‘success’ sin uso ../../src/gstreamer/structure.cpp: In member function ‘double avs::gstreamer::Structure::GetDoubleField(const char*) const’: ../../src/gstreamer/structure.cpp:66: aviso: variable ‘success’ sin uso ../../src/gstreamer/structure.cpp: In member function ‘long unsigned int avs::gstreamer::Structure::GetFourCCField(const char*) const’: ../../src/gstreamer/structure.cpp:77: aviso: variable ‘success’ sin uso C: gstreamer/signalhandler.cpp C: gstreamer/structure/audio.cpp C: gstreamer/structure/video.cpp ../../src/gstreamer/structure/video.cpp:109:9: warning: multi-character character constant ../../src/gstreamer/structure/video.cpp:110:9: warning: multi-character character constant ../../src/gstreamer/structure/video.cpp:111:9: warning: multi-character character constant .............. C: import/avi/streamheader.cpp In file included from ../../src/import/avi/streamheader.cpp:25: ../../src/import/avi/streamheader.h:70:44: warning: multi-character character constant ../../src/import/avi/streamheader.h:71:44: warning: multi-character character constant ../../src/import/avi/streamheader.h:72:43: warning: multi-character character constant C: import/avi/chunkheader.cpp ../../src/import/avi/chunkheader.cpp: In static member function ‘static boost::optional<avs::import::avi::ChunkHeader> avs::import::avi::ChunkHeader::Locate(stlp_std::istream&, long unsigned int, long int&)’: ../../src/import/avi/chunkheader.cpp:66: aviso: comparación entre expresiones enteras signed y unsigned C: import/avi/listheader.cpp ../../src/import/avi/listheader.cpp: In static member function ‘static boost::optional<avs::import::avi::ListHeader> avs::import::avi::ListHeader::Locate(stlp_std::istream&, long unsigned int, long int&)’: ../../src/import/avi/listheader.cpp:45: aviso: comparación entre expresiones enteras signed y unsigned ............ C: parser/function/scriptfunction.cpp ../../src/parser/function/call.h: In member function ‘void avs::parser::functor::function::Call<returnVoid>::operator()(avs::parser::VMState&) const [with bool returnVoid = false]’: ../../src/parser/function/../vmoperation.h:71: instantiated from ‘void avs::parser::detail::functor_callback<void, Functor>::operator()(avs::parser::VMState&) const [with Functor = avs::parser::functor::function::Call<false>]’ ../../src/parser/function/scriptfunction.cpp:66: instantiated from here ../../src/parser/function/call.h:57: aviso: variable ‘type’ sin uso ../../src/parser/function/call.h: In member function ‘void avs::parser::functor::function::Call<returnVoid>::operator()(avs::parser::VMState&) const [with bool returnVoid = true]’: ../../src/parser/function/../vmoperation.h:71: instantiated from ‘void avs::parser::detail::functor_callback<void, Functor>::operator()(avs::parser::VMState&) const [with Functor = avs::parser::functor::function::Call<true>]’ ../../src/parser/function/scriptfunction.cpp:66: instantiated from here ../../src/parser/function/call.h:57: aviso: variable ‘type’ sin uso ............. C: core/colorspace/get.cpp ../../src/core/colorspace/concrete/../../utility/valuecache.h: In member function ‘boost::shared_ptr<T> avs::utility::value_cache<T, Synchronizer, Creator>::Get() const [with T = const avs::ColorSpace, Synchronizer = avs::utility::synchronizer::None, Creator = const avs::ColorSpace* (*)()]’: ../../src/core/colorspace/concrete/map.h:75: instantiated from here ../../src/core/colorspace/concrete/../../utility/valuecache.h:63: aviso: variable ‘synchronizer’ sin uso C: core/colorspace/concrete/map.cpp ../../src/core/colorspace/concrete/../../utility/valuecache.h: In member function ‘boost::shared_ptr<T> avs::utility::value_cache<T, Synchronizer, Creator>::Get() const [with T = const avs::ColorSpace, Synchronizer = avs::utility::synchronizer::None, Creator = const avs::ColorSpace* (*)()]’: ../../src/core/colorspace/concrete/map.h:75: instantiated from here ../../src/core/colorspace/concrete/../../utility/valuecache.h:63: aviso: variable ‘synchronizer’ sin uso .......... C: core/colorspace/concrete/yv12.cpp In file included from ../../src/core/colorspace/concrete/yv12.cpp:28: ../../src/core/colorspace/concrete/../../../export/vfw/exporter/yv12.h:40:41: warning: multi-character character constant .......... dew Last edited by sl1pkn07; 23rd November 2005 at 15:59. |
23rd November 2005, 17:37 | #154 | Link | ||
Mushroomeur
Join Date: Jun 2003
Location: Mushrooms of Paris Town
Posts: 267
|
Quote:
Quote:
note that STLport 5.0 has been released. I'll suppress the stlport 4.6.2 support in configuration. for the first problem, I don't understand how it's possible to have this error. Dimension is declared. Also, memcpy should be on your computer what is your distro ? also, I would like to say that the test program should be a bit bigger in some days. It will be possible to compress a file with x264. The gui will look a bit like virtualdub's one |
||
24th November 2005, 12:13 | #156 | Link | ||
Registered User
Join Date: Oct 2001
Location: france
Posts: 521
|
Quote:
Probably because the vfr does not bring much in term of video treatment, of course, it is useful when you want to storage video stream using different framerates, but in this case, it is not really a variable framerate, but just a video having segments of different but fixed framerate, I think mkv support that already. Since the avi container does not support vfr, I don't personnaly expect avisynth (any version) to support it. Now you can still simulate it with external timestamp files or maybe with an application asking the timestamp/framerate for each frame, supposing the container used can support it and supposing the corresponding interface is implemented. esby
__________________
http://esby.free.fr/ |
||
19th December 2005, 23:52 | #157 | Link |
Mushroomeur
Join Date: Jun 2003
Location: Mushrooms of Paris Town
Posts: 267
|
@sl1pkn07: the errors in memcopy.cpp are fixed in cvs.
it has just compiled fine on my distro (ubuntu hoary with g++ 4.0). tell me if there are others errors for you. Ignore the warnings. other changes: * STLport 4.6.2 support is removed. Only STLport 5.0 is supported now. Follow the instructions for the installation of STLport 5.0 in the docs/html directory * ffmpeg support is removed. Only gstreamer (0.8.11) is used. When gstreamer 0.10 is usuable, i'll add support for it. It's supposed to be better than gstreamer 0.8, but it has a BIG problem with seeking, so that it's completely useless with avs3 right now. when i finish the gtk widget for the configuration of the x264 (and when it is accepted by Lauren), i'll commit an upgraded test program, which will be able to compress with x264 and put the video in a mkv. Right now, the one on my hd works |
20th December 2005, 02:52 | #158 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
hi.
http://sl1pkn07.no-ip.com/Downloads/avisynth-error.log :S Fedora Core 4 STLport 5.0.0 (compile) Boost 1.33 (RPM) Freetype 2.1.9 (RPM) GStreamer 0.8.11 (RPM) GStreamer-ffmpeg 0.8.7 (RPM) GStreamer-plugins 0.8.11 (RPM) Boost-Jam 3.1.11 (RPM) GCC & G++ 4.0.2 (RPM) GTK2 2.8.7 (RPM) saludos PD: revise "Installation d'Avisynth 3.0" steps in http://www.unite-video.com/phpbb/vie...c21f0b0d#68206 |
20th December 2005, 11:29 | #159 | Link |
Mushroomeur
Join Date: Jun 2003
Location: Mushrooms of Paris Town
Posts: 267
|
i've also that when I use ifstream with stlport 5.0. I've fixed that by using C code. It's not a good solution, but the test program should compile, now.
What are the problems with the installation steps on Unite Video ? edit: don't forget to set LD_LIBRARY_PATH to the correct directories if a shared library is not found Last edited by d'Oursse; 20th December 2005 at 11:49. |
21st December 2005, 13:33 | #160 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
you can put the steps to do it?
------------------------------ cd avisynth/build tar jxvf circular_buffer_v3.7.tar.bz2 cd circular_buffer su (tapez votre mot de passe root) cp -R boost /usr/local/include/boost-1_33/ -> cp -R * /usr/local/include/boost-1_33/ [ctrl-D] (pour revenir un mode utillisateur) cd ../linux ./booststrap.sh -> ./boostrap.sh (chmod +x) ./configure |
|
|