Raptor Computing Systems Community Forums (BETA)

Software => Applications and Porting => Topic started by: pocock on December 29, 2020, 08:17:39 am

Title: trying the ffmpeg POWER9 optimization patch
Post by: pocock on December 29, 2020, 08:17:39 am

I've prepared a Debian package of ffmpeg compiled with this patch for performance (http://trac.ffmpeg.org/ticket/5570).  This is ffmpeg 4.3.1, it is newer than the standard version in Debian 10 / buster.

As described in the thread about Domoticz (https://forums.raptorcs.com/index.php/topic,242.0/topicseen.html), 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 (http://trac.ffmpeg.org/ticket/5570) if you have any problems with this patch.
Title: Re: trying the ffmpeg POWER9 optimization patch
Post by: ClassicHasClass on December 29, 2020, 04:02:57 pm
I don't see your fixed patch?
Title: Re: trying the ffmpeg POWER9 optimization patch
Post by: pocock 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 (https://gitlab.com/debify/ffmpeg/-/tree/pocock/master/debian/patches), 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.