Jellyfin Forum
SOLVED: dropped frames with HVEC10 - 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: dropped frames with HVEC10 (/t-solved-dropped-frames-with-hvec10)



dropped frames with HVEC10 - triarii - 2024-09-13

I have jellyfin set up using the linuxserver io docker container. I have a intel arc a310 gpu passed through and working for hardware encoding. I have issue with some HVEC-10 videos not playing correctly in direct play and requiring down scaling to below 2 Mbps. of the three attached playback info. working is a HVEC10 playing that transcodes by default and works fine. not working is a different HVEC10 that drops large numbers of frames and is very choppy. the last picture is when it is forced to run at 480 1.5 Mbps, 480 2 Mbps also drops frames. I am trying to understand how to debug this issue and either fix the video files or find a setting that will fix this in jellyfin. any help is appreciated.


RE: dropped frames with HVEC10 - gnattu - 2024-09-13

It is quite interesting that a higher quality video can be played correctly. You can try just drag that file into the browser address bar to see if it still looks choppy, if to then that file is encoded in a way that makes browser unhappy and can be fixed by re-encode in most cases


RE: dropped frames with HVEC10 - TheDreadPirate - 2024-09-13

If the issue only happens with direct played videos, it's possible the issue is with the video itself. Usually an issue with the container and not the video/audio. You can try manually remuxing the video to regenerate the container without re-encoding.

You can either install jellyfin-ffmpeg, or plain ffmpeg, on your host system or open a bash shell for the container and use jellyfin-ffmpeg built into it.

Code:
/usr/lib/jellyfin-ffmpeg/ffmepg -fflags +genpts+igndts -i "/path/to/your/video.mp4" -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 newFile.mp4



RE: dropped frames with HVEC10 - triarii - 2024-09-13

(2024-09-13, 06:04 PM)gnattu Wrote: It is quite interesting that a higher quality video can be played correctly. You can try just drag that file into the browser address bar to see if it still looks choppy, if to then that file is encoded in a way that makes browser unhappy and can be fixed by re-encode in most cases

I should have added this. I have files on a NAS share. both files play fine on VLC over the network.


RE: dropped frames with HVEC10 - gnattu - 2024-09-13

Plays fine on VLC means nothing about that file's compatibility in browser. You have to use the browser to direct play that file to test if that file is compatible with your browser or not. VLC and MPV implemented tons of workarounds for all kind of weird videos and those are usually missing in browser which will have more strict requirements for direct playback.


RE: dropped frames with HVEC10 - triarii - 2024-09-13

(2024-09-13, 07:21 PM)gnattu Wrote: Plays fine on VLC means nothing about that file's compatibility in browser. You have to use the browser to direct play that file to test if that file is compatible with your browser or not. VLC and MPV implemented tons of workarounds for all kind of weird videos and those are usually missing in browser which will have more strict requirements for direct playback.

ok, I just tried that and it was choppy playing the file straight into the browser. I tried ffmpeg and that did not fix the issue, but using vlc to change it to h264 worked.