> From: Ejner Fergo <*> > > When you compile ffmpeg, you need to enable shared libraries: > > ./configure --enable-shared > make > sudo make install
yes i already compiled ffmpeg with that parameter but still no luck here /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): In function `.L87': writeffmpeg.c:(.text+0xc7d): undefined reference to `avio_open' writeffmpeg.c:(.text+0xcb5): undefined reference to `av_dump_format' /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): In function `end_ffmpeg': writeffmpeg.c:(.text+0x1627): undefined reference to `avio_close' /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): In function `append_ffmpeg': writeffmpeg.c:(.text+0x1881): undefined reference to `avio_seek' /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(anim_movie.o): In function `IMB_anim_absolute': anim_movie.c:(.text+0x1e88): undefined reference to `av_dump_format' /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(indexer.o): In function `index_rebuild_ffmpeg.clone.3': indexer.c:(.text+0x1796): undefined reference to `avio_size' indexer.c:(.text+0x1fb4): undefined reference to `avio_open' indexer.c:(.text+0x2218): undefined reference to `avio_close' /home/interlichtspielhaus/build/linux/lib/libge_videotex.a(VideoFFmpeg.o): In function `VideoFFmpeg::openCam(char*, short)': VideoFFmpeg.cpp:(.text+0x930): undefined reference to `av_parse_video_rate' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGWriter.o): In function `AUD_FFMPEGWriter::AUD_FFMPEGWriter(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, AUD_DeviceSpecs, AUD_Container, AUD_Codec, unsigned int)': AUD_FFMPEGWriter.cpp:(.text+0xda): undefined reference to `avformat_alloc_output_context2' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGWriter.o): In function `.L36': AUD_FFMPEGWriter.cpp:(.text+0x340): undefined reference to `avio_open' AUD_FFMPEGWriter.cpp:(.text+0x35b): undefined reference to `avformat_write_header' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGWriter.o): In function `AUD_FFMPEGWriter::~AUD_FFMPEGWriter()': AUD_FFMPEGWriter.cpp:(.text+0x9ea): undefined reference to `avio_close' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGReader.o): In function `AUD_FFMPEGReader::AUD_FFMPEGReader(AUD_Reference<AUD_Buffer>)': AUD_FFMPEGReader.cpp:(.text+0xd21): undefined reference to `avio_alloc_context' AUD_FFMPEGReader.cpp:(.text+0xd5f): undefined reference to `avformat_open_input' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGReader.o): In function `AUD_FFMPEGReader::AUD_FFMPEGReader(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)': AUD_FFMPEGReader.cpp:(.text+0xf5e): undefined reference to `avformat_open_input' collect2: ld returned 1 exit status scons: *** [/home/interlichtspielhaus/build/linux/bin/blenderplayer] Error 1 /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): In function `.L87': writeffmpeg.c:(.text+0xc7d): undefined reference to `avio_open' writeffmpeg.c:(.text+0xcb5): undefined reference to `av_dump_format' /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): In function `end_ffmpeg': writeffmpeg.c:(.text+0x1627): undefined reference to `avio_close' /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): In function `append_ffmpeg': writeffmpeg.c:(.text+0x1881): undefined reference to `avio_seek' /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(anim_movie.o): In function `IMB_anim_absolute': anim_movie.c:(.text+0x1e88): undefined reference to `av_dump_format' /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(indexer.o): In function `index_rebuild_ffmpeg.clone.3': indexer.c:(.text+0x1796): undefined reference to `avio_size' indexer.c:(.text+0x1fb4): undefined reference to `avio_open' indexer.c:(.text+0x2218): undefined reference to `avio_close' /home/interlichtspielhaus/build/linux/lib/libge_videotex.a(VideoFFmpeg.o): In function `VideoFFmpeg::openCam(char*, short)': VideoFFmpeg.cpp:(.text+0x930): undefined reference to `av_parse_video_rate' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGWriter.o): In function `AUD_FFMPEGWriter::AUD_FFMPEGWriter(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, AUD_DeviceSpecs, AUD_Container, AUD_Codec, unsigned int)': AUD_FFMPEGWriter.cpp:(.text+0xda): undefined reference to `avformat_alloc_output_context2' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGWriter.o): In function `.L36': AUD_FFMPEGWriter.cpp:(.text+0x340): undefined reference to `avio_open' AUD_FFMPEGWriter.cpp:(.text+0x35b): undefined reference to `avformat_write_header' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGWriter.o): In function `AUD_FFMPEGWriter::~AUD_FFMPEGWriter()': AUD_FFMPEGWriter.cpp:(.text+0x9ea): undefined reference to `avio_close' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGReader.o): In function `AUD_FFMPEGReader::AUD_FFMPEGReader(AUD_Reference<AUD_Buffer>)': AUD_FFMPEGReader.cpp:(.text+0xd21): undefined reference to `avio_alloc_context' AUD_FFMPEGReader.cpp:(.text+0xd5f): undefined reference to `avformat_open_input' /home/interlichtspielhaus/build/linux/lib/libbf_intern_audaspace.a(AUD_FFMPEGReader.o): In function `AUD_FFMPEGReader::AUD_FFMPEGReader(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)': AUD_FFMPEGReader.cpp:(.text+0xf5e): undefined reference to `avformat_open_input' collect2: ld returned 1 exit status scons: *** [/home/interlichtspielhaus/build/linux/bin/blender] Error 1 scons: building terminated because of errors. i compiled ffmpeg version 0.8.2 , which version did you compile ? i'm on ubuntu 11.04 i also tried this deb <https://launchpad.net/~jon-severinsson/+archive/ffmpeg> , no luck .. i was considering upgrading to ubuntu oneiric 11.10 but noticed that the ffmpeg version is : ffmpeg (4:0.7.1-3ubuntu1) <http://packages.ubuntu.com/hu/oneiric/ffmpeg> , so i guess version 0.7.1 won't do the trick either .. inS > Hope that helps (it did for me). > > Best regards, > Ejner > > On Wed, Aug 31, 2011 at 2:00 AM, Jonathan Smith <j.jay...@gmail.com> wrote: >> I'm still having problems similar to yours. I followed instructions here: >> http://ubuntuforums.org/showthread.php?t=786095 on how to do it, but I still >> haven't managed to get it to work. For now I've just started compiling with >> WITH_BF_FFMPEG = False >> If anyone figures out the problem it would be great to know. >> >> Cheers, >> Jonathan >> >> On Tue, Aug 30, 2011 at 4:17 AM, INTERLICHTSPIELHAUS < >> interlichtspielh...@gmail.com> wrote: >> >>> hi >>> >>> so i compiled and installed ffmpeg 0.8.2 >>> ?, codenamed "love" :-) >>> >>> i get the following blender compilation error: >>> >>> >>> /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): >>> In function `.L87': >>> writeffmpeg.c:(.text+0xc85): undefined reference to `avio_open' >>> writeffmpeg.c:(.text+0xcbd): undefined reference to `av_dump_format' >>> >>> /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): >>> In function `end_ffmpeg': >>> writeffmpeg.c:(.text+0x1627): undefined reference to `avio_close' >>> >>> /home/interlichtspielhaus/build/linux/lib/libbf_blenkernel.a(writeffmpeg.o): >>> In function `append_ffmpeg': >>> writeffmpeg.c:(.text+0x1881): undefined reference to `avio_seek' >>> /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(anim_movie.o): >>> In function `IMB_anim_absolute': >>> anim_movie.c:(.text+0x1e88): undefined reference to `av_dump_format' >>> /home/interlichtspielhaus/build/linux/lib/libbf_imbuf.a(indexer.o): In >>> function `index_rebuild_ffmpeg.clone.3': >>> indexer.c:(.text+0x1796): undefined reference to `avio_size' >>> indexer.c:(.text+0x1fb4): undefined reference to `avio_open' >>> indexer.c:(.text+0x2218): undefined reference to `avio_close' >>> /home/interlichtspielhaus/build/linux/lib/libge_videotex.a(VideoFFmpeg.o): >>> In function `VideoFFmpeg::openCam(char*, short)': >>> VideoFFmpeg.cpp:(.text+0x930): undefined reference to `av_parse_video_rate' >>> collect2: ld returned 1 exit status >>> >>> >>> is that an error on my end ? >>> >>> thanks >>> inS >>> >>> >>> On Sun, Aug 28, 2011 at 10:54 PM, INTERLICHTSPIELHAUS >>> <interlichtspielh...@gmail.com> wrote: >>> > hi >>> > >>> > fresh checkout >>> > ?, following error: >>> > >>> > >>> > scons: *** >>> [/home/interlichtspielhaus/build/linux/intern/audaspace/ffmpeg/AUD_FFMPEGReader.o] >>> > Error 1 >>> > In file included from >>> source/blender/blenkernel/intern/writeffmpeg.c:66:0: >>> > intern/ffmpeg/ffmpeg_compat.h: In function ?av_get_pts_from_frame?: >>> > intern/ffmpeg/ffmpeg_compat.h:137:23: error: ?AVFrame? has no member >>> > named ?pkt_pts? >>> > intern/ffmpeg/ffmpeg_compat.h:140:16: error: ?AVFrame? has no member >>> > named ?pkt_dts? >>> > intern/ffmpeg/ffmpeg_compat.h:135:48: warning: unused parameter ?avctx? >>> > scons: *** >>> [/home/interlichtspielhaus/build/linux/source/blender/blenkernel/intern/writeffmpeg.o] >>> > Error 1 >>> > scons: building terminated because of errors. >>> > >>> > >>> > i have following version of ffmpeg installed: >>> > 4:0.6.2-1ubuntu1 >>> > >>> > >>> > thanks for any help >>> > inS >>> > >>> _______________________________________________ >>> Bf-committers mailing list >>> Bf-committers@blender.org >>> http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers