-
Notifications
You must be signed in to change notification settings - Fork 107
Running Telly: FFMpeg
You may have noticed this in your config file:
# FFMpeg = true # if this is uncommented, streams are buffered through ffmpeg;
# ffmpeg must be installed and on your $PATH
# if you want to use this with Docker, be sure you use the correct docker image
"A complete, cross-platform solution to record, convert and stream audio and video."
Normally, Telly just redirects Plex to the provider stream. If this stream is incompatible with Plex, or if network problems occur, Plex can give you that dreaded "Failure to tune" error.
With FFMpeg enabled, Telly will retrieve the stream and run it through FFMpeg on the way to Plex to convert it into a format known compatible with Plex. It can also smooth out network hiccups by providing a small buffer.
There are two steps:
If you are using docker, choose the tellytv/telly:dev-ffmpeg
docker image. FFMpeg is installed in that container.
Go to Step 2.
First, install FFMpeg and ensure it is in your system path.
On Ubuntu linux, just open a terminal and type:
sudo apt install ffmpeg
On a Mac with Homebrew installed:
brew install ffmpeg
For other systems:
On Windows, install it in a directory with no spaces [i.e. C:\ffmpeg
rather than C:\Program Files\FFMpeg
]. As I write this, I cannot recall exactly why, just that it took a couple hours of troubleshooting to figure out that one user's problems were caused by this. Spaces in paths are the work of the devil. Avoid them.
If your path is correctly configured, you will be able to open a terminal or command window and type "ffmpeg" to run it, without changing into any particular directory first.
apt
and brew
will take care of that for you. On windows, you'll need to add the ffmpeg bin
directory to your path. By that I mean the directory where ffmpeg.exe
in located. If you download one of the standard Windows ZIP files from ffmpeg.org and uncompress it, that's the bin
directory underneath the main directory.
Here's a detailed walkthrough on installing ffmpeg in Windows. It covers downloading, uncompressing, and setting up the path.
Then, in your config, uncomment the FFMpeg line:
FFMpeg = true # if this is uncommented, streams are buffered through ffmpeg;
# ffmpeg must be installed and on your $PATH
# if you want to use this with Docker, be sure you use the correct docker image
That's all you need do. Restart telly [or its docker container] to get it to read the config file again and telly will send all streams through ffmpeg on the way to Plex.
You can verify that telly is using ffmpeg by watching its logs. There are examples of what the telly log looks like while playing a channel with and without ffmpeg in the Troubleshooting section of the wiki.
- Overview
- Standard Configuration
- Unusual Configurations
- Windows Service
- Linux Autostart
- Logs
- TVHeadend with 1.1