20.01.2024, 17:58
Oh I can't believe I be so dumb. Of course. I've been having a lot of trouble with setting $ LD_LIBRARY_PATH="/home/vsimon/opt/vapoursynth/lib" globally - it breaks tons of things, notably mpv (oddly, because as far as I can see, the libavcodec in vapoursynth and /usr/lib are the same). So I had added /usr/lib:..., partially masking vapoursynth.
So yes that's a great help, thanks, at least now I get the environment set ok. However I still have a problem - no lsmas component:
... so I can't load any clips .-(
Actually give me an hour before taking any time to respond. It occurs to me I might have had /usr/lib first in my path when I compiled ... I'll try a recompile
well no, it wasn't that. I had re-run config.txt so I did everything by the book. I have
So yes that's a great help, thanks, at least now I get the environment set ok. However I still have a problem - no lsmas component:
$ LD_LIBRARY_PATH="/home/vsimon/opt/vapoursynth/lib" python
Python 3.11.6 (main, Nov 14 2023, 09:36:21) [GCC 13.2.1 20230801] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vapoursynth as vs
>>> core = vs.core
>>> core
<vapoursynth._CoreProxy object at 0x00007FBBC87848E0 core=<vapoursynth.Core object at 0x00007FBBC84ECB80 core_version=R66, api_version=R4.1, num_threads=8, max_cache_size=4096, used_cache_size=0>>
>>> core.lsmas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "src/cython/vapoursynth.pyx", line 2741, in vapoursynth._CoreProxy.__getattr__
File "src/cython/vapoursynth.pyx", line 2564, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name lsmas exists. Did you mistype a plugin namespace?
... so I can't load any clips .-(
Actually give me an hour before taking any time to respond. It occurs to me I might have had /usr/lib first in my path when I compiled ... I'll try a recompile
well no, it wasn't that. I had re-run config.txt so I did everything by the book. I have
>>> dir(core)
['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattr__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', 'add_log_handler', 'api_version', 'clear_cache', 'core', 'core_version', 'create_video_frame', 'flags', 'get_video_format', 'grain', 'log_message', 'max_cache_size', 'num_threads', 'plugins', 'query_video_format', 'remove_log_handler', 'resize', 'std', 'text', 'timings', 'used_cache_size', 'version', 'version_number']