Author Topic: trying the ffmpeg POWER9 optimization patch  (Read 244 times)

pocock

  • Full Member
  • ***
  • Posts: 223
  • Karma: +22/-0
    • View Profile
trying the ffmpeg POWER9 optimization patch
« on: December 29, 2020, 08:17:39 am »

I've prepared a Debian package of ffmpeg compiled with this patch for performance.  This is ffmpeg 4.3.1, it is newer than the standard version in Debian 10 / buster.

As described in the thread about Domoticz, backports like this are published in the Debify repository.  Before you can install them with apt, you need to run this command once to enable the repository and authentication key:

Code: [Select]
$ wget -O - http://apt.debify.org/add-apt-debify | bash

After you have added the Debify repository and key, you can install / upgrade your ffmpeg with this command (if you are using Debian 10 / buster):

Code: [Select]
sudo apt update
sudo apt install -t debify-buster-backports ffmpeg

Please give feedback through the ffmpeg bug tracker issue if you have any problems with this patch.
Debian Developer
https://danielpocock.com

ClassicHasClass

  • Full Member
  • ***
  • Posts: 196
  • Karma: +12/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: trying the ffmpeg POWER9 optimization patch
« Reply #1 on: December 29, 2020, 04:02:57 pm »
I don't see your fixed patch?

pocock

  • Full Member
  • ***
  • Posts: 223
  • Karma: +22/-0
    • View Profile
Re: trying the ffmpeg POWER9 optimization patch
« Reply #2 on: December 29, 2020, 04:30:27 pm »
The source packages are in the Debify repository so you can always do

Code: [Select]
apt update
apt source ffmpeg

to see the exact source it was built from.  Patches are in the debian/patches directory of any package.

Make sure it really downloads the source from debify and not the regular package from Buster.

In this case, I can point you to the patches on Gitlab as well, there is also a copy in the ffmpeg trac issue.  I had to tweak it to resolve the compiler errors that are mentioned in trac, the version in Gitlab compiles without errors.
Debian Developer
https://danielpocock.com