Kodi Community Forum
Video pauses again when you try to un-pause - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Video pauses again when you try to un-pause (/showthread.php?tid=73402)

Pages: 1 2


Video pauses again when you try to un-pause - JoeSchmo - 2010-05-06

I'm having a fairly minor problem atm, sometimes when I un-pause a video, it instantly re-pauses (this only happens once, ie if you un-pause again the video continues fine). This happens intermittently and on all three of my Atom/ION based HTPCs.

Currently using r28256, NV driver 195.36.15 and official MS MCE remotes.

Any ideas?


- gabbott - 2010-05-06

I've noticed this as well every now and then, it doesnt appear to be consistent and often enough that I've tried to track down what might be causing it.

I also use a couple Revo atom boxes running xbmc live running SVN 28256.


- kraqh3d - 2010-05-06

Interesting. This happens to me with my AppleTV and an el cheapo One-4-All universal remote. Looking at my own debug log, Xbmc was responding to two button presses, so the video would unpause and immediately pause again. I just chalked it up to the remote being a bit finicky and probably sending two presses. I'm curious if you see the same thing. It very well could be Xbmc that's finicky and making a somewhat "longer" button press behave like two back to back button presses.


- noikz - 2010-05-07

Another "same here" too. I'm using Atom/ION based machines and SVN 28256 also.


- g0pkh - 2010-05-07

Exactly the same for me too. ION ITX-A Mini-Itx Motherboard

I am at the moment using 9.11 Live repack. And it happens regularly.

As others have said though. Only the once.

Pete


- mason - 2010-05-07

confirmed here too happens most of the time but not allway ... zotac ion with minimal ubuntu installation, harmony 555 and a streamzap reciever ...

hadn't had a change to debug this further ... but its no biggie for me


- gabbott - 2010-05-07

I'll grab some debugs over the weekend on this.


- P.Kosunen - 2010-05-09

Can i increase lirc multi-click delay somewhere?


- George - 2010-05-09

I have the same problem. Just found this setting in the Wiki-entry for the advancedsettings:


