Yesterday, 10:27 PM 
		
	
	
		I'm running Jellyfin with the dock container on a DS225+ NAS with a hack script transcoding. 
Transcoding works well with other installation of Jellyfin from SynoCommunity, but not in Docker.
Log transcoding:
Device creation failed: -542398533.
[vist#0:0/hevc @ 0x7f31d42ba200] [dec:hevc @ 0x7f31d429d500] No device available for decoder: device type vaapi needed for codec hevc.
[vist#0:0/hevc @ 0x7f31d42ba200] [dec:hevc @ 0x7f31d429d500] Hardware device setup failed for decoder: Generic error in an external library
Error opening output file /cache/transcodes/a8537e62eaa0d210bfc1afd970206085.m3u8.
Error opening output files: Generic error in an external library
Compose Yaml:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: Jellyfin
  
environment:
- PUID=10..
- PGID=1..
- IT=Europe/Rome
#- JELLYFIN_PublishedServerUrl=192.168.1.#
#note: change TZ to your timezone identifier: https://en.wikipedia.org/wiki/List_of_tz...time_zones
volumes:
- /volume1/docker/jellyfin/cache cache:rw
cache:rw
  
- /volume1/docker/jellyfin/config config:rw
config:rw
- /volumeUSB1/usbshare1-2 usbshare1-2:rw
usbshare1-2:rw
- /volumeUSB2/usbshare2-2 usbshare2-2:rw
usbshare2-2:rw
#note: (:rw = read/write) & (:ro = read only)
#devices:
- /dev/dri/renderD128 dev/dri/renderD128
dev/dri/renderD128
- /dev/dri/card0 dev/dri/card0
dev/dri/card0
#note: uncomment these lines in devices to allow for HWA to work on Synology units with an iGPU
ports:
- 8096:8096/tcp
#- <port-to-use>:8096/tcp
network_mode: bridge
#network_mode: host
restart: unless-stopped
	  
	
	
Transcoding works well with other installation of Jellyfin from SynoCommunity, but not in Docker.
Log transcoding:
Device creation failed: -542398533.
[vist#0:0/hevc @ 0x7f31d42ba200] [dec:hevc @ 0x7f31d429d500] No device available for decoder: device type vaapi needed for codec hevc.
[vist#0:0/hevc @ 0x7f31d42ba200] [dec:hevc @ 0x7f31d429d500] Hardware device setup failed for decoder: Generic error in an external library
Error opening output file /cache/transcodes/a8537e62eaa0d210bfc1afd970206085.m3u8.
Error opening output files: Generic error in an external library
Compose Yaml:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: Jellyfin
environment:
- PUID=10..
- PGID=1..
- IT=Europe/Rome
#- JELLYFIN_PublishedServerUrl=192.168.1.#
#note: change TZ to your timezone identifier: https://en.wikipedia.org/wiki/List_of_tz...time_zones
volumes:
- /volume1/docker/jellyfin/cache
 cache:rw
cache:rw- /volume1/docker/jellyfin/config
 config:rw
config:rw- /volumeUSB1/usbshare1-2
 usbshare1-2:rw
usbshare1-2:rw- /volumeUSB2/usbshare2-2
 usbshare2-2:rw
usbshare2-2:rw#note: (:rw = read/write) & (:ro = read only)
#devices:
- /dev/dri/renderD128
 dev/dri/renderD128
dev/dri/renderD128- /dev/dri/card0
 dev/dri/card0
dev/dri/card0#note: uncomment these lines in devices to allow for HWA to work on Synology units with an iGPU
ports:
- 8096:8096/tcp
#- <port-to-use>:8096/tcp
network_mode: bridge
#network_mode: host
restart: unless-stopped


