[Slackbuilds-users] FFmpeg update
Christoph Willing
chris.willing at iinet.net.au
Tue Jun 2 13:31:33 UTC 2015
On 02/06/15 21:00, David Spencer wrote:
>> Any chance we could backport the ffmpeg fixes to 2.1.x?
>
> "Challenge accepted" :D
> It looked really difficult two nights ago, but I've had coffee since then...
>
There may be an easier way.
I have just compiled vlc-2.1.6 with ffmpeg-2.6.3 by modifying vlc's
configure.ac and running 'autoreconf -f' prior to runing configure etc.
The patch with the modification is attached if anyone would like to test
it. It just changes the disallowed .so version from 56 to 57 so that the
libavcodec.so.56.26.100 from ffmpeg-2.6.3 is not rejected. After the
patch & autoreconf, configuration and compilation both proceed normally
- quite a few warnings about use of deprecated functions but no errors
(also no bad noises about cairo/librsvg, libdvdread or taglib, as was
the case with vlc-2.2.1).
So far I've tested playback only on a single video but it played fine in
the VM I was testing in. I can do some more testing tomorrow morning but
I think this patch is doing the job OK.
chris
-------------- next part --------------
--- configure.ac.orig 2015-02-27 06:25:58.000000000 +1000
+++ configure.ac 2015-06-02 23:10:53.544894508 +1000
@@ -2243,8 +2243,8 @@
[ --enable-avcodec libavcodec codec (default enabled)])
AS_IF([test "${enable_avcodec}" != "no"], [
PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 53.34.0 libavutil >= 51.22.0], [
- PKG_CHECK_EXISTS([libavcodec < 56],, [
- AC_MSG_ERROR([libavcodec versions 56 and later are not supported yet.])
+ PKG_CHECK_EXISTS([libavcodec < 57],, [
+ AC_MSG_ERROR([libavcodec versions 57 and later are not supported yet.])
])
VLC_SAVE_FLAGS
CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
More information about the SlackBuilds-users
mailing list