• ffmpeg-full: requires libvpx.so=2-64


    Sorry I’m late to the party 😉 Make sure that your ~/.bashrc includes the following line:

    export EDITOR="nano"
    

    If you had to add the line you will need to log out and log back in for it to take affect. Now, all that you need to do is edit the PKGBUILD when prompted by yaourt and add the following above the build() function:

    prepare() {
    cd ${pkgname%-full}-$pkgver
    patch -p1 -i ../ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
    }
    

    The patch is included in the ffmpeg source itself. There is no need to download it separately. Let me know how it goes.

    Cheers!

  • ==> Starting prepare()…
    patch: **** Can’t open patch file …/ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch : No such file or directory
    ==> ERROR: A failure occurred in prepare().
    Aborting…
    ==> ERROR: Makepkg was unable to build ffmpeg-full.
    ==> Restart building ffmpeg-full ? [y/N]

  • Hmmm…okay you made me really dive into what’s going on here (I did not read through all the posts when I responded earlier)…Anyway, what is the reason you are wanting to build ffmpeg from source instead of installing it from the official repos? The patch in question is already included in the official package (as of seven days ago).

  • @lots.0.logs said:

    Hmmm…The patch in question is already included in the official package (as of seven days ago).

    well it doesnt seem so by my experience

  • ==> Continue building ffmpeg-full ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: ffmpeg-full 1:2.8.1-1 (Tue Nov 17 17:23:02 EST 2015)
    ==> Checking runtime dependencies…
    ==> Checking buildtime dependencies…
    ==> Retrieving sources…
    -> Downloading ffmpeg-2.8.1.tar.bz2…
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 8363k 100 8363k 0 0 2172k 0 0:00:03 0:00:03 --:–:-- 2172k
    -> Downloading ffmpeg-2.8.1.tar.bz2.asc…
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 473 100 473 0 0 2205 0 --:–:-- --:–:-- --:–:-- 2210
    -> Found UNREDISTRIBUTABLE.txt
    ==> Validating source files with sha256sums…
    ffmpeg-2.8.1.tar.bz2 … Passed
    ffmpeg-2.8.1.tar.bz2.asc … Skipped
    UNREDISTRIBUTABLE.txt … Passed
    ==> Verifying source file signatures with gpg…
    ffmpeg-2.8.1.tar.bz2 … Passed
    ==> Extracting sources…
    -> Extracting ffmpeg-2.8.1.tar.bz2 with bsdtar
    ==> Starting prepare()…
    patch: **** Can’t open patch file …/ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch : No such file or directory
    ==> ERROR: A failure occurred in prepare().
    Aborting…
    ==> ERROR: Makepkg was unable to build ffmpeg-full.
    ==> Restart building ffmpeg-full ? [y/N]
    ==> ------------------------------------
    ==>

    its ever the same when i try

  • @Lizzi That’s because you need to use ABS to download the PKGBUILD and related files for the official package. Though, as I mentioned before, if the only reason you want to build it from source is because you want that patch then you will be wasting your time. The package is already patched. Just install it with pacman instead of building from source.

Posts 27Views 9403
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.