Patches item #3431254, was opened at 2011-10-31 09:10 Message generated for change (Comment added) made by genete You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757418&aid=3431254&group_id=144022
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: Postponed Priority: 5 Private: No Submitted By: Jelle van der Waa (jelly1) Assigned to: Genete (genete) Summary: FFMPEG 0.8 API Changes Initial Comment: In ffmpeg 0.8 some types changed its name. Here is a patch that fixed build issues on archlinux. I based the patch on git, so it should be fine. ---------------------------------------------------------------------- Comment By: Genete (genete) Date: 2011-11-14 12:25 Message: What I mean is that if I DON'T apply the patch I CAN build with configure --with-libavcodec="yes". If I apply the patch I CAN'T build ad those messages are shown. It is because my libavcodec version is lower than 0.8 (in particular 4:0.5.1-1ubuntu1.2). The libavcodec schema for Ubuntu is this: http://packages.ubuntu.com/search?keywords=libavcodec&searchon=names&suite=all§ion=all so as you can see, 0.8 won't be available until some time. Patch looks fine and sure will be included when the 0.8 version is adopted. Alternatively you can improve the patch by detecting the library at compile time and then using compiler directives to make the code different for each libavcodec version. That way the patch can be applied before the version 0.8 of libavcodec is more popular. ---------------------------------------------------------------------- Comment By: Jelle van der Waa (jelly1) Date: 2011-11-14 03:28 Message: How did you apply the patch? Since the patch fixes all these problems. ---------------------------------------------------------------------- Comment By: Genete (genete) Date: 2011-11-11 11:59 Message: When enable libavcodec can't build on Ubuntu 10.04 configure --with-libavcodec="yes" and the patch applied gives: trgt_av.cpp: In member function 'bool VideoEncoder::write_frame(AVFormatContext*, AVStream*, AVFrame*)': trgt_av.cpp:444: error: 'AV_PKT_FLAG_KEY' was not declared in this scope trgt_av.cpp:466: error: 'AV_PKT_FLAG_KEY' was not declared in this scope trgt_av.cpp: In member function 'bool Target_LibAVCodec::LibAVEncoder::Initialize(const char*, const char*)': trgt_av.cpp:570: error: 'av_guess_format' was not declared in this scope trgt_av.cpp:574: error: 'av_guess_format' was not declared in this scope trgt_av.cpp:580: error: 'av_guess_format' was not declared in this scope trgt_av.cpp: In member function 'AVStream* Target_LibAVCodec::LibAVEncoder::add_video_stream(int, const VideoInfo&)': trgt_av.cpp:756: error: 'AVMEDIA_TYPE_VIDEO' was not declared in this scope trgt_av.cpp: In member function 'AVStream* Target_LibAVCodec::LibAVEncoder::add_audio_stream(int, const AudioInfo&)': trgt_av.cpp:803: error: 'AVMEDIA_TYPE_AUDIO' was not declared in this scope make[3]: *** [libmod_libavcodec_la-trgt_av.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/libmod_libavcodec_la-main.Tpo .deps/libmod_libavcodec_la-main.Plo make[3]: Leaving directory `/home/carlos/Software/Synfig1/synfig/synfig-core/src/modules/mod_libavcodec' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/carlos/Software/Synfig1/synfig/synfig-core/src/modules' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/carlos/Software/Synfig1/synfig/synfig-core/src' make: *** [install-recursive] Error 1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757418&aid=3431254&group_id=144022 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
