Last active
May 8, 2017 16:00
-
-
Save ocReaper/00b854e8d096479e86592fad0ccc5362 to your computer and use it in GitHub Desktop.
Fix Emby Server on Debian (or Raspbian) if throws ffmpeg error in the log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get and compile ffmpeg | |
cd /usr/src | |
sudo git clone git://git.videolan.org/x264 | |
cd x264 | |
sudo ./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl | |
sudo make | |
sudo make install | |
cd .. | |
sudo git clone git://source.ffmpeg.org/ffmpeg.git | |
cd ffmpeg | |
sudo apt-get install libmp3lame-dev libomxil-bellagio-dev | |
sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-libmp3lame --enable-omx-rpi --disable-debug --enable-version3 --enable-nonfree | |
sudo make -j4 | |
sudo make install | |
# Make Emby use this ffmpeg version: | |
sudo nano /usr/bin/emby-server | |
change: | |
FFMPEG_BIN=$(command -v ffmpeg) | |
to | |
FFMPEG_BIN=/usr/local/bin/ffmpeg | |
and change: | |
FFPROBE_BIN=$(command -v ffprobe) | |
to | |
FFPROBE_BIN=/usr/local/bin/ffprobe | |
sudo service emby-server restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment