Hardware Transcoding doesn't work, AMD iGPU, Unraid - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Hardware Transcoding doesn't work, AMD iGPU, Unraid (/t-hardware-transcoding-doesn-t-work-amd-igpu-unraid) Pages:
1
2
|
RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - yannn - 2024-08-06 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' 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. 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. RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - TheDreadPirate - 2024-08-06 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 RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - yannn - 2024-08-06 nope Code: Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_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/develop/specifications/video-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. RE: Hardware Transcoding doesn't work, AMD iGPU, Unraid - yannn - 2024-08-06 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 |