<remoterepeat>
The repeat delay for the Infrared remote control, in milliseconds. Length of time a remote button needs to be held before it will start repeating (ie continuously sending button pushes while it's held down). Defaults to 480.

So, it will have to be something like this:

Code:
<advancedsettings>
  <remoterepeat>1000</remoterepeat>
</advancedsettings>

Can't reboot nog since my kids are watching Jungle Book but will reboot in a few hours time Smile


- gabbott - 2010-05-09

George Wrote:I have the same problem. Just found this setting in the Wiki-entry for the advancedsettings:


<remoterepeat>
The repeat delay for the Infrared remote control, in milliseconds. Length of time a remote button needs to be held before it will start repeating (ie continuously sending button pushes while it's held down). Defaults to 480.

So, it will have to be something like this:

Code:
<advancedsettings>
  <remoterepeat>1000</remoterepeat>
</advancedsettings>

Can't reboot nog since my kids are watching Jungle Book but will reboot in a few hours time Smile


I don't think that is the issue, I just did a bunch of playing around and the length of the keypress doesnt seem to make a difference.

One odd thing I just noticed is it seems to be specific to certain titles I play.

I can pretty consistently get the issue to happen on Clash of the titans, but not every time I unpause.

So here is a debug log, first I played the movie 9, and paused and unpaused a couple times, the issue never happened. I then started the movie 11:14 and paused and unpaused quite a few times trying to duplicate and it never had a problem. Then played Clash of the titans and was able to duplicate again. First time after a pause, I hit play and after about a half second or so, it paused itself.

http://pastebin.com/ankZZUG8

I believe here is the relavent part of the debug showing where I paused it, then hit play again to unpause and it paused again, then I hit play again to resume and then stopped it shortly after:

Code:
09:58:05 T:3078387600 M:1323655168   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
09:58:07 T:2469190512 M:1323655168   DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00
09:58:16 T:3078387600 M:1323077632   DEBUG: LIRC: Update - NEW at 262219:000000037ff00be9 00 Play Microsoft_Xbox360 (Play)
09:58:16 T:3078387600 M:1323077632   DEBUG: OnKey: 234 pressed, action is Play
09:58:16 T:3078387600 M:1323077632   DEBUG: CAnnouncementManager - Announcement: PlaybackPaused from xbmc
09:58:16 T:3078387600 M:1323077632   DEBUG: OnPlayBackPaused - Playback was paused
09:58:16 T:3078387600 M:1323077632   DEBUG: ------ Window Init (DialogSeekBar.xml) ------
09:58:16 T:3078387600 M:1323077632   DEBUG: Alloc resources: 0.08ms (0.01 ms skin load)
09:58:18 T:2500660080 M:1323081728   DEBUG: Thread 2500660080 terminating (autodelete)
09:58:18 T:2479680368 M:367681536   DEBUG: Thread 2479680368 terminating (autodelete)
09:58:18 T:35978096 M:1323106304   DEBUG: Thread 35978096 terminating (autodelete)
09:58:19 T:2421160816 M:1323114496   DEBUG: Thread 2421160816 terminating (autodelete)
09:58:23 T:3078387600 M:1323122688   DEBUG: LIRC: Update - NEW at 268898:000000037ff00be9 00 Play Microsoft_Xbox360 (Play)
09:58:23 T:3078387600 M:1323122688   DEBUG: OnKey: 234 pressed, action is Play
09:58:23 T:3078387600 M:1323122688   DEBUG: CAnnouncementManager - Announcement: PlaybackResumed from xbmc
09:58:23 T:3078387600 M:1323122688   DEBUG: OnPlayBackResumed - Playback was resumed
09:58:23 T:2368727920 M:1323122688   DEBUG: CDVDPlayerAudio:: Discontinuity - was:-3840410.098998, should be:14613388.775450, error:18453798.874449
09:58:23 T:3078387600 M:1322700800   DEBUG: SECTION:UnloadDelayed(SECTION: LCODE)
09:58:23 T:3078387600 M:1322700800   DEBUG: OnKey: 234 pressed, action is Play
09:58:23 T:3078387600 M:1322700800   DEBUG: CAnnouncementManager - Announcement: PlaybackPaused from xbmc
09:58:23 T:3078387600 M:1322700800   DEBUG: OnPlayBackPaused - Playback was paused
09:58:23 T:3078387600 M:1322700800   DEBUG: ------ Window Init (DialogSeekBar.xml) ------
09:58:23 T:3078387600 M:1322700800   DEBUG: Alloc resources: 0.02ms (0.01 ms skin load)
09:58:24 T:3078387600 M:1322700800   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-i486-linux.so)
09:58:24 T:3078387600 M:1322700800   DEBUG: Unloading: ImageLib-i486-linux.so
09:58:44 T:3078387600 M:1322708992   DEBUG: LIRC: Update - NEW at 290334:000000037ff00be9 00 Play Microsoft_Xbox360 (Play)
09:58:44 T:3078387600 M:1322708992   DEBUG: OnKey: 234 pressed, action is Play
09:58:44 T:3078387600 M:1322708992   DEBUG: CAnnouncementManager - Announcement: PlaybackResumed from xbmc
09:58:44 T:3078387600 M:1322708992   DEBUG: OnPlayBackResumed - Playback was resumed
09:58:44 T:2368727920 M:1322708992   DEBUG: CDVDPlayerAudio:: Discontinuity - was:15123261.039450, should be:15125438.480097, error:2177.440647
09:58:44 T:2469190512 M:1322708992 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 105096, consumed: 0
09:58:44 T:2469190512 M:1322708992 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 102810, consumed: 0
09:58:45 T:3078387600 M:1321582592   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
09:58:49 T:2469190512 M:1315999744   DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00
09:58:49 T:3078387600 M:1315385344   DEBUG: LIRC: Update - NEW at 295322:000000037ff00be6 00 Stop Microsoft_Xbox360 (Stop)
09:58:49 T:3078387600 M:1315385344   DEBUG: OnKey: 224 pressed, action is Stop



- gabbott - 2010-05-09

George Wrote:I have the same problem. Just found this setting in the Wiki-entry for the advancedsettings:


<remoterepeat>
The repeat delay for the Infrared remote control, in milliseconds. Length of time a remote button needs to be held before it will start repeating (ie continuously sending button pushes while it's held down). Defaults to 480.

So, it will have to be something like this:

Code:
<advancedsettings>
  <remoterepeat>1000</remoterepeat>
</advancedsettings>

Can't reboot nog since my kids are watching Jungle Book but will reboot in a few hours time Smile

Ya know, might be something to this, I just tried it on one of my boxes and so far can no longer duplicate the problem.

Edit:
Tried it at 960 and could no longer duplicate the problem on two of my boxes. I took it out, rebooted, and tested again, it took alot of tries but did get the problem to happen again once. I'm now going to try setting it to 720 and see...

So far 720 seems to work well. I'm going to leave my boxes set at that for a while and see if I notice the problem, so far cant duplicate with 720.


- JoeSchmo - 2010-05-10

Wow thanks:

<remoterepeat>700</remoterepeat>

works great for me.

I knew how to reproduce the problem every single time, since adding that to my advancedsettings, it's no longer doing it.

Smile


- JoeSchmo - 2010-05-10

After further testing, even though this is a fairly decent workaround, it seems as though it's fixing a symptom more than the problem.

I can feel a slight lag now when using other functions, including the repeat scroll up/down, there's a slight pause now before it starts scrolling. Sad


- gabbott - 2010-05-11

JoeSchmo Wrote:After further testing, even though this is a fairly decent workaround, it seems as though it's fixing a symptom more than the problem.

I can feel a slight lag now when using other functions, including the repeat scroll up/down, there's a slight pause now before it starts scrolling. Sad

What if you drop it down a bit more, maybe around 600? See if that helps. I have mine set to 720 and have not noticed any perceivable lag when starting to scroll.


- ClayM - 2010-05-11

This fixed my problem. Good job guys!