Docker compose
sudo docker exec jellyfin env
sudo cat /media/data/jellyfin/config/config/encoding.xml
For new QS settings, see attachment
Tested on Shield TV Pro 2019 client and playback starts right away, testes on never played track, no remux, updated log https://pastebin.com/raw/v9U4vsEp
Code:
services:
jellyfin:
image: 'jellyfin/jellyfin:10.9.8'
container_name: jellyfin
restart: always
volumes:
- /media/data/jellyfin/config:/config
- /media/data/jellyfin/cache:/cache
- /media/data/jellyfin/media:/media
# user: 0:0
network_mode: 'host'
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=https://media.mgscreativa.com
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- 'host.docker.internal:host-gateway'
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
sudo docker exec jellyfin env
Code:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=xxxx
JELLYFIN_PublishedServerUrl=https://xxxx.xxxx.com
HEALTHCHECK_URL=http://localhost:8096/health
DEBIAN_FRONTEND=noninteractive
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
LANGUAGE=en_US:en
JELLYFIN_DATA_DIR=/config
JELLYFIN_CACHE_DIR=/cache
JELLYFIN_CONFIG_DIR=/config/config
JELLYFIN_LOG_DIR=/config/log
JELLYFIN_WEB_DIR=/jellyfin/jellyfin-web
JELLYFIN_FFMPEG=/usr/lib/jellyfin-ffmpeg/ffmpeg
XDG_CACHE_HOME=/cache
MALLOC_TRIM_THRESHOLD_=131072
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
HOME=/root
sudo cat /media/data/jellyfin/config/config/encoding.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<EncodingOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<EncodingThreadCount>-1</EncodingThreadCount>
<TranscodingTempPath>/cache/transcodes</TranscodingTempPath>
<FallbackFontPath />
<EnableFallbackFont>false</EnableFallbackFont>
<EnableAudioVbr>false</EnableAudioVbr>
<DownMixAudioBoost>2</DownMixAudioBoost>
<DownMixStereoAlgorithm>None</DownMixStereoAlgorithm>
<MaxMuxingQueueSize>2048</MaxMuxingQueueSize>
<EnableThrottling>false</EnableThrottling>
<ThrottleDelaySeconds>180</ThrottleDelaySeconds>
<EnableSegmentDeletion>false</EnableSegmentDeletion>
<SegmentKeepSeconds>720</SegmentKeepSeconds>
<HardwareAccelerationType>vaapi</HardwareAccelerationType>
<EncoderAppPathDisplay>/usr/lib/jellyfin-ffmpeg/ffmpeg</EncoderAppPathDisplay>
<VaapiDevice>/dev/dri/renderD128</VaapiDevice>
<EnableTonemapping>false</EnableTonemapping>
<EnableVppTonemapping>false</EnableVppTonemapping>
<EnableVideoToolboxTonemapping>false</EnableVideoToolboxTonemapping>
<TonemappingAlgorithm>bt2390</TonemappingAlgorithm>
<TonemappingMode>auto</TonemappingMode>
<TonemappingRange>auto</TonemappingRange>
<TonemappingDesat>0</TonemappingDesat>
<TonemappingPeak>100</TonemappingPeak>
<TonemappingParam>0</TonemappingParam>
<VppTonemappingBrightness>16</VppTonemappingBrightness>
<VppTonemappingContrast>1</VppTonemappingContrast>
<H264Crf>23</H264Crf>
<H265Crf>28</H265Crf>
<EncoderPreset />
<DeinterlaceDoubleRate>false</DeinterlaceDoubleRate>
<DeinterlaceMethod>yadif</DeinterlaceMethod>
<EnableDecodingColorDepth10Hevc>true</EnableDecodingColorDepth10Hevc>
<EnableDecodingColorDepth10Vp9>true</EnableDecodingColorDepth10Vp9>
<EnableEnhancedNvdecDecoder>true</EnableEnhancedNvdecDecoder>
<PreferSystemNativeHwDecoder>true</PreferSystemNativeHwDecoder>
<EnableIntelLowPowerH264HwEncoder>false</EnableIntelLowPowerH264HwEncoder>
<EnableIntelLowPowerHevcHwEncoder>false</EnableIntelLowPowerHevcHwEncoder>
<EnableHardwareEncoding>true</EnableHardwareEncoding>
<AllowHevcEncoding>false</AllowHevcEncoding>
<AllowAv1Encoding>false</AllowAv1Encoding>
<EnableSubtitleExtraction>true</EnableSubtitleExtraction>
<HardwareDecodingCodecs>
<string>h264</string>
<string>vc1</string>
</HardwareDecodingCodecs>
<AllowOnDemandMetadataBasedKeyframeExtractionForExtensions>
<string>mkv</string>
</AllowOnDemandMetadataBasedKeyframeExtractionForExtensions>
For new QS settings, see attachment
Tested on Shield TV Pro 2019 client and playback starts right away, testes on never played track, no remux, updated log https://pastebin.com/raw/v9U4vsEp
Jellyfin Server 10.9.8 (Docker)
Ubuntu 22.04 LTS
Intel Core i5-8500T (6 cores, 6 threads)
16GB (2x8GB) SODIMM DDR4-2667
Intel UHD Graphics 630
OS drive
Samsung SSD 840 120GB
Storage
2x TeamGroup 2TB nvme (software raid1 mdadm)
Ubuntu 22.04 LTS
Intel Core i5-8500T (6 cores, 6 threads)
16GB (2x8GB) SODIMM DDR4-2667
Intel UHD Graphics 630
OS drive
Samsung SSD 840 120GB
Storage
2x TeamGroup 2TB nvme (software raid1 mdadm)