Jellyfin Forum
Dropped Frames and Stuttering with certain HEVC Main 10 files - 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: Dropped Frames and Stuttering with certain HEVC Main 10 files (/t-dropped-frames-and-stuttering-with-certain-hevc-main-10-files)



Dropped Frames and Stuttering with certain HEVC Main 10 files - AirDuster - 2025-03-05

Hey all!

Looking to see if I can get some help with an odd issue I've encountered. I've tried searching the forums and various guides but haven't been able to find a solution as of yet.

I've got two videos that are near identical as far as codec information is concerned, same bitrate, similar file size, same format, etc., however one of them works perfectly fine while the other stutters and has so many dropped frames it's completely unusable.

I've checked and they both work fine when played locally on my server pc, (using VLC), yet when playing through Jellyfin (whether using the browser client on the same machine, or a TV on my local network) it presents this issue. Both files are direct playing.

Server: 10.10.6 (had the same issue on 10.10.3)
OS: Windows 10, Version 10.0.19045 Build 19045

The following are the playback details, as obtained when playing on my server PC (through web browser client):

Video 1 (file with issue):
Playback Info
Player: Html Video Player
Play method: Direct playing
Protocol: http
Stream type: Video

Video Info
Player dimensions: 1920x839
Video resolution: 1920x960
Dropped frames: 94
Corrupted frames: 0
Original Media Info
Container: mp4
Size: 1.5 GiB
Bitrate: 2.2 Mbps
Video codec: HEVC Main 10
Video bitrate: 2.0 Mbps
Video range type: SDR
Audio codec: AAC LC
Audio bitrate: 224 kbps
Audio channels: 6
Audio sample rate: 48000 Hz


Video 2 (file that plays fine):
Playback Info
Player: Html Video Player
Play method: Direct playing
Protocol: http
Stream type: Video

Video Info
Player dimensions: 1920x839
Video resolution: 1920x960
Dropped frames: 0
Corrupted frames: 0
Original Media Info
Container: mp4
Size: 1.4 GiB
Bitrate: 2.2 Mbps
Video codec: HEVC Main 10
Video bitrate: 2.0 Mbps
Video range type: SDR
Audio codec: AAC LC
Audio bitrate: 224 kbps
Audio channels: 6
Audio sample rate: 48000 Hz

I've tried forcing transcoding, and when I manually lower the bitrate below 2.0 Mbps it's noticeably smoother/doesn't have the dropped frames....but the quality is also horrible.

Hoping this is a one-off issue (so far haven't seen it with other files/videos) but I'm just very confused and would love to find the solution.

Thanks in advance for any insight!


RE: Dropped Frames and Stuttering with certain HEVC Main 10 files - TheDreadPirate - 2025-03-05

You can try remuxing the problem file. A poorly muxed file can cause the issue you are describing. Remuxing with the following ffmpeg command will recreate the container properly and does not involve any encoding.

Open an admin command prompt.

Code:
C:\Program Files\Jellyfin\ffmpeg.exe -fflags +genpts+igndts -i "C:\path\to\problem\video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv

Then backup the original file and replace it with the new file.