Airvideo
-
download and extract the custom version of FFmpeg from: http://www.inmethod.com/air-video/licenses.html (use the 2.2.5 version!)
-
Install the following FreeBSD packages (enable lame in the config screen):
cd /usr/ports/multimedia/ffmpeg
make
make clean
The complicated version:
/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
- Compile the custom ffmpeg with the following options:
./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
-
After the ffmpeg build is complete (adjust ffmpeg path, symlink to /usr/local/bin if required)
-
Locate the “AirVideoServerLinux.jar” and create a “test.properties” in the same directory with the following info:
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
-
Install diablo-JDK16 from ports (manually copy the file into /usr/ports/distfile)
-
Run AirVideo server with: java -Djava.awt.headless=true -jar AirVideoServerLinux.jar test.properties
-
Enjoy!