• 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 Hardware Transcoding doesn't work, AMD iGPU, Unraid

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Hardware Transcoding doesn't work, AMD iGPU, Unraid

    yannn
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Poland
    #11
    2024-08-06, 04:56 PM
    surprisingly it gives an error. 
    Tried to fix it but it didn't work. Should I change something?

    Code:
    [NULL @ 0x5583fa73b700] Unable to find a suitable output format for 'aac'
    aac: Invalid argument

    I tried to change it to
    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i "/data/movies/The.Acolyte.S01E03.Destiny.2160p.DSNP.WEB-DL.DDP5.1.HDR.H.265-NTb.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -c:v h264_vaapi -b:v 3616002 -maxrate 3616002 -bufsize 7232004 -profile:v high -level 41 -force_key_frames 0 -c:a aac -ac 2 -b:a 384k -af "volume=2" -avoid_negative_ts disabled output.mkv

    and it returned

    Code:
    [h264_vaapi @ 0x556b12d57840] No usable encoding profile found.
    [vost#0:0/h264_vaapi @ 0x556b12d57540] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [aac @ 0x556b12e154c0] Qavg: 64051.414
    [aac @ 0x556b12e154c0] 2 frames left in the queue on closing

    anything else I can check?

    Many thanks for your help!


    (2024-08-05, 10:46 PM)TheDreadPirate Wrote: That thread is old and using a much older version of ffmpeg.  Let's simplify the command to something that should run on the current ffmpeg.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i file:"/data/movies/The.Acolyte.S01E03.Destiny.2160p.DSNP.WEB-DL.DDP5.1.HDR.H.265-NTb.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -b:v 3616002 -maxrate 3616002 -bufsize 7232004 -profile:v high -level 41 -force_key_frames:0 -codec:a:0 aac -ac 2 -ab 384000 -af "volume=2" -avoid_negative_ts disabled output.mkv
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-08-06, 05:08 PM
    Try removing "-hwaccel vaapi". I'm wondering if your iGPU doesn't support decoding your video. Removing that parameter will move the decoding to the CPU, but the ENCODING will still happen on the iGPU.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i "/data/movies/The.Acolyte.S01E03.Destiny.2160p.DSNP.WEB-DL.DDP5.1.HDR.H.265-NTb.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -c:v h264_vaapi -b:v 3616002 -maxrate 3616002 -bufsize 7232004 -profile:v high -level 41 -force_key_frames 0 -c:a aac -ac 2 -b:a 384k -af "volume=2" -avoid_negative_ts disabled output.mkv
    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]
    yannn
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Poland
    #13
    2024-08-06, 05:23 PM (This post was last modified: 2024-08-06, 06:00 PM by yannn. Edited 1 time in total.)
    nope
    Code:
    Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0'
    Error reinitializing filters!
    Failed to inject frame into filter network: Function not implemented
    Error while processing the decoded data for stream #0:0

    so mine video is HEVC, my iGPU supports it. VNC 1.0 https://en.wikipedia.org/wiki/Video_Core_Next  (Raven)
    It supports decode + encode

    Video stream: Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn (default)

    And we saw before with that legacy command as it was doing something on my iGPU

    What I also found, that my TV supports HEVC hardware https://webostv.developer.lge.com/develo...-audio-220
    So maybe it's a reason why iGPU isn't used? But still I'm not sure why it loads 4 cores x 8 threads was 40-70%
    That's a bit not clear for me...

    Tried to play on TV and on my macbook again. Here are fresh logs: ffmpeg https://pastebin.com/w15Qe5gN , general https://pastebin.com/DCqPv17u

    (2024-08-06, 05:08 PM)TheDreadPirate Wrote: Try removing "-hwaccel vaapi".  I'm wondering if your iGPU doesn't support decoding your video.  Removing that parameter will move the decoding to the CPU, but the ENCODING will still happen on the iGPU.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i "/data/movies/The.Acolyte.S01E03.Destiny.2160p.DSNP.WEB-DL.DDP5.1.HDR.H.265-NTb.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -c:v h264_vaapi -b:v 3616002 -maxrate 3616002 -bufsize 7232004 -profile:v high -level 41 -force_key_frames 0 -c:a aac -ac 2 -b:a 384k -af "volume=2" -avoid_negative_ts disabled output.mkv
    yannn
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:Poland
    #14
    2024-08-06, 08:25 PM
    Did a few changes.
    Passed the whole /dev/dri, changed transcording folder to the one at SSD, not at 5400 HDD.
    CPU is lower. Stil a bit of sound, don't like it after macbook airs. Brobably need buy another mini pc or buy wifi 6 m2 card and move it to the closet

    thank you for you time. Right now I think I'm done here
    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