Hallo,
wenn ich apt-get install ffmpeg ausführe, wird ffmpeg:amd64 (7:4.2.4-1ubuntu0.1) mit Abhängigkeiten installiert.
Für meine Zwecke fehlt: --enable-vaapi
Also selbst kompilieren. Dazu habe habe ich mich an diesem Faden orientiert: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
Es ist auch ein aktuelles ffmpeg erstellt & installiert worden. Wenn ich ffmpeg ausführe, kommt dieser Fehler:
Code
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: av_opt_child_class_iterate, version LIBAVUTIL_56
libavutil.so.56 ist da:
Code
root@vdr1:/bin# ldd ffmpeg
linux-vdso.so.1 (0x00007ffe3168b000)
libavdevice.so.58 => /lib/x86_64-linux-gnu/libavdevice.so.58 (0x00007f225a784000)
libavfilter.so.7 => /lib/x86_64-linux-gnu/libavfilter.so.7 (0x00007f225a404000)
libavformat.so.58 => /lib/x86_64-linux-gnu/libavformat.so.58 (0x00007f225a18c000)
libavcodec.so.58 => /lib/x86_64-linux-gnu/libavcodec.so.58 (0x00007f2258bcf000)
...
und auch hier:
Code
root@vdr1:/lib# ls -l libav*
-rw-r--r-- 1 root root 212276004 Okt 3 18:01 libavcodec.a
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavcodec.so -> libavcodec.so.58.134.100
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavcodec.so.58 -> libavcodec.so.58.134.100
-rwxr-xr-x 1 root root 19357656 Okt 3 18:01 libavcodec.so.58.134.100
-rw-r--r-- 1 root root 3224660 Okt 3 18:01 libavdevice.a
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavdevice.so -> libavdevice.so.58.13.100
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavdevice.so.58 -> libavdevice.so.58.13.100
-rwxr-xr-x 1 root root 147184 Okt 3 18:01 libavdevice.so.58.13.100
-rw-r--r-- 1 root root 50968338 Okt 3 18:01 libavfilter.a
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavfilter.so -> libavfilter.so.7.110.100
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavfilter.so.7 -> libavfilter.so.7.110.100
-rwxr-xr-x 1 root root 4108136 Okt 3 18:01 libavfilter.so.7.110.100
-rw-r--r-- 1 root root 63810054 Okt 3 18:01 libavformat.a
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavformat.so -> libavformat.so.58.76.100
lrwxrwxrwx 1 root root 24 Okt 3 18:13 libavformat.so.58 -> libavformat.so.58.76.100
-rwxr-xr-x 1 root root 2567920 Okt 3 18:01 libavformat.so.58.76.100
-rw-r--r-- 1 root root 6505328 Okt 3 18:01 libavutil.a
lrwxrwxrwx 1 root root 22 Okt 3 18:13 libavutil.so -> libavutil.so.56.70.100
lrwxrwxrwx 1 root root 22 Okt 3 18:13 libavutil.so.56 -> libavutil.so.56.70.100
-rwxr-xr-x 1 root root 733000 Okt 3 18:01 libavutil.so.56.70.100
Alles anzeigen
Dann habe ich apt-get remove ffmpeg ausgeführt und nochmal kompiliert & installiert. Der Fehler bleibt.
Wie kompiliere & installiere ich ein aktuelles ffmpeg richtig?
Danke schonmal.