• 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: FFmpeg exits with code 187 when playing select files

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    SOLVED: FFmpeg exits with code 187 when playing select files

    FFmpeg exited with code 187
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2025-01-21, 12:42 AM
    Your GPU does not support AV1 encoding.

    But that isn't the problem. Why do you have so many GPUs?

    With LXC's, you need to install all of the intel drivers on the host.

    https://jellyfin.org/docs/general/admini...on-proxmox
    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]
    Ch3ck3rM0n
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    Country:Germany
    #12
    2025-01-21, 04:57 PM (This post was last modified: 2025-01-21, 04:59 PM by Ch3ck3rM0n. Edited 1 time in total.)
    First of all I found the issue and now it is working. Your link give me the last kick in the ass to find out :-D
    It was a permission error. I don't know why but the renderD*s have been part of the wrong group "_ssh" and not "render".

    Code:
    root@jellyfin:/dev/dri# ll
    total 0
    drwxr-xr-x  3 root root      220 Jan 21 17:27 ./
    drwxr-xr-x 10 root root      660 Jan 21 17:48 ../
    drwxr-xr-x  2 root root      200 Jan 21 17:27 by-path/
    crw-rw----  1 root video 226,  1 Jan 20 16:08 card1
    crw-rw----  1 root video 226,  5 Jan 20 16:08 card5
    crw-rw----  1 root video 226,  6 Jan 20 16:08 card6
    crw-rw----  1 root video 226,  7 Jan 20 16:08 card7
    crw-rw----  1 root _ssh  226, 128 Jan 20 16:08 renderD128
    crw-rw----  1 root _ssh  226, 133 Jan 20 16:08 renderD133
    crw-rw----  1 root _ssh  226, 134 Jan 20 16:08 renderD134
    crw-rw----  1 root _ssh  226, 135 Jan 20 16:08 renderD135

    To fix it, I got two options "changing ownership" or "add jellyfin to _ssh group". I changed the ownership and now the movie is streaming. So thank you for the second look, sometimes it needs more eyes on it.

    Anyway, to answer your questions about so many GPUs. It is because of DKMS:
    https://github.com/strongtz/i915-sriov-d.../README.md

    It is modifing the official kernel to passphrough graphic card to virtual machine (for me two Windows 11 hosts), explained here:
    https://www.derekseaman.com/2024/07/prox...-lake.html

    But about AV1 are you sure? The monkey say it supports the codec: https://www.cpu-monkey.com/en/cpu-intel_core_i7_12650h
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2025-01-21, 05:32 PM
    It supports AV1 DECODING. Not AV1 encoding.
    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]
    1
    stewey
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #14
    2025-02-07, 04:57 AM (This post was last modified: 2025-02-07, 04:57 AM by stewey. Edited 1 time in total.)
    (2024-11-11, 05:35 PM)TheDreadPirate Wrote: Since you are not running the container as root, you need to pass in the render group.

    Code:
    getent group render | cut -d: -f3

    Code:
        group_add:
          - "122" # Change this to match your "render" host group id and remove this comment

    How do I do this on a Synology with DSM 7.2.2?  

    I ran
    Code:
    getent group render | cut -d: -f3

    and got
    Code:
    -sh: getent: command not found

    Thanks!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2025-02-07, 01:26 PM
    (2025-02-07, 04:57 AM)stewey Wrote:
    (2024-11-11, 05:35 PM)TheDreadPirate Wrote: Since you are not running the container as root, you need to pass in the render group.

    Code:
    getent group render | cut -d: -f3

    Code:
        group_add:
          - "122" # Change this to match your "render" host group id and remove this comment

    How do I do this on a Synology with DSM 7.2.2?  

    I ran
    Code:
    getent group render | cut -d: -f3

    and got
    Code:
    -sh: getent: command not found

    Thanks!

    Follow this guide in the walkthrough sub-forum.

    https://forum.jellyfin.org/t-guide-runni...er-compose
    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]
    stewey
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #16
    2025-02-08, 04:33 AM (This post was last modified: 2025-02-08, 06:27 PM by stewey. Edited 1 time in total.)
    (2025-02-07, 01:26 PM)TheDreadPirate Wrote:
    (2025-02-07, 04:57 AM)stewey Wrote:
    (2024-11-11, 05:35 PM)TheDreadPirate Wrote: Since you are not running the container as root, you need to pass in the render group.

    Code:
    getent group render | cut -d: -f3

    Code:
        group_add:
          - "122" # Change this to match your "render" host group id and remove this comment

    How do I do this on a Synology with DSM 7.2.2?  

    I ran
    Code:
    getent group render | cut -d: -f3

    and got
    Code:
    -sh: getent: command not found

    Thanks!

    Follow this guide in the walkthrough sub-forum.

    https://forum.jellyfin.org/t-guide-runni...er-compose

    Thanks for the link.  If I setup the container to run as root, as the decribed in that guide, the transcoding error I had goes away. 

    I'm brand new to docker & NAS in general and noticed some of the guides I've seen suggest running containers as a limited user, I guess for security benefits?  So that's what I assumed was 'better', and I thought I'd try that first.  That lead to the transcoding error, ffmpeg exit code 187 I ran into.  Googling that & jellyfin eventually brought me here.

    Reading through this thread, your post I quoted helped the OP get transcoding working while running the container as non-root.  So I tried running the same command to get the group ID I need to add to get transcoding working, and I got the error I noted. 

    So wondering how to run that command/get the needed group ID info on a Synology.  

    Thanks again!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #17
    2025-02-10, 02:50 PM (This post was last modified: 2025-02-10, 02:51 PM by TheDreadPirate.)
    If "getent" isn't available, you can just read the group file.

    Code:
    grep render /etc/group

    Code:
    chris@rat-trap:~/git/jellyfin-web$ grep render /etc/group
    render:x:993:chris,jellyfin

    In my case, the render group uses ID 993.
    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]
    stewey
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #18
    2025-02-11, 01:30 AM (This post was last modified: 2025-02-11, 01:39 AM by stewey. Edited 2 times in total.)
    Thanks for the reply.

    I tried the following, but got no results.
    Code:
    grep render /etc/group

    After some googling found that I might try 'video' instead of 'render' and got the following result:
    Code:
    nosw@DS920:/$ grep render /etc/group
    nosw@DS920:/$ grep video /etc/group
    videodriver:x:937:PlexMediaServer

    Using 937 works, but wondering should I see some mention of jellyfin as in your example?


    EDIT to add: Should I be making a new thread?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #19
    2025-02-11, 01:39 PM (This post was last modified: 2025-02-11, 01:39 PM by TheDreadPirate. Edited 1 time in total.)
    It's fine to keep posting here.

    For Docker, a Jellyfin user is not created like it would in a bare metal Linux install. But I manually created one, and run my container as this manually created Jellyfin user, so that I can restrict access to just my media. Since my user has more permissions that a Jellyfin container would need.

    So you would NOT see "Jellyfin" when you are looking for the video/render group.
    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]
    stewey
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2025 Feb
    Reputation: 0
    #20
    2025-02-12, 03:49 AM
    Got it, Thanks again!
    Pages (2): « Previous 1 2

    « 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