Code: Select all
configure: error: libavcodec versions 55 and later are not supported yet.
Code: Select all
diff --git a/configure.ac b/configure.ac
index d4e1e89..a5d2e1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2219,12 +2219,7 @@ dnl
AC_ARG_ENABLE(avcodec,
[ --enable-avcodec libavcodec codec (default enabled)])
AS_IF([test "${enable_avcodec}" != "no"], [
- PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 54.25.0 libavutil >= 51.22.0], [
- AS_IF([test "${enable_sout}" != "no"], [
- PKG_CHECK_EXISTS([libavcodec < 55],, [
- AC_MSG_ERROR([libavcodec version 55 requires --disable-sout.])
- ])
- ])
+ 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.])
])
Code: Select all
'AVCodecContext' has no member named 'dsp_mask'
Please pay attention here:
To solve this problem I did the following:
1. I removed ffmpeg 2.0.1 and installed 2.0 instead (maybe this is irrelevant to the problem)
2. As I checked for the installed packages with apt-get I found libavcodec53 and libavcodec53-extra were installed. I removed them.
3. I downloaded the binary library for libavcodec52 and extracted it. inside the usr/lib there is the .so file of the library. I copied that .so file to /usr/lib
4. Now, I again receive the same error and moreover, I cannot install libavcodec with apt-get anymore, I receive this error:
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libavcodec-extra-52' for regex 'libavcodec*'
Note, selecting 'libavcodec-extra-53' for regex 'libavcodec*'
Note, selecting 'libavcodec-dev' for regex 'libavcodec*'
Note, selecting 'libavcodec51' for regex 'libavcodec*'
Note, selecting 'libavcodec52' for regex 'libavcodec*'
Note, selecting 'libavcodec53' for regex 'libavcodec*'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libavcodec-extra-52 : Depends: libvpx0 (>= 0.9.0) but it is not installable
Depends: libx264-106 but it is not installable
libavcodec-extra-53 : Conflicts: libavcodec53 but 4:0.8.6-0ubuntu0.12.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Cheers,