Package Details: ffmpeg-compat-54 1.2.12-3

Git Clone URL: https://aur.archlinux.org/ffmpeg-compat-54.git (read-only, click to copy)
Package Base: ffmpeg-compat-54
Description: Compatibility package for ffmpeg to provide versions 54 of libavcodec, libavdevice and libavformat, not anymore provided by the ffmpeg package
Upstream URL: http://ffmpeg.org/
Licenses: GPL
Provides: libavcodec.so, libavdevice.so, libavformat.so
Submitter: Muflone
Maintainer: Muflone
Last Packager: Muflone
Votes: 88
Popularity: 0.001090
First Submitted: 2014-10-04 21:43 (UTC)
Last Updated: 2018-08-25 22:32 (UTC)

Required by (65)

Sources (7)

Latest Comments

Alkaris commented on 2021-04-11 14:56 (UTC) (edited on 2021-04-11 14:56 (UTC) by Alkaris)

Package fails to install because it's missing validity checks on patch files.

  -> Found fix_compilation_with_x264_ge_153_4.patch
==> Validating source files with sha256sums...
    ffmpeg-1.2.12.tar.bz2 ... Passed
    ffmpeg-1.2.12.tar.bz2.asc ... Skipped
    libvpx_VP8E_UPD_ENTROPY.patch ... Passed
    fix_compilation_with_x264_ge_153_1.patch ... FAILED
    fix_compilation_with_x264_ge_153_2.patch ... FAILED
    fix_compilation_with_x264_ge_153_3.patch ... FAILED
    fix_compilation_with_x264_ge_153_4.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
Failed to build ffmpeg-compat-54

are the hashes correct and up-to-date?

leonardopn commented on 2018-12-07 17:41 (UTC)

Uma coisa que funcionou para mim foi alterar todos os "http" por "https" dentro nos arquivos de compilação usando o pamac

alexkubica commented on 2018-09-09 11:18 (UTC)

I can't seem to reach http://ffmpeg.org/, is there an alternative for the source files?

xuiqzy commented on 2018-09-05 07:41 (UTC)

please change source url to TLS encrypted https variant, tested and works fine! thanks in advance :)

EPENEX commented on 2018-08-26 02:36 (UTC)

The new build works for me.

Muflone commented on 2018-08-25 22:30 (UTC)

@arakmar thank you for your patch but I was unable to properly build with that patch in a clean chroot.

I had to apply several patches to properly build it.

Please let me know if there are build issues.

Brofjst commented on 2018-08-25 16:46 (UTC) (edited on 2018-08-25 16:47 (UTC) by Brofjst)

@arakmar fix works perfectly. For newbies: run makepkg, open the ffmpeg-1.2.12.tar.bz2, inside it open libavcodec/libx264.c.

Edit the file following @arakmar instruction: + means "add code"; - means "remove code"; @ means "at the following function".

Save the file inside the archive.

makepkg --skipinteg

0003c9fe commented on 2018-08-25 14:14 (UTC)

How do I go about using @arakmar s fix?

Ivru commented on 2018-08-20 12:44 (UTC)

Thanks @arakmar, confirm the patch works for spotify.

journcy commented on 2018-08-20 03:23 (UTC)

@arakmar's fix works for me.

arakmar commented on 2018-08-19 09:30 (UTC) (edited on 2018-08-19 09:34 (UTC) by arakmar)

Hi,

I created a patch to fix the build : https://github.com/Arakmar/FFmpeg/commit/71a2f2283805524bc11fe290f25b8147841c3f9e.patch

It's based off http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2a111c99a60fdf4fe5eea2b073901630190c6c93 with some minor changes.

I didn't test with an h264 video but it works at least on Spotify to play local music files.

Skycoder42 commented on 2018-08-18 12:02 (UTC) (edited on 2018-08-18 12:04 (UTC) by Skycoder42)

Same error for me as for @mokkurkalve. Here is the error message formatted to be easier to read. Seems to be caused by the update of x264

libavcodec/libx264.c: In function »X264_frame«:
libavcodec/libx264.c:162:9: error: »x264_bit_depth« undeclared (first use in this function); did you mean ‘x264_picture_t’?
     if (x264_bit_depth > 8)
         ^~~~~~~~~~~~~~
         x264_picture_t
