2025-07-30, 11:12 PM
Hi, I have tried a lot of reddit/jellyfin tips on how to enable Hardware acceleration on DS224+/DS225+ (Intel J4125) but can not get it to work.
Here is my docker compose:
I also enabled hwa trannscoding in playback settings as such:
But whenever I try to play a video I get this:
I checked the log and I see this:
----
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264 @ 0x55c806cf9a40] No support for codec h264 profile 100.
[h264 @ 0x55c806cf9a40] Failed setup for format vaapi: hwaccel initialisation returned error.
Impossible to convert between the formats supported by the filter 'Parsed_setparams_0' and the filter 'auto_scale_0'
[vf#0:0 @ 0x55c806c6b0c0] Error reinitializing filters!
[vf#0:0 @ 0x55c806c6b0c0] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x55c806c6b0c0] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/h264_qsv @ 0x55c806cd3500] Could not open encoder before EOF
[vost#0:0/h264_qsv @ 0x55c806cd3500] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_qsv @ 0x55c806cd3500] Terminating thread with return code -22 (Invalid argument)
[out#0/hls @ 0x55c806c7c000] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
----
I attached the full log to this thread. Can anyone please help me out? Thanks
Here is my docker compose:
Code:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
network_mode: host
environment:
- TZ=Asia/Hong_Kong
volumes:
- /volume1/docker/jellyfin/config:/config:rw
- /volume1/docker/jellyfin/cache:/cache:rw
- /volume1/docker/jellyfin/logs:/logs:rw
- /volume1/Media:/media:rw
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
restart: unless-stopped
privileged: true
I also enabled hwa trannscoding in playback settings as such:
But whenever I try to play a video I get this:
I checked the log and I see this:
----
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264 @ 0x55c806cf9a40] No support for codec h264 profile 100.
[h264 @ 0x55c806cf9a40] Failed setup for format vaapi: hwaccel initialisation returned error.
Impossible to convert between the formats supported by the filter 'Parsed_setparams_0' and the filter 'auto_scale_0'
[vf#0:0 @ 0x55c806c6b0c0] Error reinitializing filters!
[vf#0:0 @ 0x55c806c6b0c0] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x55c806c6b0c0] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/h264_qsv @ 0x55c806cd3500] Could not open encoder before EOF
[vost#0:0/h264_qsv @ 0x55c806cd3500] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_qsv @ 0x55c806cd3500] Terminating thread with return code -22 (Invalid argument)
[out#0/hls @ 0x55c806c7c000] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
----
I attached the full log to this thread. Can anyone please help me out? Thanks