Benutzer-Werkzeuge

Webseiten-Werkzeuge


freebsd:airvideo

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
freebsd:airvideo [2010/12/13 12:53]
Idefix
freebsd:airvideo [2013/12/15 15:46] (aktuell)
idefix freebsd-airvideo umbenannt in freebsd:airvideo
Zeile 1: Zeile 1:
 +1. download and extract the custom version of FFmpeg from:
 +http:<​nowiki>//</​nowiki>​www.inmethod.com/​air-video/​licenses.html (use the 2.2.5 version!)
 +
 +2. Install the following FreeBSD packages (enable lame in the config screen):
 +<​code>​
 +cd /​usr/​ports/​multimedia/​ffmpeg
 +make
 +make clean
 +</​code>​
 +
 +The complicated version:
 +<​code>​
 +/​usr/​ports/​audio/​lame
 +pkg_add -r faad2
 +pkg_add -r x264
 +pkg_add -r x264-devel (optional)
 +pkg_add -r mpeg4ip
 +pkg_add -r git
 +pkg_add -r sdl
 +</​code>​
 +
 +
 +3. Compile the custom ffmpeg with the following options:
 +
 +<​code>​
 +./configure --prefix=/​usr/​local/​AirVideo --enable-pthreads --disable-shared --enable-static --enable-gpl --enable-libx264 \\
 +--enable-libmp3lame --enable-libfaad --disable-decoder=aac --extra-cflags="​-I/​usr/​local/​src/​x264-snap -I/​usr/​local/​include \\
 +-D__BSD_VISIBLE -DBROKEN_RELOCATIONS"​ --extra-ldflags=-L/​usr/​local/​lib
 +gmake
 +gmake install clean
 +</​code>​
 +
 +
 +4. After the ffmpeg build is complete (adjust ffmpeg path, symlink to /​usr/​local/​bin if required)
 +
 +
 +5. Locate the "​AirVideoServerLinux.jar"​ and create a "​test.properties"​ in the same directory with the following info:
 +<​code>​
 +path.mp4creator = /​usr/​local/​bin/​mp4creator
 +path.ffmpeg = /​usr/​local/​bin/​ffmpeg
 +path.faac = /​usr/​local/​bin/​faac
 +password ​ ======
 +subtitles.encoding = windows-1250
 +subtitles.font = Verdana
 +folders = Movies:/​Volumes/​Data/​Movies,​Series:/​Volumes/​Data/​Series
 +</​code>​
 +
 +6. Install diablo-JDK16 from ports (manually copy the file into /​usr/​ports/​distfile)
 +
 +7. Run AirVideo server with: java -Djava.awt.headless=true -jar AirVideoServerLinux.jar test.properties
 +
 +8. Enjoy!
 +
 +
 +[http://​www.inmethod.com/​forum/​posts/​list/​1778.page#​10662[Original Version]]
  
freebsd/airvideo.txt · Zuletzt geändert: 2013/12/15 15:46 von idefix