libavcodec/libx264.c:162:9: note: each undeclared identifier is reported only once for each function it appears in

 ...

libavcodec/libx264.c: In function »X264_init_static«:
libavcodec/libx264.c:612:9: error: »x264_bit_depth« undeclared (first use in this function); did you mean ‘x264_picture_t’?
     if (x264_bit_depth == 8)
         ^~~~~~~~~~~~~~
         x264_picture_t

Note: this is propably also the reason why spotify can't load the previously built library anymore.

mokkurkalve commented on 2018-08-16 08:55 (UTC)

Build fails thus:

libavcodec/libx264.c: In function ‘X264_frame’: libavcodec/libx264.c:162:9: error: ‘x264_bit_depth’ undeclared (first use in this function); did you mean ‘x264_picture_t’? if (x264_bit_depth > 8) ^~~~~~~~~~~~~~ x264_picture_t libavcodec/libx264.c:162:9: note: each undeclared identifier is reported only once for each function it appears in libavcodec/libx264.c: In function ‘X264_init’: libavcodec/libx264.c:522:32: warning: the address of ‘val’ will always evaluate as ‘true’ [-Waddress] OPT_STR(param, val); ^~~ libavcodec/libx264.c:240:13: note: in definition of macro ‘OPT_STR’ if (param && (ret = x264_param_parse(&x4->params, opt, param)) < 0) { \ ^~~~~ libavcodec/libx264.c: In function ‘X264_init_static’: libavcodec/libx264.c:612:9: error: ‘x264_bit_depth’ undeclared (first use in this function); did you mean ‘x264_picture_t’? if (x264_bit_depth == 8) ^~~~~~~~~~~~~~ x264_picture_t make: [common.mak:48: libavcodec/libx264.o] Error 1 make: Waiting for unfinished jobs....

tbutcaru commented on 2018-02-28 21:23 (UTC)

Having the same issue with the checksums. Importing the key with the following command worked for me: gpg --search-keys B4322F04D67658D8

cc @pirinto

pirinto commented on 2017-06-13 20:44 (UTC)

@muflone I tried deleting the files and redownload but i still got the same issue. In the end I put a 'SKIP' instead on the actual checksum on the PKGBUILD. It worked right after. Not the most secure thing to do but it worked. Thank you for the response anyway muflone.

Muflone commented on 2017-05-21 16:41 (UTC) (edited on 2017-05-21 16:44 (UTC) by Muflone)

@pirinto I've just checked again the sources and the checksum for the file libvpx_VP8E_UPD_ENTROPY.patch matches. I suppose your download was corrupt or partial, you should delete the files and download them again.

pirinto commented on 2017-05-20 10:50 (UTC)

@Muflone First of all, thanks for making this package available. I'm having an issue on the validity check of the patch file libvpx_VP8E_UPD_ENTROPY.patch Any ideas on how to get it working? Thanks My output is as the others: ==> Building and installing package ==> Making package: ffmpeg-compat-54 1.2.12-2 (Sat May 20 12:44:09 CEST 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading ffmpeg-1.2.12.tar.bz2... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5834k 100 5834k 0 0 9154k 0 --:--:-- --:--:-- --:--:-- 9144k -> Downloading ffmpeg-1.2.12.tar.bz2.asc... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 473 100 473 0 0 3980 0 --:--:-- --:--:-- --:--:-- 4008 -> Found libvpx_VP8E_UPD_ENTROPY.patch ==> Validating source files with sha256sums... ffmpeg-1.2.12.tar.bz2 ... Passed ffmpeg-1.2.12.tar.bz2.asc ... Skipped libvpx_VP8E_UPD_ENTROPY.patch ... FAILED ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build ffmpeg-compat-54. ==> Restart building ffmpeg-compat-54 ? [y/N]

Muflone commented on 2017-04-09 11:50 (UTC)

@4javier fixed shasum, thank you for reporting.

4javier commented on 2017-04-09 10:24 (UTC)

@Muflone, you should update the shasum for the patch file. This works 1e4a01ed62db525607f9d0c708ef7889474222f9ae31aac057c5bb67edf7e38f

carlzoo commented on 2017-04-09 06:29 (UTC)

I'm getting an error with the sha256sum for the patch: :: Proceed with installation? [Y/n] y :: Retrieving package(s)... :: ffmpeg-compat-54 build files are up-to-date -- skipping :: libavutil-52 build files are up-to-date -- skipping :: Checking libavutil-52 integrity... ==> Making package: libavutil-52 2.3.6-3 (Sun Apr 9 02:19:47 EDT 2017) ==> Retrieving sources... -> Found ffmpeg-2.3.6.tar.bz2 -> Found ffmpeg-2.3.6.tar.bz2.asc ==> Validating source files with sha256sums... ffmpeg-2.3.6.tar.bz2 ... Passed ffmpeg-2.3.6.tar.bz2.asc ... Skipped ==> Verifying source file signatures with gpg... ffmpeg-2.3.6.tar.bz2 ... Passed :: Checking ffmpeg-compat-54 integrity... ==> Making package: ffmpeg-compat-54 1.2.12-1 (Sun Apr 9 02:19:54 EDT 2017) ==> Retrieving sources... -> Found ffmpeg-1.2.12.tar.bz2 -> Found ffmpeg-1.2.12.tar.bz2.asc -> Found libvpx_VP8E_UPD_ENTROPY.patch ==> Validating source files with sha256sums... ffmpeg-1.2.12.tar.bz2 ... Passed ffmpeg-1.2.12.tar.bz2.asc ... Skipped libvpx_VP8E_UPD_ENTROPY.patch ... FAILED ==> ERROR: One or more files did not pass the validity check! :: failed to verify ffmpeg-compat-54 integrity

Muflone commented on 2016-10-29 15:18 (UTC)

@phraktal read the previous comments. You have to import the gpg key

phraktal commented on 2016-10-25 15:06 (UTC)

Does this package works for anyone ? I've tried to follow the discussion below, but I'm unable to make this work: ==> Making package: ffmpeg-compat-54 1.2.12-1 (Tue Oct 25 11:00:31 EDT 2016) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found ffmpeg-1.2.12.tar.bz2 -> Found ffmpeg-1.2.12.tar.bz2.asc -> Found libvpx_VP8E_UPD_ENTROPY.patch ==> Validating source files with sha256sums... ffmpeg-1.2.12.tar.bz2 ... Passed ffmpeg-1.2.12.tar.bz2.asc ... Skipped libvpx_VP8E_UPD_ENTROPY.patch ... Passed ==> Verifying source file signatures with gpg... ffmpeg-1.2.12.tar.bz2 ... FAILED (unknown public key B4322F04D67658D8) ==> ERROR: One or more PGP signatures could not be verified!

ZeroBit commented on 2016-10-22 11:34 (UTC) (edited on 2016-10-22 11:53 (UTC) by ZeroBit)

@Muflone Thank you. You were right. I re-created the trustdb and it worked fine. Thank you again! $ gpg --verify ffmpeg-1.2.12.tar.bz2.asc gpg: assuming signed data in 'ffmpeg-1.2.12.tar.bz2' gpg: Signature made Thu Feb 12 2015 16:47:48 EET gpg: using RSA key B4322F04D67658D8 gpg: lookup_hashtable failed: Unknown system error gpg: trustdb: searching trust record failed: Unknown system error gpg: Error: The trustdb is corrupted. gpg: You may try to re-create the trustdb using the commands: gpg: cd ~/.gnupg gpg: gpg --export-ownertrust > otrust.tmp gpg: rm trustdb.gpg gpg: gpg --import-ownertrust < otrust.tmp gpg: If that does not work, please consult the manual

Muflone commented on 2016-10-22 10:20 (UTC)

@ZeroBit I've just tried with a clean new user, using yaourt and before importing the key I had your same errors. After importing the key with gpg the error has gone. I suppose that your download is corrupt and you have to delete it and start again. If the error persists move where your PKGBUILD is and execute: gpg --verify ffmpeg-1.2.12.tar.bz2.asc

ZeroBit commented on 2016-10-21 08:21 (UTC)

Ok. That's what I did and it didn't help $ gpg --keyserver pgp.mit.edu --recv-keys FCF986EA15E6E293A5644F10B4322F04D67658D8 gpg: key B4322F04D67658D8: "FFmpeg release signing key <ffmpeg-devel@ffmpeg.org>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 $ yaourt -S ffmpeg-compat-54 ... => Verifying source file signatures with gpg... ffmpeg-1.2.12.tar.bz2 ... FAILED ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build ffmpeg-compat-54. What should I do?

Muflone commented on 2016-10-20 22:58 (UTC)

pacman-key is not related in any way with makepkg. It adds keys for pacman, hence to the root user, not your regular user. If you want to import the key for this source file you have to use gpg like @pirinto wrote before.

ZeroBit commented on 2016-10-20 19:58 (UTC)

Even after gpg --keyserver pgp.mit.edu --recv-keys FCF986EA15E6E293A5644F10B4322F04D67658D8 and pacman-key -r FCF986EA15E6E293A5644F10B4322F04D67658D8 pacman-key --refresh-keys I have the following error: ==> Verifying source file signatures with gpg... ffmpeg-1.2.12.tar.bz2 ... FAILED ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build ffmpeg-compat-54. What to do?

pirinto commented on 2016-10-19 05:40 (UTC) (edited on 2016-10-19 05:40 (UTC) by pirinto)

If you get pgp verification errors. Import the correct gpg key. See comment from https://aur.archlinux.org/packages/ffmpeg-full/?comments=all " saiyuki commented on 2016-02-27 16:04 believe i got the package to correctly build; wasn't able to pass gpg verification check got stopped at the ffmpeg package none of the dependencies stopped me. You can solve the issue by importing the gpg key prior to installing. with gpg --keyserver pgp.mit.edu --recv-keys FCF986EA15E6E293A5644F10B4322F04D67658D8 then you should be able to install the package via yaourt or just building it via source package or however you do ."

Muflone commented on 2016-03-20 02:31 (UTC) (edited on 2016-03-20 12:12 (UTC) by Muflone)

This package has a freetype2 dependency. It *COULD* work also with others freetype2 packages as long they use the same code hierarchy of freetype2. I won't patch this package to handle the wrong hierarchy of freetype2-ubuntu. Please ask the freetype2-ubuntu maintainer to apply the fix in order to result compatible with the official freetype2 package.

Haron_Prime commented on 2016-03-17 20:46 (UTC)

Confirm. ERROR: freetype2 not found But freetype2-ubuntu installed temporary solution: # cd /usr/include/freetype2 && mkdir freetype && cd freetype && ln -s ../freetype.h

webhive commented on 2016-03-17 16:18 (UTC)

Confirm. I have exactly the same problem. ERROR: freetype2 not found Also using freetype2-ubuntu

positron commented on 2016-03-06 11:15 (UTC)

I get the following error: ERROR: freetype2 not found but I have freetype2-ubuntu installed!

das-ich commented on 2015-11-26 19:18 (UTC) (edited on 2015-11-26 19:33 (UTC) by das-ich)

thanks, guys now it builds normally

Muflone commented on 2015-11-22 12:41 (UTC)

@tuxfusion you were correct, the patch was needed to fix the @das-ich issue. Package updated

tuxfusion commented on 2015-11-20 22:03 (UTC)

Just a guess, this was reported and fixed upstream here: https://trac.ffmpeg.org/ticket/4956. We need to pull that commit into ffmpeg-compat-54 maybe ?

das-ich commented on 2015-11-18 17:18 (UTC) (edited on 2015-11-18 17:24 (UTC) by das-ich)

error libavcodec/libvpxenc.c:90:6: error: 'VP8E_UPD_ENTROPY' undeclared here (not in a function) [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY", ^ libavcodec/libvpxenc.c:90:6: error: array index in initializer not of integer type libavcodec/libvpxenc.c:90:6: note: (near initialization for 'ctlidstr') libavcodec/libvpxenc.c:91:6: error: 'VP8E_UPD_REFERENCE' undeclared here (not in a function) [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE", ^ libavcodec/libvpxenc.c:91:6: error: array index in initializer not of integer type libavcodec/libvpxenc.c:91:6: note: (near initialization for 'ctlidstr') libavcodec/libvpxenc.c:92:6: error: 'VP8E_USE_REFERENCE' undeclared here (not in a function) [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE", ^ libavcodec/libvpxenc.c:92:6: error: array index in initializer not of integer type libavcodec/libvpxenc.c:92:6: note: (near initialization for 'ctlidstr') common.mak:48: recipe for target 'libavcodec/libvpxenc.o' failed make: *** [libavcodec/libvpxenc.o] Error 1

jonnybarnes commented on 2015-11-15 17:23 (UTC)

I can’t compile this. I get the following error: ``` Creating config.mak and config.h... ... CC libavcodec/libvpxenc.o common.mak:48: recipe for target 'libavcodec/libvpxenc.o' failed ```

Muflone commented on 2015-11-13 00:26 (UTC)

@ikonen what version of freetype2 are you using? the standard freetype2 package already has /usr/include/freetype2/freetype/freetype.h

commented on 2015-11-09 16:05 (UTC)

For me it wasn't still working. I had first to create the directory (/freetype) in /usr/include/freetype2/freetype and copy the file freetype.h to there. After that the update was flawless. Thanks guys.

Muflone commented on 2015-11-08 15:59 (UTC)

Package fixed for freetype.h issues

tasos commented on 2015-11-08 14:30 (UTC)

Hi there, I agree with enjoyaol, the short fix should be adapted by the packaging. Btw, thank you very much Cardiel.

enjoyaol commented on 2015-10-22 14:43 (UTC)

Hi ! Cardiel provided a correct fix. I wonder if there is a way to make it better or not, but can someone (@Muflone) fix this package ? It's not building because freetype2 is not found on the system. ( Build script should do ln -s /usr/include/freetype2/freetype/freetype.h /usr/include/freetype2/freetype.h maybe ?)

pebs74 commented on 2015-09-12 18:20 (UTC)

had the freetype2 problem stated by logos, thanks cardiel!

logos commented on 2015-08-19 13:49 (UTC)

I have installed freetype2-infinality-ultimate instead of freetype2 and when I try to compile it says: ERROR: freetype2 not found Is there any way to solve the problem and make it compatible with infinality bundle fonts?

cardiel commented on 2015-08-04 18:34 (UTC)

bchretien You can solve it temporary through creating a symbolic link ln -s /usr/include/freetype2/freetype/freetype.h /usr/include/freetype2/freetype.h

Muflone commented on 2014-10-04 21:45 (UTC)

The package ffmpeg-compat2 is going to be merged into the package ffmpeg-compat54 which provides the same functionality and a better name

Muflone commented on 2014-09-30 16:28 (UTC)

@Freso I prefer the form -i "${srcdir}/freetype2.patch" package updated

Freso commented on 2014-09-29 11:54 (UTC)

Use "patch -p1 < ${srcdir}/freetype2.patch" instead of "patch -p1 < ../../freetype2.patch" to unbreak the PKGBUILD.

Muflone commented on 2014-07-05 17:12 (UTC)

@Ingram dependency x264 added, thanks

Ingram commented on 2014-07-04 15:26 (UTC)

Looks like package x264 is required, which wasn't installed.

Ingram commented on 2014-07-04 13:12 (UTC)

Build fails with following message: ERROR: libx264 not found

Muflone commented on 2014-04-27 20:04 (UTC)

@Fr_nk core/patch is included in the base-devel group and therefore doesn't need to be included (please see https://wiki.archlinux.org/index.php/PKGBUILD) in the (make)depends list.

Fr_nk commented on 2014-04-27 19:51 (UTC)

Also depends on core/patch ;)

Muflone commented on 2014-01-19 21:52 (UTC)

Applied fix for freetype2

bchretien commented on 2013-12-23 15:20 (UTC)

Build currently fails for me with: ==> Starting build()... ERROR: freetype2 not found Note: I have 'extra/freetype2' installed ("pkg-config --modversion freetype2" confirms it), and it is not listed as a package dependency. This may require a patch since 'freetype.h' is in /usr/include/freetype2, not /usr/include/freetype.

Muflone commented on 2013-09-24 23:00 (UTC)

This package provides the following libraries: libavcodec.so.54 libavcodec.so.54.92.100 libavdevice.so.54 libavdevice.so.54.3.103 libavfilter.so.3 libavfilter.so.3.42.103 libavformat.so.54 libavformat.so.54.63.104 libavresample.so.1 libavresample.so.1.1.0 libavutil.so.52 libavutil.so.52.18.100 libpostproc.so.52 libpostproc.so.52.2.100 libswresample.so.0 libswresample.so.0.17.102 libswscale.so.2 libswscale.so.2.2.100 It had to be used because various closed source packages require one or more of those libraries previously provided by ffmpeg 1.2.