pyh264decode
pyh264decode copied to clipboard
import error : avpriv_vga16_font
Hi,
when importing h264decode, I run into the following issue: h264decode.so : undefined symbol avpriv_vga16_font
Do you know how to fix this? I have tested with ffmpeg 2.4, 2.3.6 and the newest version as well. Running python 2.7 on raspbian.
That's quite interesting, since avpriv_vga16_font
is part of avutil, but never referenced by me.
I pushed a small change, that now explicitly links against libavutil.
Can you recompile and check with ldd build/lib.*/h264decode.so | grep avutil
whether it is now properly found?
Also: Did you install libavutil-dev
, or however the package is called on raspbian?
Thanks for the quick reply !
I've installed the new version, libavutil-dev and libx264-dev, however now I get the error :
File "testh264.py", line 1, in
I've also tried compiling x264 from source and installing it.
Any thoughts?
Check agin which version of avcodec is currently linked by running ldd build/lib.*/h264decode.so
and furthermore check wether this is using x264 and some point (also by ldd
).
It seems to me you've got quite a zoo of libraries now on your system. Since I'm not referring to x264_bit_depth anywhere in my module, your number of conflicting versions of ffmpeg/x264 and so forth may be the issue here.