2023-12-31, 12:53
(2023-12-31, 11:46)rockrider69 Wrote:Yeah, this issue looks extremely weird... I've been using LPM 1.0.2 since you have released it without issues except when I reported first time a freeze but in that situation it had been fixed by Odroid-N2 reboot.(2023-12-30, 23:00)rafikW Wrote: ....Thanks a lot for the time testing more!
I checked that when trying to resume a movie on x minute then the freeze is lasting x minute.
I just disabled LPM v1.0.2 and movie resume works as it should: no freeze, it is starting immediately.
Now I'm back on LPM v1.0.1 and the same: no issue with resuming movie.
Between 1.0.1 et 1.0.2 the changes are very limited... So clearly, it can only come from the Seek(-1) I added to fix the lost subtitles.
I would have to try to reproduce this. So far I have not experienced any such major freeze at all in those past few months: not at start, resume nor when switching audio.
But I did spot some buffering/delay messages in the logs when multiplying rapid audio track switches in stress tests. With only a couple of times a video restart from the beginning. So there is something to deal with...
Just to confirm, you got that freezes with different videos right ? If you can provide a full log libk, that might help of course!
On question already : are you using another addon which LPM could interfere with : thinking for example about "Unpause Jumpback" that I use myself and it has options to jumpack (seek(-x)) at unpause, but also at resume if I remember well.
I tell you even more weird facts: I have two Odroid N2 devices. This issue I just reported happened suddenly on both devices (!) Reboot was not a fix on both of them. On one of them it disappeared without downgrade - it is just back to normal, on the second device many reboots performed did not fixed the issue so I downgraded to 1.0.1.
I'm not sure if 1.0.2 is a minor change to the version 1.0.1... Wasn't in 1.0.2 implemented a new handling for subtitles switching so subs are switching much faster than in 1.0.1?
Answering your questions:
- yes, issue was happening on every type of video: x264, x265, sdr, hdr, with different audio formats.
- no other addon like "unpause jumpback" - I know what this addon suppose to do but I prefer to revert back 10 seconds pressing TV remote button in order to get video and audio in sync after pausing movie.
- I will enable verbose logging for "Audi component", "Video component", "audio/video timing infomation" and will try reproduce issue hoping it will happen when I will do the update to 1.0.2.
All the best in 2024
[EDIT] Issue is reproduced... freeze when pressed the option to resume movie on 11 minute... screen is frozen, in kodi.log I see a hundreds of line being added... I will keep it running for around 11 minutes until movie will be resumed, then I will stop logging. Let me know where I can paste the log. It would be like around 6-10 MB.
[EDIT2] Movie resume button pressed at 12:13:02.502;
and then for 11 minutes lines like this:
2023-12-31 12:13:05.009 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 0.037 renderPts: 0.225 nextFramePts: 679.304 -> diff: -679.079 render: 0 forceNext: 0
2023-12-31 12:13:05.049 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 0.077 renderPts: 0.264 nextFramePts: 679.304 -> diff: -679.040 render: 0 forceNext: 0
2023-12-31 12:13:05.090 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 0.118 renderPts: 0.306 nextFramePts: 679.304 -> diff: -678.998 render: 0 forceNext: 0
[...]
2023-12-31 12:22:43.111 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 578.239 renderPts: 578.433 nextFramePts: 679.304 -> diff: -100.871 render: 0 forceNext: 0
2023-12-31 12:22:43.152 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 578.279 renderPts: 578.474 nextFramePts: 679.304 -> diff: -100.830 render: 0 forceNext: 0
2023-12-31 12:22:43.194 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 578.322 renderPts: 578.517 nextFramePts: 679.304 -> diff: -100.787 render: 0 forceNext: 0
[...]
2023-12-31 12:24:33.466 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 688.598 renderPts: 688.793 nextFramePts: 689.690 -> diff: -0.897 render: 0 forceNext: 0
2023-12-31 12:24:33.508 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 688.640 renderPts: 688.835 nextFramePts: 689.690 -> diff: -0.855 render: 0 forceNext: 0
2023-12-31 12:24:33.549 T:5724 debug <general>: PrepareNextRender: frameOnScreen: 688.681 renderPts: 688.876 nextFramePts: 689.690 -> diff: -0.814 render: 0 forceNext: 0
and other information.
Let me know where I can copy full Kodi.log.