• 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 SOLVED: Playback issues after update

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Playback issues after update

    After the latest update (or maybe the one before) I cannot play anything if transcoding is involved
    Despair
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Italy
    #1
    2024-07-08, 02:52 PM
    After the update to 10.9.7, or maybe the one before (I'm not sure), I cannot play a lot of files: after a bit of troubleshooting I think playback fails if transcoding is involved, because I found those lines in the logfile:

    root@jellyfin:/config/log# cat log_20240708.log | grep ffmpeg
    [2024-07-08 11:35:50.070 +00:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_MEDIA_DIR, /media]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]"]
    [2024-07-08 11:35:50.076 +00:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll", "--datadir", "/config", "--cachedir", "/cache", "--ffmpeg", "/usr/local/bin/ffmpeg"]
    System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/usr/local/bin/ffmpeg' with working directory '/'. No such file or directory
    [2024-07-08 11:39:48.326 +00:00] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: "/usr/local/bin/ffmpeg"

    I tried to search online for this issue, and I found people suggesting to set the ffmpeg path under Settings > Playback, but on my server the field is empty and greyed out.

    Server version: 10.9.7 - latest official docker image
    Client version: WebUI on Firefox, latest app on WebOS, same issue
    OS: Archlinux


    Attached Files
    .zip   log.zip (Size: 689.54 KB / Downloads: 77)
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-08, 03:08 PM
    At some point were you trying to use a different ffmpeg than what is bundled with Jellyfin? The path it is looking at is not the default path. Should be /usr/lib/jellyfin-ffmpeg/ffmpeg.
    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]
    Despair
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Italy
    #3
    2024-07-08, 03:11 PM
    Never tried to change ffmpeg, always used the default confguration. The strange thing is, in the first line, seems like it is aware of the right path: [JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg] but after that it tries to launch ffmpeg from /usr/local/bin/ffmpeg
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-08, 03:13 PM
    Can you share the contents of container path /config/config/encoding.xml? Whatever that translates to for your host path.
    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]
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,070
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #5
    2024-07-08, 03:13 PM (This post was last modified: 2024-07-08, 03:20 PM by theguymadmax. Edited 1 time in total.)
    Are you manually running Jellyfin from the terminal? Never mind, I see you're using docker.
    Despair
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Italy
    #6
    2024-07-08, 03:22 PM (This post was last modified: 2024-07-08, 03:22 PM by Despair.)
    (2024-07-08, 03:13 PM)theguymadmax Wrote: Are you manually running Jellyfin from the terminal? Never mind, I see you're using docker.

    No, I'm not. It starts with the container, I suppose this is the default way to do?

    (2024-07-08, 03:13 PM)TheDreadPirate Wrote: Can you share the contents of container path /config/config/encoding.xml?  Whatever that translates to for your host path.

    Sure, here you go.


    Attached Files
    .zip   encoding.zip (Size: 954 bytes / Downloads: 80)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-07-08, 03:25 PM
    What does your docker compose look like? Your encoding.xml file has the right path for ffmpeg.
    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]
    Despair
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Italy
    #8
    2024-07-08, 03:32 PM
    (2024-07-08, 03:25 PM)TheDreadPirate Wrote: What does your docker compose look like?  Your encoding.xml file has the right path for ffmpeg.

    I don't have a docker compose, I just run the container. I have a bunch of containers, so I use Portainer to manage them because it's a bit easier and faster.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-07-08, 04:07 PM
    In the Portainer page for Jellyfin are there any environment variables that would change the ffmpeg path?
    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]
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,070
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #10
    2024-07-08, 08:12 PM (This post was last modified: 2024-07-08, 08:30 PM by theguymadmax. Edited 1 time in total.)
    In Portainer under Local click on your Containers then select your Jellyfin container. Then click the “Duplicate/Edit” Menu under Actions on the top menu.  Under “Advanced container settings” select “Env”. Does your ffmpeg path match my screenshot? If not then go ahead and change it.

       
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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