Article 5G0N0 Blender and ffmpeg4

Blender and ffmpeg4

by
timsoft
from LinuxQuestions.org on (#5G0N0)
Has anyone had success building Blender (sbo slackbuild) with ffmpeg4 instead of ffmpeg3?

It is the only slackbuild I use which so far is refusing to play ball. All the others (qt5, audacity, vlc,kicad, shotcut, obs-studio) seem to be okay with ffmpeg4.

for me it gets as far as....
Quote:
[ 6%] Building C object source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_scene.c.o
In file included from /tmp/SBo/blender-2.83.8/source/blender/makesrna/intern/rna_scene.c:64:0:
/tmp/SBo/blender-2.83.8/intern/ffmpeg/ffmpeg_compat.h:23:34: fatal error: libavformat/avformat.h: No such file or directory
compilation terminated.
source/blender/makesrna/intern/CMakeFiles/makesrna.dir/build.make:1238: recipe for target 'source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_scene.c.o' failed
make[2]: *** [source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_scene.c.o] Error 1
CMakeFiles/Makefile2:6976: recipe for target 'source/blender/makesrna/intern/CMakeFiles/makesrna.dir/all' failed
make[1]: *** [source/blender/makesrna/intern/CMakeFiles/makesrna.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
and in my environment i have
Code:PKG_CONFIG_PATH=/usr/lib64/ffmpeg4/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfiglatest?d=yIl2AUoC8zA latest?i=t5XS_omKiEQ:1I_HIya8C3s:F7zBnMy latest?i=t5XS_omKiEQ:1I_HIya8C3s:V_sGLiP latest?d=qj6IDK7rITs latest?i=t5XS_omKiEQ:1I_HIya8C3s:gIN9vFwt5XS_omKiEQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments