Jellyfin Forum
Hardware Transcoding fails for AVI files on AMD Ryzen 5700G (Unraid + Docker, Jellyfi - 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 fails for AVI files on AMD Ryzen 5700G (Unraid + Docker, Jellyfi (/t-hardware-transcoding-fails-for-avi-files-on-amd-ryzen-5700g-unraid-docker-jellyfi)



Hardware Transcoding fails for AVI files on AMD Ryzen 5700G (Unraid + Docker, Jellyfi - yamanobe - 2025-07-07

Hi, I'm having trouble with hardware transcoding for AVI files in Jellyfin.

**Environment:**
- Jellyfin version: 10.10.7 (Docker image: jellyfin/jellyfin:latest)
- Host OS: Unraid 7.1.4
- CPU: AMD Ryzen 7 5700G (iGPU, no discrete GPU)
- Transcode folder mapped: /mnt/user/appdata/jellyfin/transcodes → /config/data/transcodes
- No vainfo output available (no VAAPI verification done)

**Problem:**
When trying to play AVI files, Jellyfin fails to transcode them. Other formats such as MP4 work fine with hardware transcoding enabled. 

I followed the suggestion to mount /config/data/transcodes, but the issue still persists.

**Relevant log output:**
FFmpeg exited with code 187

Command:
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f avi -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/0anime/[1994]超くせになりそう/season1/S01E01.avi" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 [...] -y "/cache/transcodes/xxxxxxx.m3u8"

Error:
[ERR] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 187
[ERR] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/...
**Question:**
- Is this a known issue with VAAPI on the 5700G?
- Is there a recommended workaround or software fallback path for AVI hardware transcoding?

Thank you in advance.