ffmpeg fdk-aac in homebridge jail

Pimmp

Dabbler
Joined
Apr 17, 2018
Messages
19
Is there a simple way to enable/install the fdk-aac codec into ffmpeg already installed within a jail?
I have a homebridge jail consisting of unifi protect which require ffmpeg with fdk-aac(for sound)
I did pkg install ffmpeg inside the jail without problems but I suspect without the codec.
Guidance will be highly appreciated
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You can always make a version of ffmpeg with your desired settings...

in the jail:
svnlite co https://svn.freebsd.org/ports/head /usr/ports

cd /usr/ports; svnlite update (to make sure you're up to date any future times you compile... no need to do that this time)

Then cd /usr/ports/multimedia/ffmpeg

Edit the config as you wish

then make install
 

Pimmp

Dabbler
Joined
Apr 17, 2018
Messages
19
You can always make a version of ffmpeg with your desired settings...

in the jail:
svnlite co https://svn.freebsd.org/ports/head /usr/ports

cd /usr/ports; svnlite update (to make sure you're up to date any future times you compile... no need to do that this time)

Then cd /usr/ports/multimedia/ffmpeg

Edit the config as you wish

then make install
Did not find any config in /usr/ports/multimedia/ffmpeg
so i typed make install where i got a chance to tick in my choices.
Did a typo and missed the choice of fdk-aac o_O
then the installation ended with problems:

All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@homebridge:/usr/ports/multimedia/ffmpeg # make install
===> ffmpeg-4.3.2_1,1 depends on executable: nasm - found
===> ffmpeg-4.3.2_1,1 depends on executable: texi2html - found
===> ffmpeg-4.3.2_1,1 depends on file: /usr/local/include/frei0r.h - not found
===> frei0r-1.7.0.18 depends on file: /usr/local/bin/cmake - not found
===> cmake-3.19.6 depends on executable: sphinx-build - not found
===> py37-sphinx-3.5.2,1 depends on package: py37-setuptools>0 - not found
 
Top