• 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 Missing FFmpeg in Jellyfin Installation via CasaOS on Ubuntu Server

     
    • 0 Vote(s) - 0 Average

    Missing FFmpeg in Jellyfin Installation via CasaOS on Ubuntu Server

    Jalle914
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Sweden
    #1
    2025-02-09, 09:00 PM
    Hello,

    Hello,
    I have installed Jellyfin through CasaOS on my Ubuntu Server (24.04.1 LTS (Noble Numbat)), and it has been working fine. However, while adjusting some settings, I realized that FFmpeg is not installed.
    When running the following command:
    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -version

    I receive the following response:
    Code:
    -bash: /usr/lib/jellyfin-ffmpeg/ffmpeg: No such file or directory

    I then tried running:
    Code:
    apt install jellyfin-ffmpeg

    but got the following error:

    Code:
    E: Unable to locate package jellyfin-ffmpeg

    What can I do to resolve this? I can always move away from CasaOS, which is my plan when I build my new server, but for now, I would prefer to fix this if possible.

    Thank you.
    bitmap
    Offline

    Community Moderator

    Posts: 776
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #2
    2025-02-09, 09:28 PM
    You can find jellyfin-ffmpeg on Github, including a generic version. You can also add the Jellyfin repo and/or grab a release from there: https://repo.jellyfin.org/?path=/ffmpeg.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    Jalle914
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Sweden
    #3
    2025-02-09, 09:42 PM (This post was last modified: 2025-02-09, 09:52 PM by Jalle914. Edited 1 time in total.)
    (2025-02-09, 09:28 PM)bitmap Wrote: You can find jellyfin-ffmpeg on Github, including a generic version. You can also add the Jellyfin repo and/or grab a release from there: https://repo.jellyfin.org/?path=/ffmpeg.

    Thank you for this. I tried installing a generic version without success but I will try again.

    What would be the easiet option, if you don't mind me asking. I'm pretty new to Linux.

    edit: Also, as I'm running 24.04, which ffmpeg version should I use? Or should I go with the generic Linux version?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-02-10, 02:00 PM (This post was last modified: 2025-02-10, 02:00 PM by TheDreadPirate.)
    If you are using CasaOS, that means you are running Jellyfin in Docker, correct? jellyfin-ffmpeg would only exist within the container and wouldn't be accessible from Ubuntu directly. And jellyfin-ffmpeg is included with the Docker image.

    And since you are using Docker that also means that you didn't add the jellyfin repo (not required for Docker installs). So trying to install jellyfin-ffmpeg via apt would not work since our packages are not included in Ubuntu's repos. Only our own.

    But, again, jellyfin-ffmpeg is already part of the Docker container. You can test this with a docker command.

    Code:
    docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -version

    Code:
    chris@rat-trap:~$ docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -version
    ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
    built with gcc 12 (Debian 12.2.0-14)
    configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
    libavutil      59.  8.100 / 59.  8.100
    libavcodec     61.  3.100 / 61.  3.100
    libavformat    61.  1.100 / 61.  1.100
    libavdevice    61.  1.100 / 61.  1.100
    libavfilter    10.  1.100 / 10.  1.100
    libswscale      8.  1.100 /  8.  1.100
    libswresample   5.  1.100 /  5.  1.100
    libpostproc    58.  1.100 / 58.  1.100
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jalle914
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Sweden
    #5
    2025-02-10, 05:19 PM
    (2025-02-10, 02:00 PM)TheDreadPirate Wrote: If you are using CasaOS, that means you are running Jellyfin in Docker, correct?  jellyfin-ffmpeg would only exist within the container and wouldn't be accessible from Ubuntu directly.  And jellyfin-ffmpeg is included with the Docker image.

    And since you are using Docker that also means that you didn't add the jellyfin repo (not required for Docker installs).  So trying to install jellyfin-ffmpeg via apt would not work since our packages are not included in Ubuntu's repos.  Only our own.

    But, again, jellyfin-ffmpeg is already part of the Docker container.  You can test this with a docker command.

    Code:
    docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -version

    Code:
    chris@rat-trap:~$ docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -version
    ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
    built with gcc 12 (Debian 12.2.0-14)
    configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
    libavutil      59.  8.100 / 59.  8.100
    libavcodec    61.  3.100 / 61.  3.100
    libavformat    61.  1.100 / 61.  1.100
    libavdevice    61.  1.100 / 61.  1.100
    libavfilter    10.  1.100 / 10.  1.100
    libswscale      8.  1.100 /  8.  1.100
    libswresample  5.  1.100 /  5.  1.100
    libpostproc    58.  1.100 / 58.  1.100

    Thank you for this. 

    Thing is, I never had the usr/lib/jellyfin-ffmpeg/ffmpeg directory in the first place. It was never installed or I did something during the setup. Do you know how that could of happened? 

    I manually installed it through your Github, gave permission to the docker to see and use my Nvidia GPU and now it's working as intended (atleast what I can see). 

    My next install won't be through casaOS. But I'm glad I fixed it in the mean time.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-02-10, 07:06 PM
    Can you clarify how CasaOS is running Jellyfin?  As an "app"?  Or through Docker?  If Docker, which image are they using.

    Unless you are using some off brand Jellyfin image, jellyfin-ffmpeg should have been part of the Docker image.  Or does the CasaOS "Jellyfin app" that doesn't include ffmpeg?  Assuming this is an "app" and not docker.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jalle914
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Sweden
    #7
    2025-02-12, 03:29 PM
    (2025-02-10, 07:06 PM)TheDreadPirate Wrote: Can you clarify how CasaOS is running Jellyfin?  As an "app"?  Or through Docker?  If Docker, which image are they using.

    Unless you are using some off brand Jellyfin image, jellyfin-ffmpeg should have been part of the Docker image.  Or does the CasaOS "Jellyfin app" that doesn't include ffmpeg?  Assuming this is an "app" and not docker.

    I have installed it through their "App Store". They have two options there, Jellyfin and Jellyfin (Nvidia GPU). I chose the first one.

    It get its docker image from linuxserver/jellyfin. So I believe it should be correct.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-02-12, 04:45 PM
    In that case, the container should have ffmpeg bundled with it. Linuxserver also includes our custom ffmpeg with their image.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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