Jellyfin Forum
SOLVED: Video playback in slow-mo - 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: SOLVED: Video playback in slow-mo (/t-solved-video-playback-in-slow-mo)

Pages: 1 2 3


Video playback in slow-mo - MrFabou - 2024-03-19

I'm using Jellyfin 10.8.13 as a Linux Container in Proxmox with a i5 7500t and it's iGPU.

It work's fine with 1080p content, but if I try to watch HEVC 4K Movies, it only works on my native 4K TV and PC with Google Chrome, not on a 1080p Display with a Google Chromecast 4K.

If I change the bandwidth to 3-5mb/s it works fine. With set to "automatic" the video playback is in slow-mo and the audio is playing on 100%

I checked the logs and got a warning:

Code:
[2024-03-19 15:50:16.811 +01:00] [WRN] Slow HTTP Response from "IPADRESS/videos/xxxx/hls1/main/214.ts?DeviceId=xxxxxf&MediaSourceId=xxxx&VideoCodec=hevc,h264,hevc&AudioCodec=ac3&AudioStreamIndex=1&VideoBitrate=8181989&AudioBitrate=448000&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=xxxx&api_key=xxx&SubtitleMethod=Encode&RequireAvc=false&Tag=xxxxxx&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=123&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit&runtimeTicks=6420000000&actualSegmentLengthTicks=30000000" to "IPADRESS" in 0:00:00.7074261 with Status Code 200

Heres my FFmpeg Log (partially): 
Code:
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_qsv))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Output #0, hls, to '/var/lib/jellyfin/transcodes/xxxxx.m3u8':
  Metadata:
    encoder        : Lavf59.27.100
  Stream #0:0: Video: hevc (hvc1 / 0x31637668), qsv(tv, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 7856 kb/s, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder        : Lavc59.37.100 hevc_qsv
    Side data:
      cpb: bitrate max/min/avg: 7856364/0/7856364 buffer size: 15712728 vbv_delay: N/A
  Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=  0x   
frame=  38 fps=0.0 q=-0.0 size=N/A time=00:00:01.50 bitrate=N/A speed=2.63x   
frame=  72 fps= 67 q=-0.0 size=N/A time=00:00:02.78 bitrate=N/A speed=2.58x   
[hls @ 0x560c779bf6c0] Opening '/var/lib/jellyfin/transcodes/xxxxx.ts' for writing
frame=  108 fps= 68 q=-0.0 size=N/A time=00:00:04.28 bitrate=N/A speed=2.71x   
frame=  144 fps= 69 q=-0.0 size=N/A time=00:00:05.76 bitrate=N/A speed=2.76x   
[hls @ 0x560c779bf6c0] Opening '/var/lib/jellyfin/transcodes/xxxxx

Hope you can help me out here,

greetings


RE: Video playback in slow-mo - TheDreadPirate - 2024-03-19

Did you manually set the player to libVLC? If so, try setting it to exoplayer. I've had a much more consistent experience setting it to exoplayer on my CCwGTV 4K.


RE: Video playback in slow-mo - MrFabou - 2024-03-19

(2024-03-19, 04:29 PM)TheDreadPirate Wrote: Did you manually set the player to libVLC?  If so, try setting it to exoplayer.  I've had a much more consistent experience setting it to exoplayer on my CCwGTV 4K.

It is already set to "ExoPlayer"


RE: Video playback in slow-mo - TheDreadPirate - 2024-03-19

Is it slow-mo only when it is direct playing? When you played it on your 4K TV and PC was it transcoding for those devices? I'm assuming this 4K TV is also running Android TV? Is the ffmpeg log you included from when you were playing on the CCwGTV with the bit rate set to auto or at 3-5Mbps?


RE: Video playback in slow-mo - MrFabou - 2024-03-19

(2024-03-19, 07:13 PM)TheDreadPirate Wrote: Is it slow-mo only when it is direct playing?  When you played it on your 4K TV and PC was it transcoding for those devices?  I'm assuming this 4K TV is also running Android TV?  Is the ffmpeg log you included from when you were playing on the CCwGTV with the bit rate set to auto or at 3-5Mbps?

What does direct playing mean? I just press play Face-with-open-mouth 

Render/3D is not used when I play it on my pc, so I don't think so! 

My 4K TV is running Android TV

The log is from the quality set to "auto"


RE: Video playback in slow-mo - TheDreadPirate - 2024-03-19

Direct play = no transcoding.


RE: Video playback in slow-mo - MrFabou - 2024-03-19

(2024-03-19, 07:28 PM)TheDreadPirate Wrote: Direct play = no transcoding.

Thanks! 

No, without transcoding (on my 4k tv and pc) it's not in slow-mo.


RE: Video playback in slow-mo - TheDreadPirate - 2024-03-19

Weeeeird. Is your Chromecast running Jellyfin 0.16.6? Is the OS fully up to date? What happens when the libVLC player is selected?

In the Jellyfin web UI, can you copy and paste the "media info" menu for this video?


RE: Video playback in slow-mo - MrFabou - 2024-03-19

(2024-03-19, 07:40 PM)TheDreadPirate Wrote: Weeeeird.  Is your Chromecast running Jellyfin 0.16.6?  Is the OS fully up to date?  What happens when the libVLC player is selected?

In the Jellyfin web UI, can you copy and paste the "media info" menu for this video?

I'm running 0.16.7, OS is up-to-date

With libVLC I'm getting a still image, maybe if I wait 10 min the next image is moving in like a diashow :'D, but no audio, still image 

Media Info: 

Code:
Black Adam (2022) Dwayne Johnson, Aldis Hodge Acion-Fantasy 4K UHDrip
Container: mkv
Pfad: /mnt/media/movies/Black Adam (2022) Dwayne Johnson, Aldis Hodge Acion-Fantasy 4K UHDrip.mkv
Größe: 7017 MB

Video
Titel: 4K HEVC HDR
Codec: HEVC
Profil: Main 10
Level: 153
Auflösung: 3840x2160
Seitenverhältnis: 16:9
Zeilensprungverfahren: No
Bildrate: 23.976025
Bitrate: 7856 kbps
Bit-Tiefe: 10 bit
Videobereich: HDR
Video range type: HDR10
Farbraum: bt2020nc
Farbübertragung: smpte2084
Primärfarben: bt2020
Pixelformat: yuv420p10le
Referenz-Frames: 1

Audio
Titel: German - Dolby Digital - 5.1 - Default
Sprache: deu
Codec: AC3
Darstellung: 5.1
Kanäle: 6 ch
Bitrate: 448 kbps
Abtastrate: 48000 Hz
Standard: Yes
Erzwungen: No
Extern: No

Audio
Titel: English - Dolby Digital - 5.1
Sprache: eng
Codec: AC3
Darstellung: 5.1
Kanäle: 6 ch
Bitrate: 448 kbps
Abtastrate: 48000 Hz
Standard: No
Erzwungen: No
Extern: No

Untertitel
Titel: German - PGSSUB
Sprache: deu
Codec: PGSSUB
Standard: No
Erzwungen: No
Extern: No

Untertitel
Titel: German - PGSSUB
Sprache: deu
Codec: PGSSUB
Standard: No
Erzwungen: No
Extern: No



RE: Video playback in slow-mo - TheDreadPirate - 2024-03-19

Does it only happen with this particular 4K HDR movie? Or all 4K HDR movies?