• 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 FFMPEG not installed Ubuntu

     
    • 0 Vote(s) - 0 Average

    FFMPEG not installed Ubuntu

    Jerrad Bieno
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    #1
    2024-07-31, 11:59 PM
    I've been having some issues with select movies where it errors out on client devices at the start of playback. The logs usually show some sort of FFMPEG error code status 1 exit. When I looked for FFmpeg on my jellyfin server it doesn't appear to be there. It is running ubuntu server, so I followed this install instructions: link. This seemed to imply it installs jellyfin automatically but that doesn't appear to be the case, at least it isn't in /usr/bin and running "ffmpeg" says command not found. Is there additional steps I need to do to get that installed?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-01, 12:38 AM (This post was last modified: 2024-08-01, 12:39 AM by TheDreadPirate.)
    By default, Jellyfin-ffmpeg is not symlinked to /usr/bin. But that is not required.

    Share the ffmpeg log that is generated. Code 1 means it ran but something isn't configured correctly.

    The logs are located in /var/log/jellyfin. Post one of the ffmpeg logs to pastebin.

    And also provide your system specs.
    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]
    Jerrad Bieno
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    #3
    2024-08-01, 02:49 PM
    Specs below. I tried playing LOTW Return of the King. It shows it is HEVC encoded, and when I attempt to play it I can see from the jellyfin server dashboard that it sees the client device is compatible and attempts to direct play it. However it errors out immediately with "Too Many Errors". I've been able to play other HEVC movies successfully. For example, Two Towers works fine and appears to show the same media information when looking at the server:

    Two Towers (Plays fine)

    Code:
    Video
    Title: [WMAN-LorD] - 4K - HEVC - HDR
    Codec: HEVC
    AVC: No
    Profile: Main 10
    Level: 150
    Resolution: 3840x2160
    Aspect ratio: 16:9
    Anamorphic: No
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 9176 kbps
    Bit depth: 10 bit
    Video range: HDR
    Video range type: HDR10
    Color space: bt2020nc
    Color transfer: smpte2084
    Color primaries: bt2020
    Pixel format: yuv420p10le
    Ref frames: 1


    Return of the King (Doesn't Play)

    Code:
    Video
    Title: 4K HEVC HDR
    Codec: HEVC
    AVC: No
    Profile: Main 10
    Level: 153
    Resolution: 3840x1610
    Aspect ratio: 2.40:1
    Anamorphic: No
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 28306 kbps
    Bit depth: 10 bit
    Video range: HDR
    Video range type: HDR10
    Color space: bt2020nc
    Color transfer: smpte2084
    Color primaries: bt2020
    Pixel format: yuv420p10le
    Ref frames: 1

    Here is the pastebin of the FFMPEG logs when trying to play Return of the King with it erroring out on startup: https://pastebin.com/2uGRShyP
    Since I have a Haswell generation CPU I have only H264, MPEG2, and VP8 checked under "Enable HW Decoding". I also have VAAPI selected for HW Acceleration. The VA-API device is /dev/dri/renderD128, I don't know how to determine if that is correct. Perhaps that is part of my issue? I didn't explicitly choose that device at all.



    Server:
    OS: Ubuntu Servier 24.04 LTS
    CPU: Intel® Core™ i5-4460S CPU @ 2.90GHz
    IGPU: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
    RAM: 16GB
    HDD: ST2000DX001 Seagate 2-TB 3.5 SATA 6G MLC SSHD

    Client:
    Android TV OS Version: 12
    Jellyfin Version: jellyfin-androidtv 0.16.11
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-01, 02:54 PM
    You enabled tone mapping on a iGPU that does not support it. Your iGPU model is way off, btw.

    https://www.intel.com/content/www/us/en/...tions.html

    Intel® HD Graphics 4600

    Check the following boxes.

    MPEG2
    H264
    VC-1
    VP8

    Enable hardware encoding

    UNcheck any tone mapping boxes you checked.
    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]
    Jerrad Bieno
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    #5
    2024-08-01, 03:12 PM
    Thanks for the headsup on the igpu model.

    I performed your recommended changes, I still get an error but it appears to be a different error than before:

    Stream mapping:
      Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_vaapi))
      Stream #0:1 -> #0:1 (truehd (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [hevc_vaapi @ 0x6246b525ff00] No usable encoding profile found.
    [vost#0:0/hevc_vaapi @ 0x6246b525fc00] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [libfdk_aac @ 0x6246bd1ef9c0] 2 frames left in the queue on closing
    Conversion failed!

    https://pastebin.com/cCSXb1jp
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-01, 03:17 PM (This post was last modified: 2024-08-01, 03:18 PM by TheDreadPirate. Edited 1 time in total.)
    Also, the only meaningful difference in your videos is the codec level. 150 vs 153, both of which your device should support, and the bit rate being much higher for RotK. On your, I'm assuming, CCwGTV 4K do you have the max bit rate set to auto in the jellyfin app? The auto setting often incorrectly detects the connection's available bandwidth and will set the max bit rate really low, triggering a transcode unnecessarily. Manually select the highest available bit rate, 120Mbps.

    You enabled HEVC encoding. Your iGPU does not support that.

    Code:
    Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_vaapi))

    Uncheck "Allow encoding in HEVC".
    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]
    Jerrad Bieno
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    #7
    2024-08-01, 05:16 PM
    Ah shoot I missed the "Allow encoding in HEVC" setting. I updated the bit rate from Auto to 120Mbps and that seemed to do the trick! Thanks so much!
    « 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