Video playback buffering

Hi, playback buffers and sometimes the audio continues with a frozen picture on RPi4 OSMC running Kodi 20.5…

2024-06-06 01:14:07.744 T:3107    debug <general>: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
2024-06-06 01:14:07.744 T:3107    error <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2024-06-06 01:14:07.745 T:3107    debug <general>: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
2024-06-06 01:14:07.746 T:3107    error <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2024-06-06 01:14:07.747 T:3107    debug <general>: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
2024-06-06 01:14:07.747 T:3107    error <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2024-06-06 01:14:07.748 T:3107    debug <general>: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
2024-06-06 01:14:07.748 T:3107    error <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2024-06-06 01:14:07.748 T:3107    debug <general>: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
2024-06-06 01:14:07.748 T:3107    error <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2024-06-06 01:14:07.749 T:3107    debug <general>: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
2024-06-06 01:14:07.749 T:3107    error <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2024-06-06 01:14:07.942 T:4178    debug <CWebserver[80]>: request received for /jsonrpc
2024-06-06 01:14:07.960 T:27229   debug <general>: Skipped 1 duplicate messages..
2024-06-06 01:14:07.960 T:27229   debug <general>: ------ Window Init (DialogSeekBar.xml) ------
2024-06-06 01:14:07.961 T:27229   error <general>: Window Translator: Can't find window True
2024-06-06 01:14:07.983 T:3108    debug <general>: CDVDAudio::Pause - pausing audio stream
2024-06-06 01:14:08.383 T:3107    debug <general>: CVideoPlayerVideo - Stillframe detected, switching to forced 23.976024 fps
2024-06-06 01:14:09.197 T:4179    debug <CWebserver[80]>: request received for /jsonrpc
2024-06-06 01:14:13.360 T:3107    debug <general>: Skipped 17 duplicate messages..
2024-06-06 01:14:13.360 T:3107    debug <general>: CPtsTracker: detected pattern of length 1: 41708.33, frameduration: 41708.333333
2024-06-06 01:14:16.620 T:3107    debug <general>: CPtsTracker: pattern lost on diff 0.000000, number of losses 9

is there any customization to configs I can make to remedy the issue?
Thank you!

You could post full logs so someone might have a chance gain some insight. You might check Kodi’s player settings to make sure hardware acceleration is enabled and set to direct to plane.

Player settings have already HW acceleration enabled and DtP, thanks!

I tailed the log and copied when the error occurred. The last two lines log when there’s only “buffering” stop and playback restarts after a few seconds… The repeated errors in the beginning are when the playback resumes with frozen video after buffering…

I could upload more logs… tell me which ones to include, thanks!

Errors are more likely to occur playing larger files ~30G
RPi4 is connected to Hifi berry DAC2 HD

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device twice(!)

  • reproduce the issue

  • upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot: