Compiling FFMpeg (with libfdk-aac support) for MakeMKV
Posted: Mon Sep 30, 2024 10:32 am
Trying to compile the latest FFMpeg for the MakeMKV and
something has changed and it does not work anymore.
Here is what I did on my Debian 12 machine:
Up untill here all good and no errors.
But on close inspection, I can see that the
"/tmp/ffmpeg" has not been created and all compiled in "~/ffmpeg-7.0.2/"
instead of the "/tmp/ffmpeg" and my guess it's probably
new policy in Debian 12.....
And when inspecting the "/tmp/ffmpeg/lib/pkgconfig" nothing there and
"~/ffmpeg-7.0.2/lib/pkgconfig" the "lib" DIR does not exist anymore
but instead has the following DIR's:
libavcodec
libavdevice
libavfilter
libavformat
libavutil
libpostproc
libswresample
libswscale
Any idea how to compile MakeMKV 1.77.7 on Debian 12 with the latest FFMpeg 7.0.2?
something has changed and it does not work anymore.
Here is what I did on my Debian 12 machine:
Code: Select all
sudo apt update -qq && sudo apt -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libmp3lame-dev \
libsdl2-dev \
libtool \
libunistring-dev \
libva-dev \
libvdpau-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
meson \
ninja-build \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev
Code: Select all
curl -kLO https://ffmpeg.org/releases/ffmpeg-7.0.2.tar.bz2
curl -kLO https://ffmpeg.org/releases/ffmpeg-7.0.2.tar.bz2.asc
curl https://ffmpeg.org/ffmpeg-devel.asc | gpg --import
gpg --verify ffmpeg-7.0.2.tar.bz2.asc ffmpeg-7.0.2.tar.bz2
tar -jxvf ffmpeg-7.0.2.tar.bz2
cd ffmpeg-7.0.2
Code: Select all
./configure \
--prefix=/tmp/ffmpeg \
--enable-static \
--disable-shared \
--enable-pic \
--enable-libfdk-aac
But on close inspection, I can see that the
"/tmp/ffmpeg" has not been created and all compiled in "~/ffmpeg-7.0.2/"
instead of the "/tmp/ffmpeg" and my guess it's probably
new policy in Debian 12.....
And when inspecting the "/tmp/ffmpeg/lib/pkgconfig" nothing there and
"~/ffmpeg-7.0.2/lib/pkgconfig" the "lib" DIR does not exist anymore
but instead has the following DIR's:
libavcodec
libavdevice
libavfilter
libavformat
libavutil
libpostproc
libswresample
libswscale
Any idea how to compile MakeMKV 1.77.7 on Debian 12 with the latest FFMpeg 7.0.2?