2023-09-15, 04:14 PM
Hello fellow Jelly-people,
So I recently purchased a HDHomeRun Flex for the sole purpose of getting OTA ATSC 3.0 stations. In my area all my local major stations are now using this and the signal, for whatever reason, is way better than the ATSC 1.0 stations. Little did I know when I purchased this, although I have beautiful video, I wouldn't have sound. This as I understand it is because FFmpeg does not currently officially support AC4 audio and there is some difficulty with Dolby to get approval for adding support.
There is a fork of the FFmpeg project (https://github.com/sub3/FFmpeg/tree/ac4) that claims to have a working AC4 patch, so I though I would just pull this repo and compile a custom ffmpeg.
I did this then copied the newly compiled ffmpeg and ffprobe files to a new path on my Jellyfin docker container. I then went into Jellyfin and changed the ffmpeg path. After clicking save I get the following error message:
Looking at the log I see this:
To compile I used an Ubuntu 22.04 server running the following commands:
Envoronment:
Jellyfin 10.8.10 Docker x64 - Unraid
Any idea why I am getting this ffmpeg verification error when selecting the custom ffmpeg?
So I recently purchased a HDHomeRun Flex for the sole purpose of getting OTA ATSC 3.0 stations. In my area all my local major stations are now using this and the signal, for whatever reason, is way better than the ATSC 1.0 stations. Little did I know when I purchased this, although I have beautiful video, I wouldn't have sound. This as I understand it is because FFmpeg does not currently officially support AC4 audio and there is some difficulty with Dolby to get approval for adding support.
There is a fork of the FFmpeg project (https://github.com/sub3/FFmpeg/tree/ac4) that claims to have a working AC4 patch, so I though I would just pull this repo and compile a custom ffmpeg.
I did this then copied the newly compiled ffmpeg and ffprobe files to a new path on my Jellyfin docker container. I then went into Jellyfin and changed the ffmpeg path. After clicking save I get the following error message:
Looking at the log I see this:
Code:
[11:03:33] [INF] [414] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Attempting to update encoder path to /customffmpeg/ffmpeg. pathType: Custom
[11:03:33] [ERR] [414] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg validation: The process returned no result
[11:03:33] [ERR] [414] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL POST /System/MediaEncoder/Path.
MediaBrowser.Common.Extensions.ResourceNotFoundException: Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown.
To compile I used an Ubuntu 22.04 server running the following commands:
Code:
sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libmp3lame-dev \
libsdl2-dev \
libtool \
libva-dev \
libvdpau-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
meson \
ninja-build \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev
git clone -b ac4 --single-branch https://github.com/sub3/FFmpeg.git
cd FFmpeg/
./configure
make
Envoronment:
Jellyfin 10.8.10 Docker x64 - Unraid
Any idea why I am getting this ffmpeg verification error when selecting the custom ffmpeg?