Hi,
da es hierbei ja nicht um Ubuntu selbst geht, frage ich mal in diesem OpenSource Bereich.
Ich habe hier eine tolle Anleitung gefunden wie man den MPV Videoplayer mit Hardware-Decoding auf dem Raspberry-Pi installieren kann.
Man muss dabei MPV von der Source selbst bauen, aber anscheinend gibt es da bereits Hilfe mit Skripten.
Kurz gesagt, ich wollte fragen, ob das soweit sicher aussieht, da ich eigentlich kaum Ahnung von git, und von Source bauen habe.
1 2 3 4 5 6 7 8 9 10 | sudo apt-get install -y gperf bison flex autoconf automake make texinfo help2man libtool libtool-bin ncurses-dev git yasm mercurial cmake cmake-curses-gui libfribidi-dev checkinstall libfontconfig1-dev libgl1-mesa-dev libgles2-mesa-dev gnutls-dev libsmbclient-dev libpulse-dev libbluray-dev libdvdread-dev libluajit-5.1-dev libjpeg-dev libv4l-dev libcdio-cdda-dev libcdio-paranoia-dev git clone https://github.com/mpv-player/mpv-build.git cd mpv-build echo --enable-mmal >> ffmpeg_options ./use-mpv-release ./use-ffmpeg-release ./update ./rebuild -j4 sudo ./install |
The -j4 asks it to use 4 parallel processes.
Note that this command implicitly does an update followed by a full cleanup (even if nothing changes), which is supposed to reduce possible problems with incremental builds. You can do incremental builds by explicitly calling ./build. This can be faster on minor updates, but breaks sometimes, e.g. the FFmpeg build system can sometimes be a bit glitchy.
Cleanup gefährlich für mein Gesamtsystem?
Install mpv with:
sudo ./install
mpv doesn't need to be installed. The binary ./mpv/build/mpv can be used as-is. You can copy it to /usr/local/bin manually. Note that libass and ffmpeg will be statically linked with mpv when using the provided scripts, and no ffmpeg or libass libraries are/need to be installed.
Warum heißt es 'doesn't need tobe installed' wenn zuvor das dieses .install Skript ausgeführt wird? Was macht das install-Skript? ffmpeg holen/aktualisieren?
Instructions for Debian and Ubuntu
Warning: DO NOT USE THESE INSTRUCTIONS UNLESS YOU KNOW WHAT YOU ARE DOING.
These scripts are fragile (probably rather Debian's fault than ours). They will often fail with weird errors that are hard to solve. They only exist for users who want to hurt themselves. Use the generic instructions, unless you really insist on having a Debian package as result.
Dem oben erwähnten Tutorial zufolge soll das wohl ohne Probleme gehen.
Danke für jegliche Hilfe oder Tipps und Erklärungen. Schönes Rest-Wochenende,LG Leo
Bearbeitet von sebix:
Falsche Versionsangabe entfernt.