• 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

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: FFmpeg

    Failed to play 4K footage, FFmpeg error
    MrFabou
    Offline

    Junior Member

    Posts: 23
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #1
    2024-02-25, 09:35 PM (This post was last modified: 2024-02-25, 10:00 PM by MrFabou. Edited 2 times in total.)
    I'm using Jellyfin 10.8.13 as a Linux Container in Proxmox with a i5 7500t and it's iGPU. 

    It work's fine with 1080p content, but if I try to watch 4K Movies, it only works on my native 4K TV and PC with Google Chrome, not on a 1080p Display with a Google Chromecast 4K (Getting Client Side Error: "This client is not compatible with the media and the server is not sending a compatible media format.")

    If its playing the movie (on my pc and 4k tv) it's showing the gpu usage by around 92%, so that's working.

    I checked the logs and got a 204 FFmpeg Error: 

    No VA display found for any default device. 
    Device creation failed: -22. 
    Failed to set value "vaapi=va:,kernel_driver=i915,driver=iHD" for option "init_hw_device": Invalid argument
    Error parsing global options: Invalid argument

    Hope you can help me out here, 

    greetings
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #2
    2024-02-25, 10:00 PM
    What is the output of

    Code:
    sudo apt list --installed | grep intel
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    MrFabou
    Offline

    Junior Member

    Posts: 23
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #3
    2024-02-26, 09:10 AM (This post was last modified: 2024-02-26, 09:46 AM by MrFabou. Edited 2 times in total.)
    (2024-02-25, 10:00 PM)TheDreadPirate Wrote: What is the output of

    Code:
    sudo apt list --installed | grep intel

    Code:
    intel-gpu-tools/jammy,now 1.26-2 amd64 [installed]
    intel-media-va-driver/jammy-updates, now 22.3.1+dfsg1-1ubuntu2 amd64 [installed, automatic]
    intel-opencl-icd/jammy,now 22.14.22890-1 amd64 [installed]
    libdrm-intel1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed, automatic]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #4
    2024-02-26, 05:43 PM
    Follow the instructions in this link to add non-free and non-free-firmware to your apt config.

    https://unix.stackexchange.com/questions...2-bookworm

    Once you have done that

    Code:
    sudo apt update ; sudo apt install intel-media-va-driver-non-free intel-microcode
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    MrFabou
    Offline

    Junior Member

    Posts: 23
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #5
    2024-02-26, 06:50 PM
    (2024-02-26, 05:43 PM)TheDreadPirate Wrote: Follow the instructions in this link to add non-free and non-free-firmware to your apt config.

    https://unix.stackexchange.com/questions...2-bookworm

    Once you have done that

    Code:
    sudo apt update ; sudo apt install intel-media-va-driver-non-free intel-microcode

    Thanks for the reply, sadly I get the same error even with microcode installed: 

    Code:
    /videos/number/hls1/main/0.ts

    {"Protocol":0,"Id":"number","Path":"/mnt/media/movies/movie4k.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm",">

    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/mnt/m>


    ffmpeg version 5.1.4-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
      built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disabl>
      libavutil      57. 28.100 / 57. 28.100
      libavcodec    59. 37.100 / 59. 37.100
      libavformat    59. 27.100 / 59. 27.100
      libavdevice    59.  7.100 / 59.  7.100
      libavfilter    8. 44.100 /  8. 44.100
      libswscale      6.  7.100 /  6.  7.100
      libswresample  4.  7.100 /  4.  7.100
      libpostproc    56.  6.100 / 56.  6.100
    [AVHWDeviceContext @ 0x55ac86a6f080] No VA display found for any default device.
    Device creation failed: -22.
    Failed to set value 'vaapi=va:,kernel_driver=i915,driver=iHD' for option 'init_hw_device': Invalid argument
    Error parsing global options: Invalid argument

    If I run apt install intel-microcode: 
    Code:
    root@proxmox:~# apt install intel-microcode
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    intel-microcode is already the newest version (3.20231114.1).
    0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #6
    2024-02-26, 07:15 PM (This post was last modified: 2024-02-26, 07:16 PM by TheDreadPirate.)
    Did you install the non-free Intel media driver in the install command I provided? Your previous apt list only showed the free media driver, which doesn't contain the needed drivers.

    Just to clarify, non-free in this context means the contents of the package aren't open source. Not that it costs money.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    MrFabou
    Offline

    Junior Member

    Posts: 23
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #7
    2024-02-26, 08:18 PM (This post was last modified: 2024-02-26, 08:25 PM by MrFabou. Edited 4 times in total.)
    (2024-02-26, 07:15 PM)TheDreadPirate Wrote: Did you install the non-free Intel media driver in the install command I provided?  Your previous apt list only showed the free media driver, which doesn't contain the needed drivers.

    Just to clarify, non-free in this context means the contents of the package aren't open source.  Not that it costs money.

    Sorry, now, yes. 

    I installed "intel-media-va-driver-non-free/oldstable,now 21.1.1+ds1-1 amd64" on my proxmox server as you said, but now I can't even play the 4k footage on the chrome browser on my wqhd display

    Or do I have to install it on the jellyfin container?

    I tried to install it on the container, now if I run sudo apt list --installed | grep intel I got:
    Code:
    intel-gpu-tools/jammy,now 1.26-2 amd64 [installed]
    intel-media-va-driver-non-free/jammy-updates,now 22.3.1+ds1-1ubuntu0.1 amd64 [installed]
    intel-microcode/jammy-updates,jammy-security,now 3.20231114.0ubuntu0.22.04.1 amd64 [installed]
    intel-opencl-icd/jammy,now 22.14.22890-1 amd64 [installed]
    libdrm-intel1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed,automatic]


    Sadly it still doesn't play it Slightly-frowning-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #8
    2024-02-26, 08:28 PM
    How much of our guide did you follow?

    https://jellyfin.org/docs/general/admini...-container
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    MrFabou
    Offline

    Junior Member

    Posts: 23
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #9
    2024-02-26, 08:42 PM (This post was last modified: 2024-02-26, 08:58 PM by MrFabou. Edited 2 times in total.)
    (2024-02-26, 08:28 PM)TheDreadPirate Wrote: How much of our guide did you follow?

    https://jellyfin.org/docs/general/admini...-container

    All I did was using a script to install and a youtube video that showed how to enable iGPU transcoding😅

    Now I can't even play any video Slightly-frowning-face

    EDIT: After restart I got it, again, to work in my browser, with the 4k chromecast it doesnt work.

    Code:
            ENGINES    BUSY                                                                                                                      MI_SEMA MI_WAIT
          Render/3D    0.00% |                                                                                                                  |      0%      0%
            Blitter    0.00% |                                                                                                                  |      0%      0%
              Video  98.70% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ |      0%      0%
        VideoEnhance  34.40% |███████████████████████████████████████▋
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #10
    2024-02-26, 09:07 PM
    Can you share what you have in /etc/pve/lxc/<CONTAINER_ID>.conf.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (3): 1 2 3 Next »

    « 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