• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Use custom compiled FFmpeg

     
    • 0 Vote(s) - 0 Average

    Use custom compiled FFmpeg

    Hoof
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #1
    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:

    [Image: vi8EHIn.png]

    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?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Use custom compiled FFmpeg - by Hoof - 2023-09-15, 04:14 PM
    RE: Use custom compiled FFmpeg - by skribe - 2023-09-15, 05:03 PM
    RE: Use custom compiled FFmpeg - by Hoof - 2023-09-15, 05:50 PM
    RE: Use custom compiled FFmpeg - by skribe - 2023-09-15, 06:16 PM
    RE: Use custom compiled FFmpeg - by bitmap - 2023-09-15, 11:06 PM
    RE: Use custom compiled FFmpeg - by Hoof - 2023-09-16, 02:37 PM
    RE: Use custom compiled FFmpeg - by bitmap - 2023-09-16, 04:00 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode