Jellyfin Forum
SOLVED: Video stops after a short time but audio continues - 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 stops after a short time but audio continues (/t-solved-video-stops-after-a-short-time-but-audio-continues)



Video stops after a short time but audio continues - Chop1n - 2024-10-14

ffmpeg log: https://pastebin.com/FUcbA5ee
Jellyfin log: https://pastebin.com/q5ewKG16


Server version 10.9.11
Jellyfin Android Tv version: 0.17.6


The jellyfin server is installed in a docker container on an ubuntu server os, and the client (jellyfin on android tv) is connected on the same network as the server.

The problem I have is that when I try to watch shows on the android-tv client it freezes the video after around 30 seconds of playing but continues the audio, if i skip forward or backward the video resumes and plays as usual for about another 30 seconds before freezing the video again. I have had this problem with several different shows and movies, it seems to occur only when ffmpeg is used, for example the episode run in the logs works flawlessly when subtitles are turned off, it then runs in direct play.  So far this problem only occurs when playing on android-tv, I have been unable to repeat it on other clients.

I have tried to restart the server and client several times, this issue has persisted for at least a week.


RE: Video stops after a short time but audio continues - TheDreadPirate - 2024-10-14

What kind of Android TV device?


RE: Video stops after a short time but audio continues - Chop1n - 2024-10-14

(2024-10-14, 04:47 PM)TheDreadPirate Wrote: What kind of Android TV device?

It was provided to me by my ISP, when I try to check to model it just lists the name of my ISP, it was provided to be used to watch TV.

However I played around a bit with my settings and seem to have pinpointed it to HEVC, once i disable HEVC it works like a charm, seems like my GPU GTX 960 doesn't fully support it! 

Still a bit confused by the lack of errors.


Thank you for the very quick reply!!!


RE: Video stops after a short time but audio continues - TheDreadPirate - 2024-10-14

The 960 supports 8-bit HEVC, but not 10-bit HEVC. Your source video is 10-bit HEVC. If you UNcheck HEVC 10-bit in the list of codecs, you should still be able to ENcode to HEVC (Allow encoding in HEVC format).


RE: Video stops after a short time but audio continues - Chop1n - 2024-10-14

In the original logs HEVC 10 bit is disabled, Encoding in HEVC format enabled and hardware decoding for HEVC enabled, I'm trying once more with these settings and the problem is back. Should hardware decoding for HEVC be disabled completely?


RE: Video stops after a short time but audio continues - TheDreadPirate - 2024-10-14

Depends if you have a 960 or 960Ti. According to Nvidia's NVENC/NVDEC matrix, only the lower tier, but newer, GTX 960 has HEVC decoding support.

https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new


RE: Video stops after a short time but audio continues - Chop1n - 2024-10-14

Well it is the regular 960, even more troubleshooting has left me more confused, I've disabled hardware encoding completely, and disabled hardware decoding for both 10 bit HEVC, and regular HEVC, problem persists... I suppose this is just a problem with HEVC, when I try running on other devices it defaults to H264, and that works fine.


RE: Video stops after a short time but audio continues - TheDreadPirate - 2024-10-14

Do you have this issue with a particular video? Or all HEVC videos?

Without knowing the model and specs of the Android TV device, it is hard to rule out the client just not properly supporting HEVC. The client negotiates with the server on the codec used for transcoding. If the device is claiming HEVC support, but doesn't actually support it fully, that may be what is going on.

It sounds like you can have hardware acceleration enabled, you can have 8-bit HEVC decoding enabled, but you can't have HEVC encoding enabled.


RE: Video stops after a short time but audio continues - Chop1n - 2024-10-14

It seems to be all HEVC videos,I just tried with another one and had the same issue. I did some digging and the model seems to be DV8919X by SDMC, from what I can find it seems to advertise HEVC support.


RE: Video stops after a short time but audio continues - Chop1n - 2024-10-15

Switched GPU to an Arc A310 and now it works even with HEVC, this is my roundabout way of solving the issue, it is a better GPU for this either way.

Thanks for all the help!!!!