I've a fresh install of Ubuntu Server 12.04 LTS and the application "Videos5":
Indexing and Encoding doesnt work:root@hda:~# uname -a
Linux hda 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Code: Select all
/var/hda/files/Movies/Jabberwocky 1977/Jabberwocky.avi
sh: 1: /usr/bin/mediainfo: not found
sh: 1: /usr/bin/mediainfo: not found
grep: ../logs/encode.log: No such file or directory
PHP Notice: Undefined offset: 0 in /var/hda/web-apps/videos5/html/index.php on line 1359
Code: Select all
root@hda:~# ls -rtl /var/hda/files/Movies/Jabberwocky\ 1977/Jabberwocky.avi
-rwxrwxrwx 1 martin 1001 1565556736 Dez 24 2009 /var/hda/files/Movies/Jabberwocky 1977/Jabberwocky.avi
Everything works now:root@hda:~# apt-get install mediainfo
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
libmediainfo0 libtinyxml2.6.2 libzen0
Die folgenden NEUEN Pakete werden installiert:
libmediainfo0 libtinyxml2.6.2 libzen0 mediainfo
0 aktualisiert, 4 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
Es müssen 1.961 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 5.200 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? j
Hole:1 http://de.archive.ubuntu.com/ubuntu/ precise/universe libtinyxml2.6.2 amd64 2.6.2-1build1 [35,3 kB]
Hole:2 http://de.archive.ubuntu.com/ubuntu/ precise/universe libzen0 amd64 0.4.23-1ubuntu1 [113 kB]
Hole:3 http://de.archive.ubuntu.com/ubuntu/ precise/universe libmediainfo0 amd64 0.7.52-1 [1.782 kB]
Hole:4 http://de.archive.ubuntu.com/ubuntu/ precise/universe mediainfo amd64 0.7.52-1 [31,2 kB]
Es wurden 1.961 kB in 3 s geholt (581 kB/s)
Vormals nicht ausgewähltes Paket libtinyxml2.6.2 wird gewählt.
(Lese Datenbank ... 111339 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von libtinyxml2.6.2 (aus .../libtinyxml2.6.2_2.6.2-1build1_amd64.deb) ...
Vormals nicht ausgewähltes Paket libzen0 wird gewählt.
Entpacken von libzen0 (aus .../libzen0_0.4.23-1ubuntu1_amd64.deb) ...
Vormals nicht ausgewähltes Paket libmediainfo0 wird gewählt.
Entpacken von libmediainfo0 (aus .../libmediainfo0_0.7.52-1_amd64.deb) ...
Vormals nicht ausgewähltes Paket mediainfo wird gewählt.
Entpacken von mediainfo (aus .../mediainfo_0.7.52-1_amd64.deb) ...
Trigger für man-db werden verarbeitet ...
libtinyxml2.6.2 (2.6.2-1build1) wird eingerichtet ...
libzen0 (0.4.23-1ubuntu1) wird eingerichtet ...
libmediainfo0 (0.7.52-1) wird eingerichtet ...
mediainfo (0.7.52-1) wird eingerichtet ...
Trigger für libc-bin werden verarbeitet ...
ldconfig deferred processing now taking place
root@hda:~# ls /usr/bin/mediainfo
/usr/bin/mediainfo
root@hda:~#
Code: Select all
[As user www-data:]
$ /usr/bin/php /var/hda/web-apps/videos5/html/index.php find
...
/var/hda/files/Movies/Jabberwocky 1977/Jabberwocky.avi
-----------
At next it seems like handbrake-cli is missing (therefore videos doesnt encode):
Code: Select all
root@hda:~# ls -rtl /usr/bin/HandBrakeCLI
ls: cannot access /usr/bin/HandBrakeCLI: No such file or directory
(make sure you have installed python-software-properties)
Then:root@hda:~# add-apt-repository ppa:stebbins/handbrake-releases && apt-get update
You are about to add the following PPA to your system:
These are the official HandBrake releases for Ubuntu. Official web site http://handbrake.fr/
HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder, available for MacOS X, Linux and Windows.
More info: https://launchpad.net/~stebbins/+archiv ... e-releases
Press [ENTER] to continue or ctrl-c to cancel adding it
...
Everything seems to be fine:root@hda:~# apt-get install handbrake-cli
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Die folgenden NEUEN Pakete werden installiert:
handbrake-cli
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
...
Currently I'm testing the encoding, will give you feedback after the first successfull encode.root@hda:~# ls -rtl /usr/bin/HandBrakeCLI
-rwxr-xr-x 1 root root 17971528 Jul 18 18:16 /usr/bin/HandBrakeCLI