Ffmpeg (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→ffmpeg) |
|||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 30: | Zeile 30: | ||
checkinstall yasm texi2html libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev \ | checkinstall yasm texi2html libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev \ | ||
libtheora-dev libvdpau-dev libvorbis-dev libvpx-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev \ | libtheora-dev libvdpau-dev libvorbis-dev libvpx-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev \ | ||
yasm | yasm libv4l-dev | ||
</pre> | </pre> | ||
Zeile 81: | Zeile 81: | ||
==== rpi-update ==== | ==== rpi-update ==== | ||
'''ERROR: mmal not found''' | |||
[https://raspberrypi.stackexchange.com/questions/34107/libmmal-core-so-missing https://raspberrypi.stackexchange.com/questions/34107/libmmal-core-so-missing] | [https://raspberrypi.stackexchange.com/questions/34107/libmmal-core-so-missing https://raspberrypi.stackexchange.com/questions/34107/libmmal-core-so-missing] | ||
Zeile 99: | Zeile 101: | ||
--enable-mmal \ | --enable-mmal \ | ||
--enable-gpl \ | --enable-gpl \ | ||
--enable-version3 | --enable-version3 \ | ||
--enable-nonfree \ | --enable-nonfree \ | ||
--enable-postproc \ | --enable-postproc \ | ||
--enable-libfaac \ | --enable-libfaac \ | ||
--enable-libmp3lame | --enable-libmp3lame \ | ||
--enable-libopencore-amrnb \ | --enable-libopencore-amrnb \ | ||
--enable-libopencore-amrwb \ | --enable-libopencore-amrwb \ | ||
Zeile 110: | Zeile 112: | ||
--enable-libvpx \ | --enable-libvpx \ | ||
--enable-libx264 \ | --enable-libx264 \ | ||
--enable-libxvid | --enable-libxvid | ||
make | make | ||
make install | make install | ||
cd .. | cd .. | ||
</pre> | |||
<pre> | |||
./configure \ | |||
--arch=armel \ | |||
--target-os=linux \ | |||
--enable-libv4l2 \ | |||
--enable-gpl \ | |||
--enable-version3 \ | |||
--enable-nonfree \ | |||
--enable-postproc \ | |||
--enable-libmp3lame \ | |||
--enable-libopencore-amrnb \ | |||
--enable-libopencore-amrwb \ | |||
--enable-libtheora \ | |||
--enable-libvorbis \ | |||
--enable-libvpx \ | |||
--enable-libx264 \ | |||
--enable-libxvid | |||
</pre> | </pre> | ||
Aktuelle Version vom 4. Mai 2024, 13:41 Uhr
Noch in Bearbeitung
Selbst kompilieren
Abhängigkeiten
libfaac-dev
Da libfaac-dev nicht frei ist, muss es manuell installiert werden.
Quellen:
https://packages.debian.org/bookworm/libfaac-dev
https://deb-multimedia.org/dists/stable/main/
cd ~/temp wget https://deb-multimedia.org/pool/main/f/faac-dmo/libfaac-dev_1.30-dmo1_armhf.deb wget https://deb-multimedia.org/pool/main/f/faac-dmo/libfaac0_1.30-dmo1_armhf.deb sudo dpkg -i libfaac0_1.30-dmo1_armhf.deb sudo dpkg -i libfaac-dev_1.30-dmo1_armhf.deb
Aus den Paktequellen
sudo apt-get install make automake g++ bzip2 python3 unzip patch subversion ruby build-essential git \ checkinstall yasm texi2html libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev \ libtheora-dev libvdpau-dev libvorbis-dev libvpx-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev \ yasm libv4l-dev
x264
cd ~/temp git clone https://code.videolan.org/videolan/x264.git sudo su cd x264 ./configure --enable-shared make && make install cd ..
libvpx
cd ~/temp git clone https://chromium.googlesource.com/webm/libvpx sudo su cd libvpx ./configure make sudo checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" --backup=no --deldoc=yes --fstrans=no --default
ldconfig
Die Datei
sudo vi /etc/ld.so.conf
editieren und folgende Zeilen hinzufügen:
/usr/lib /usr/local/lib
Danach mittels
sudo ldconfig
Pfade neu laden
rpi-update
ERROR: mmal not found
https://raspberrypi.stackexchange.com/questions/34107/libmmal-core-so-missing
ffmpeg
cd ~/temp wget https://ffmpeg.org//releases/ffmpeg-7.0.tar.bz2 tar xvjf ffmpeg-7.0.tar.bz2 sudo su cd ffmpeg-7.0 ./configure \ --arch=armel \ --target-os=linux \ --enable-omx \ --enable-omx-rpi \ --enable-mmal \ --enable-gpl \ --enable-version3 \ --enable-nonfree \ --enable-postproc \ --enable-libfaac \ --enable-libmp3lame \ --enable-libopencore-amrnb \ --enable-libopencore-amrwb \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libxvid make make install cd ..
./configure \ --arch=armel \ --target-os=linux \ --enable-libv4l2 \ --enable-gpl \ --enable-version3 \ --enable-nonfree \ --enable-postproc \ --enable-libmp3lame \ --enable-libopencore-amrnb \ --enable-libopencore-amrwb \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libxvid
Links
https://www.linux-magazin.de/ausgaben/2017/11/ffmpeg-mit-gpus/3/
https://wiki.ubuntuusers.de/FFmpeg/
Zurück zu Ubuntu