Jellyfin Forum
Jellyfin pauses with 4K movie on local network in Synology DS224+ - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Jellyfin pauses with 4K movie on local network in Synology DS224+ (/t-jellyfin-pauses-with-4k-movie-on-local-network-in-synology-ds224)



Jellyfin pauses with 4K movie on local network in Synology DS224+ - angelsing - 2024-09-28

Hello,
I recently installed and configured Jellyfin on my Synology DS224+ NAS with an Intel CPU using Docker through a YAML file that installs the latest version (10.9.11). The issue I'm facing is that when playing 4K (HEVC) movies, after a while of continuous playback, they start to pause. This doesn't happen with Plex, which leads me to think that Plex is transcoding the content, preventing the pauses. However, I haven’t configured anything related to transcoding in either program.

My NAS is a Synology DS224+ with an Intel Celeron J4125 CPU and 10 GB of RAM. The YAML code I used to install Jellyfin is as follows:

Code:
version: '3.5'
services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1026
      - GUID=100
      - TZ=America/Bogota
    network_mode: host
    volumes:
      - /volume1/docker/jellyfin_update/config:/config:rw
      - /volume1/docker/jellyfin_update/cache:/cache:rw
      - /volume1/video/Series:/Series:rw
      - /volume1/video/Movies:/Movies:rw
      - /volume1/video/Intros:/Intros:rw
    restart: unless-stopped

The details of the 4K movie are as follows:

Quote:General
Unique ID                      : 314257487104850058564620213900128731829 (0xEC6BCA5C000D1127FA05F0EB5C7EC2B5)
Complete name                  : \\xxxxxxxx\xxxx\Peliculas 4K Temp\Borderlands - El destino del universo está en juego (2024) 4K\Borderlands - El destino del universo está en juego (2024) 4K.mp4
Format                        : Matroska
Format version                : Version 4
File size                      : 17.1 GiB
Duration                      : 1 h 40 min
Overall bit rate              : 24.3 Mb/s
Frame rate                    : 23.976 FPS
Movie name                    : xxxxxxxxxxxx
Encoded date                  : 2024-09-27 22:06:02 UTC
Writing application            : mkvmerge v87.0 ('Black as the Sky') 64-bit
Writing library                : libebml v1.4.5 + libmatroska v1.7.1
FileExtension_Invalid          : mkv mk3d mka mks

Video
ID                            : 1
Format                        : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                : Main 10@L5@High
HDR format                    : Dolby Vision, Version 1.0, Profile 8.1, dvhe.08.06, BL+RPU, no metadata compression, HDR10 compatible / SMPTE ST 2094 App 4, Version HDR10+ Profile B, HDR10+ Profile B compatible
Codec ID                      : V_MPEGH/ISO/HEVC
Duration                      : 1 h 40 min
Bit rate                      : 23.7 Mb/s
Width                          : 3 824 pixels
Height                        : 1 592 pixels
Display aspect ratio          : 2.40:1
Frame rate mode                : Constant
Frame rate                    : 23.976 (24000/1001) FPS
Color space                    : YUV
Chroma subsampling            : 4:2:0 (Type 2)
Bit depth                      : 10 bits
Bits/(Pixel*Frame)            : 0.162
Stream size                    : 16.7 GiB (97%)
Title                          : xxxxxxxxx
Language                      : English
Default                        : Yes
Forced                        : Yes
Color range                    : Limited
Color primaries                : BT.2020
Transfer characteristics      : PQ
Matrix coefficients            : BT.2020 non-constant
Mastering display color primar : Display P3
Mastering display luminance    : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level    : 1039 cd/m2
Maximum Frame-Average Light Le : 239 cd/m2

Audio
ID                            : 2
Format                        : E-AC-3
Format/Info                    : Enhanced AC-3
Commercial name                : Dolby Digital Plus
Codec ID                      : A_EAC3
Duration                      : 1 h 40 min
Bit rate mode                  : Constant
Bit rate                      : 640 kb/s
Channel(s)                    : 6 channels
Channel layout                : L R C LFE Ls Rs
Sampling rate                  : 48.0 kHz
Frame rate                    : 31.250 FPS (1536 SPF)
Compression mode              : Lossy
Stream size                    : 461 MiB (3%)
Title                          : xxxxxxxxxxxx
Language                      : Spanish
Service kind                  : Complete Main
Default                        : Yes
Forced                        : No
Dialog Normalization          : -31 dB
compr                          : -0.28 dB
dialnorm_Average              : -31 dB
dialnorm_Minimum              : -31 dB
dialnorm_Maximum              : -31 dB

My question is: Does anyone know why this might be happening? Should I enable transcoding in Jellyfin to prevent the pauses? If so, how can I configure it properly?
Thank you in advance for any guidance.


RE: Jellyfin pauses with 4K movie on local network in Synology DS224+ - TheDreadPirate - 2024-09-28

You didn't pass in the GPU into the container.

Code:
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128

Read this guide from our walk through sub-forum.

https://forum.jellyfin.org/t-guide-running-jellyfin-in-synology-s-dsm-7-using-docker-compose


HAVING SAID THAT, your video is HDR and Intel no longer supports tone mapping on Synology NASes.


RE: Jellyfin pauses with 4K movie on local network in Synology DS224+ - angelsing - 2024-09-28

(2024-09-28, 02:02 AM)TheDreadPirate Wrote: You didn't pass in the GPU into the container.

Code:
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128

Read this guide from our walk through sub-forum.

https://forum.jellyfin.org/t-guide-running-jellyfin-in-synology-s-dsm-7-using-docker-compose


HAVING SAID THAT, your video is HDR and Intel no longer supports tone mapping on Synology NASes.

ok i left my code like this:

Code:
version: '3.5'
services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1026
      - GUID=100
      - TZ=America/Bogota
    network_mode: host
    volumes:
      - /volume1/docker/jellyfin_update/config:/config:rw
      - /volume1/docker/jellyfin_update/cache:/cache:rw
      - /volume1/video/Series:/Series:rw
      - /volume1/video/Peliculas:/Peliculas:rw
      - /volume1/video/Intros:/Intros:rw
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
      - /dev/dri/card0:/dev/dri/card0
    restart: unless-stopped

I will try playing a 4k movie again on my local network. Do you know what parameters I should enable in the Jellyfin configuration - playback - transcoding? It is not explained in the guide you sent me.


RE: Jellyfin pauses with 4K movie on local network in Synology DS224+ - TheDreadPirate - 2024-09-28

Use the Gemini Lake column on this wiki table.

https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding