Dan, I've been working on a script to compile MLT against all the various ffmpeg and libav branches. More on that later. But in the process, I have found that MLT does not work with two branches: 0.9 and 0.10. Here are the details:
consumer_avformat.c: We added a conditional to check the for the "encode2" member of avcodec to make sure we detected x264. We chose to check for avcodec version 53.34.0 because that is when the encode2 field was added to libav. The problem is that libav and ffmpeg were not consistent with the libavcodec version when they released it. ffmpeg first released it in 0.10 with avcodec 53.60.100 while libav released it with 0.8 at 53.35.0. ffmpeg 0.9 was released without encode2 at 53.42.0 - which breaks because we look for encode2 and it isn't there. So... I recommend that we just switch to checking for 54.0.0 because that is when they both started actually using it. producer_avformat.c: We check for libavutil 51.35.0 before usingPIX_FMT_YUVA444P. But ffmpeg 0.10 released at 51.35.100 without PIX_FMT_YUVA444P - and so it breaks. So we need to check for 51.35.101 which is the avutil version when it was added. Here is a commit that fixes both: https://github.com/pez4brian/mlt/commit/0967c0dc30a4e91d26ef72c0d5cd2c69dda8613b With this patch, I'm pretty sure MLT compiles against all ffmpeg branches. ~Brian ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
