Ich habe relativ lange nach einer Möglichkeit gesucht ffmpeg auf meinem Cloud Server unter ubuntu 14.04 (trusty) zu installieren. Nun habe ich endlich den richtigen Weg gefunden. Auch in diesem Falle wird ein PPA (Personal Package Archive) auf launchpad.net verwendet. Hier speziell das Ubuntu Multimedia for Trusty PPA von Doug McMahon.
Zunächst fügen wir das PPA zu unseren Paketquellen hinzu:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | $ add-apt-repository ppa:mc3man/trusty-media Upgraded, advanced or not normally available multimedia packages for Trusty *Please note that if using this ppa I would *not* try upgrading to 14.10/15.04, ect. Do a fresh install instead. The intent here is just for users wishing to stay on 14.04* If upgrading releases anyway use ppa-purge *First* - sudo ppa-purge ppa:mc3man/trusty-media Also note that using this ppa then disabling may cause issue for installing i386 packages like used by wine. So once enabled leave enabled or purge before removing. Additionally if using apt-get * sudo apt-get dist-upgrade will be needed* at times.(pay attention). Otherwise package managers may be ok. So typically to enable & first use - sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update sudo apt-get dist-upgrade A few notes: gstreamer0.10-ffmpeg - needed for some apps that still use gstreamer-0.10 & also provides h.264 in html5 decoding for firefox < 30. Note that Firefox 30 will support h.264 in html5 thru gstreamer1.0-libav & should be available soon A standalone ppa is here for gstreamer0.10-ffmpeg - https://launchpad.net/~mc3man/+archive/ubuntu/gstffmpeg-keep Vlc: after upgrading please remove ~/.config/vlc folder to ensure proper runnning Totem+grilo - it's quite possible this & RB+grilo will show in 14.04 by first point release, if so will probably remove. Also note some plugins work well, some don't at all, bit of a mess rhythmbox+grilo - needs to be enabled in rhythmbox > tools > plugins Plus install grilo-plugins if not already mpv - has been removed as 14.04.4-lts requires higher libva than what's in 14.04 or in this ppa Available here with newer libva & i965 driver https://launchpad.net/~mc3man/+archive/mpv-tests *Note* - Osc config options now go into ~/.mpv/lua-settings/osc.config refer to manpage or pdf in /usr/share/doc/mpv If this is a new install of mpv setting are in ~/.config/mpv mplayer - described here, note mencoder is not inc. & likely will not be, you may be able to use repo mencoder.. https://launchpad.net/~mc3man/+archive/mplayer-test fdkaac (fdkaac-encoder) - described here https://launchpad.net/~mc3man/+archive/fdkaac-encoder x264 - for use with ffmpeg from here, supports both 8 & 10 bit encoding ffmpeg - a static build for use of the binaries, installed to /opt/ffmpeg binaries are symlinked in /usr/bin (ffmpeg, ffplay, ffprobe For info on using libfdk_aac see here - http://trac.ffmpeg.org/wiki/Encode/AAC Can be used for both 8 & 10 bit x264 encoding with this ppa's libx264, default is 8 For 10 bit preload the 10 bit .so first in terminal, eg., export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.142 or export LD_PRELOAD=/usr/lib/i386-linux-gnu/x264-10bit/libx264.so.142 libav - has fdkaac encoding enabled yasm - has been patched to improve compiling x265 devede - can use either avconv or ffmpeg from here 1st choice for previewer is mplayer (version here is best K9copy - Mainly for ripping, as far as encoding there are better apps. If inclined to use for encoding then use mencoder as ffmpeg support is quite limited For rhythmbox users a wide range of plugins can be found here - https://launchpad.net/~fossfreedom/+archive/rhythmbox-plugins Abcde - ck. Suggested in synaptic for add. useful packages A guide to config is here - http://www.andrews-corner.org/abcde.html An excellent audio recorder is available here - https://launchpad.net/~osmoma/+archive/audio-recorder A good blender ppa is here - https://launchpad.net/~irie/+archive/blender To further extend this ppa to libav11 check here - https://launchpad.net/~mc3man/+archive/ubuntu/testing6 To repeat - *Please note that if using this ppa I would *not* try upgrading to 14.10/15.04, ect. Do a fresh install instead. The intent here is just for users wishing to stay on 14.04* If upgrading anyway use ppa-purge first - sudo ppa-purge ppa:mc3man/trusty-media Also note that with apt-get a sudo apt-get dist-upgrade is needed for initial setup & with some package upgrades More info: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpianwg_ey/secring.gpg' created gpg: keyring `/tmp/tmpianwg_ey/pubring.gpg' created gpg: requesting key ED8E640A from hkp server keyserver.ubuntu.com gpg: /tmp/tmpianwg_ey/trustdb.gpg: trustdb created gpg: key ED8E640A: public key "Launchpad PPA for Doug McMahon" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK |
Danach aktualisieren wir die Paketquellen:
1 2 3 4 5 6 7 8 9 10 | $ apt-get update Hit http://ppa.launchpad.net trusty InRelease Ign http://de.archive.ubuntu.com trusty InRelease Ign http://download.owncloud.org InRelease Hit http://de.archive.ubuntu.com trusty-updates InRelease Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB] Hit http://download.owncloud.org Release.gpg . . . |
Zuletzt installieren wir ffmpeg und seine Abhängigkeiten:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | $ apt-get install ffmpeg Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: i965-va-driver libasound2 libasound2-data libass5 libasyncns0 libcaca0 libfdk-aac0 libflac8 libmp3lame0 libogg0 libopencore-amrnb0 libopencore-amrwb0 libopus0 libpulse0 libsdl1.2debian libsndfile1 libsoxr0 libspeex1 libva-drm1 libva-x11-1 libva1 libvdpau1 libvidstab1.0 libvorbis0a libvorbisenc2 libx264-148 libx265-79 libxcb-xfixes0 libxvidcore4 va-driver-all vdpau-va-driver Suggested packages: libasound2-plugins alsa-utils opus-tools pulseaudio speex nvidia-vdpau-driver vdpau-driver libx265-79-dbg The following NEW packages will be installed: ffmpeg i965-va-driver libasound2 libasound2-data libass5 libasyncns0 libcaca0 libfdk-aac0 libflac8 libmp3lame0 libogg0 libopencore-amrnb0 libopencore-amrwb0 libopus0 libpulse0 libsdl1.2debian libsndfile1 libsoxr0 libspeex1 libva-drm1 libva-x11-1 libva1 libvdpau1 libvidstab1.0 libvorbis0a libvorbisenc2 libx264-148 libx265-79 libxcb-xfixes0 libxvidcore4 va-driver-all vdpau-va-driver 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. Need to get 36.8 MB of archives. After this operation, 133 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://de.archive.ubuntu.com/ubuntu/ trusty/main libasound2-data all 1.0.27.2-3ubuntu7 [26.3 kB] Get:2 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main i965-va-driver amd64 1.4.1~veboxmaster1-3-vebox~trusty [219 kB] Get:3 http://de.archive.ubuntu.com/ubuntu/ trusty/main libasound2 amd64 1.0.27.2-3ubuntu7 [327 kB] Get:4 http://de.archive.ubuntu.com/ubuntu/ trusty/main libasyncns0 amd64 0.8-4ubuntu2 [11.9 kB] Get:5 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libass5 amd64 0.13.0-1~trusty [82.0 kB] Get:6 http://de.archive.ubuntu.com/ubuntu/ trusty/main libcaca0 amd64 0.99.beta18-1ubuntu5 [202 kB] Get:7 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libfdk-aac0 amd64 0.1.3.1 [332 kB] Get:8 http://de.archive.ubuntu.com/ubuntu/ trusty/main libogg0 amd64 1.3.1-1ubuntu1 [17.0 kB] Get:9 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libflac8 amd64 1.3.0-2ubuntu0.14.04.1 [80.2 kB] Get:10 http://de.archive.ubuntu.com/ubuntu/ trusty/universe libopencore-amrnb0 amd64 0.1.3-2ubuntu1 [90.4 kB] Get:11 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libmp3lame0 amd64 3.99.5+repack1-7~trusty [127 kB] Get:12 http://de.archive.ubuntu.com/ubuntu/ trusty/universe libopencore-amrwb0 amd64 0.1.3-2ubuntu1 [45.3 kB] Get:13 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libsndfile1 amd64 1.0.25-7ubuntu2.1 [136 kB] Get:14 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libopus0 amd64 1.1-0ubuntu1.2 [154 kB] Get:15 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libpulse0 amd64 1:4.0-0ubuntu11.1 [225 kB] Get:16 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libvorbis0a amd64 1.3.4-2~trusty1 [99.0 kB] Get:17 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libvorbisenc2 amd64 1.3.4-2~trusty1 [79.1 kB] Get:18 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libsdl1.2debian amd64 1.2.15-8ubuntu1.1 [162 kB] Get:19 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libva-drm1 amd64 1.4.0~trusty [12.6 kB] Get:20 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libva1 amd64 1.4.0~trusty [42.8 kB] Get:21 http://de.archive.ubuntu.com/ubuntu/ trusty/universe libsoxr0 amd64 0.1.1-1 [101 kB] Get:22 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libva-x11-1 amd64 1.4.0~trusty [16.9 kB] Get:23 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libx264-148 amd64 3:0.148.2643+git5c65704-1~trusty [585 kB] Get:24 http://de.archive.ubuntu.com/ubuntu/ trusty/main libspeex1 amd64 1.2~rc1.1-1ubuntu1 [50.7 kB] Get:25 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libvdpau1 amd64 0.7-1ubuntu0.1 [23.9 kB] Get:26 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-xfixes0 amd64 1.10-2ubuntu1 [8,486 B] Get:27 http://de.archive.ubuntu.com/ubuntu/ trusty/universe libxvidcore4 amd64 2:1.3.2-9ubuntu1 [298 kB] Get:28 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libvidstab1.0 amd64 2:1.0~trusty1.3 [37.5 kB] Get:29 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/universe vdpau-va-driver amd64 0.7.3-2ubuntu1.2 [40.1 kB] Get:30 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main libx265-79 amd64 1.9-0ppa1~trusty [894 kB] Get:31 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main ffmpeg amd64 7:3.0.0+git2~trusty [32.2 MB] Get:32 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main va-driver-all amd64 1.4.0~trusty [8,804 B] Fetched 36.8 MB in 23s (1,554 kB/s) Extracting templates from packages: 100% Selecting previously unselected package i965-va-driver:amd64. (Reading database ... 195319 files and directories currently installed.) Preparing to unpack .../i965-va-driver_1.4.1~veboxmaster1-3-vebox~trusty_amd64.deb ... Unpacking i965-va-driver:amd64 (1.4.1~veboxmaster1-3-vebox~trusty) ... Selecting previously unselected package libasound2-data. Preparing to unpack .../libasound2-data_1.0.27.2-3ubuntu7_all.deb ... Unpacking libasound2-data (1.0.27.2-3ubuntu7) ... Selecting previously unselected package libasound2:amd64. Preparing to unpack .../libasound2_1.0.27.2-3ubuntu7_amd64.deb ... Unpacking libasound2:amd64 (1.0.27.2-3ubuntu7) ... Selecting previously unselected package libass5:amd64. Preparing to unpack .../libass5_0.13.0-1~trusty_amd64.deb ... Unpacking libass5:amd64 (0.13.0-1~trusty) ... Selecting previously unselected package libasyncns0:amd64. Preparing to unpack .../libasyncns0_0.8-4ubuntu2_amd64.deb ... Unpacking libasyncns0:amd64 (0.8-4ubuntu2) ... Selecting previously unselected package libcaca0:amd64. Preparing to unpack .../libcaca0_0.99.beta18-1ubuntu5_amd64.deb ... Unpacking libcaca0:amd64 (0.99.beta18-1ubuntu5) ... Selecting previously unselected package libfdk-aac0:amd64. Preparing to unpack .../libfdk-aac0_0.1.3.1_amd64.deb ... Unpacking libfdk-aac0:amd64 (0.1.3.1) ... Selecting previously unselected package libogg0:amd64. Preparing to unpack .../libogg0_1.3.1-1ubuntu1_amd64.deb ... Unpacking libogg0:amd64 (1.3.1-1ubuntu1) ... Selecting previously unselected package libflac8:amd64. Preparing to unpack .../libflac8_1.3.0-2ubuntu0.14.04.1_amd64.deb ... Unpacking libflac8:amd64 (1.3.0-2ubuntu0.14.04.1) ... Selecting previously unselected package libmp3lame0:amd64. Preparing to unpack .../libmp3lame0_3.99.5+repack1-7~trusty_amd64.deb ... Unpacking libmp3lame0:amd64 (3.99.5+repack1-7~trusty) ... Selecting previously unselected package libopencore-amrnb0:amd64. Preparing to unpack .../libopencore-amrnb0_0.1.3-2ubuntu1_amd64.deb ... Unpacking libopencore-amrnb0:amd64 (0.1.3-2ubuntu1) ... Selecting previously unselected package libopencore-amrwb0:amd64. Preparing to unpack .../libopencore-amrwb0_0.1.3-2ubuntu1_amd64.deb ... Unpacking libopencore-amrwb0:amd64 (0.1.3-2ubuntu1) ... Selecting previously unselected package libopus0:amd64. Preparing to unpack .../libopus0_1.1-0ubuntu1.2_amd64.deb ... Unpacking libopus0:amd64 (1.1-0ubuntu1.2) ... Selecting previously unselected package libvorbis0a:amd64. Preparing to unpack .../libvorbis0a_1.3.4-2~trusty1_amd64.deb ... Unpacking libvorbis0a:amd64 (1.3.4-2~trusty1) ... Selecting previously unselected package libvorbisenc2:amd64. Preparing to unpack .../libvorbisenc2_1.3.4-2~trusty1_amd64.deb ... Unpacking libvorbisenc2:amd64 (1.3.4-2~trusty1) ... Selecting previously unselected package libsndfile1:amd64. Preparing to unpack .../libsndfile1_1.0.25-7ubuntu2.1_amd64.deb ... Unpacking libsndfile1:amd64 (1.0.25-7ubuntu2.1) ... Selecting previously unselected package libpulse0:amd64. Preparing to unpack .../libpulse0_1%3a4.0-0ubuntu11.1_amd64.deb ... Unpacking libpulse0:amd64 (1:4.0-0ubuntu11.1) ... Selecting previously unselected package libsdl1.2debian:amd64. Preparing to unpack .../libsdl1.2debian_1.2.15-8ubuntu1.1_amd64.deb ... Unpacking libsdl1.2debian:amd64 (1.2.15-8ubuntu1.1) ... Selecting previously unselected package libsoxr0:amd64. Preparing to unpack .../libsoxr0_0.1.1-1_amd64.deb ... Unpacking libsoxr0:amd64 (0.1.1-1) ... Selecting previously unselected package libspeex1:amd64. Preparing to unpack .../libspeex1_1.2~rc1.1-1ubuntu1_amd64.deb ... Unpacking libspeex1:amd64 (1.2~rc1.1-1ubuntu1) ... Selecting previously unselected package libva-drm1:amd64. Preparing to unpack .../libva-drm1_1.4.0~trusty_amd64.deb ... Unpacking libva-drm1:amd64 (1.4.0~trusty) ... Selecting previously unselected package libva1:amd64. Preparing to unpack .../libva1_1.4.0~trusty_amd64.deb ... Unpacking libva1:amd64 (1.4.0~trusty) ... Selecting previously unselected package libva-x11-1:amd64. Preparing to unpack .../libva-x11-1_1.4.0~trusty_amd64.deb ... Unpacking libva-x11-1:amd64 (1.4.0~trusty) ... Selecting previously unselected package libvdpau1:amd64. Preparing to unpack .../libvdpau1_0.7-1ubuntu0.1_amd64.deb ... Unpacking libvdpau1:amd64 (0.7-1ubuntu0.1) ... Selecting previously unselected package libx264-148:amd64. Preparing to unpack .../libx264-148_3%3a0.148.2643+git5c65704-1~trusty_amd64.deb ... Unpacking libx264-148:amd64 (3:0.148.2643+git5c65704-1~trusty) ... Selecting previously unselected package libxcb-xfixes0:amd64. Preparing to unpack .../libxcb-xfixes0_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-xfixes0:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxvidcore4:amd64. Preparing to unpack .../libxvidcore4_2%3a1.3.2-9ubuntu1_amd64.deb ... Unpacking libxvidcore4:amd64 (2:1.3.2-9ubuntu1) ... Selecting previously unselected package vdpau-va-driver:amd64. Preparing to unpack .../vdpau-va-driver_0.7.3-2ubuntu1.2_amd64.deb ... Unpacking vdpau-va-driver:amd64 (0.7.3-2ubuntu1.2) ... Selecting previously unselected package libvidstab1.0. Preparing to unpack .../libvidstab1.0_2%3a1.0~trusty1.3_amd64.deb ... Unpacking libvidstab1.0 (2:1.0~trusty1.3) ... Selecting previously unselected package libx265-79:amd64. Preparing to unpack .../libx265-79_1.9-0ppa1~trusty_amd64.deb ... Unpacking libx265-79:amd64 (1.9-0ppa1~trusty) ... Selecting previously unselected package ffmpeg. Preparing to unpack .../ffmpeg_7%3a3.0.0+git2~trusty_amd64.deb ... Unpacking ffmpeg (7:3.0.0+git2~trusty) ... Selecting previously unselected package va-driver-all:amd64. Preparing to unpack .../va-driver-all_1.4.0~trusty_amd64.deb ... Unpacking va-driver-all:amd64 (1.4.0~trusty) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up i965-va-driver:amd64 (1.4.1~veboxmaster1-3-vebox~trusty) ... Setting up libasound2-data (1.0.27.2-3ubuntu7) ... Setting up libasound2:amd64 (1.0.27.2-3ubuntu7) ... Setting up libass5:amd64 (0.13.0-1~trusty) ... Setting up libasyncns0:amd64 (0.8-4ubuntu2) ... Setting up libcaca0:amd64 (0.99.beta18-1ubuntu5) ... Setting up libfdk-aac0:amd64 (0.1.3.1) ... Setting up libogg0:amd64 (1.3.1-1ubuntu1) ... Setting up libflac8:amd64 (1.3.0-2ubuntu0.14.04.1) ... Setting up libmp3lame0:amd64 (3.99.5+repack1-7~trusty) ... Setting up libopencore-amrnb0:amd64 (0.1.3-2ubuntu1) ... Setting up libopencore-amrwb0:amd64 (0.1.3-2ubuntu1) ... Setting up libopus0:amd64 (1.1-0ubuntu1.2) ... Setting up libvorbis0a:amd64 (1.3.4-2~trusty1) ... Setting up libvorbisenc2:amd64 (1.3.4-2~trusty1) ... Setting up libsndfile1:amd64 (1.0.25-7ubuntu2.1) ... Setting up libpulse0:amd64 (1:4.0-0ubuntu11.1) ... Setting up libsdl1.2debian:amd64 (1.2.15-8ubuntu1.1) ... Setting up libsoxr0:amd64 (0.1.1-1) ... Setting up libspeex1:amd64 (1.2~rc1.1-1ubuntu1) ... Setting up libva-drm1:amd64 (1.4.0~trusty) ... Setting up libva1:amd64 (1.4.0~trusty) ... Setting up libva-x11-1:amd64 (1.4.0~trusty) ... Setting up libvdpau1:amd64 (0.7-1ubuntu0.1) ... Setting up libx264-148:amd64 (3:0.148.2643+git5c65704-1~trusty) ... Setting up libxcb-xfixes0:amd64 (1.10-2ubuntu1) ... Setting up libxvidcore4:amd64 (2:1.3.2-9ubuntu1) ... Setting up vdpau-va-driver:amd64 (0.7.3-2ubuntu1.2) ... Setting up libvidstab1.0 (2:1.0~trusty1.3) ... Setting up libx265-79:amd64 (1.9-0ppa1~trusty) ... Setting up ffmpeg (7:3.0.0+git2~trusty) ... Setting up va-driver-all:amd64 (1.4.0~trusty) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... |
Das war’s schon! ffmpeg wurde erfolgreich installiert.