2010-12-24, 10:09 PM
Sub,
It seems any change you make to the NPVRTSReader to fix the resume issue ends up breaking skipping in one way or another. Skipping is now back to the way it was when you first released 1.5.28, which was also the result of your first effort to patch the resume issue.
Early on in a file skips seem more or less ok, but further into the file the forward skips go too far, and the backwards skips either go back very little or actually jump forward. I've tested several files recorded both before and after installing 1.5.36, it's the same in all of them. In the most explicit test, I start playing a 1 hour HD recording, jump in about 20 minutes with the big skip (which should take 20 1-minute skips but actually requires only 17), then start trying to skip back with the small skip; you can see it continues to advance forward in the file:
The complete log is attached, along with the Timing.Info from that file.
It seems any change you make to the NPVRTSReader to fix the resume issue ends up breaking skipping in one way or another. Skipping is now back to the way it was when you first released 1.5.28, which was also the result of your first effort to patch the resume issue.
Early on in a file skips seem more or less ok, but further into the file the forward skips go too far, and the backwards skips either go back very little or actually jump forward. I've tested several files recorded both before and after installing 1.5.36, it's the same in all of them. In the most explicit test, I start playing a 1 hour HD recording, jump in about 20 minutes with the big skip (which should take 20 1-minute skips but actually requires only 17), then start trying to skip back with the small skip; you can see it continues to advance forward in the file:
Code:
2010-12-24 13:42:05.019 [DEBUG][1] PlaybackPositionHelper.GetPlaybackPosition(F:\Recordings\Sesame Street\Sesame Street_20101224_12001300.ts)
... bunch of messages about elements and alpha fades...
2010-12-24 13:42:06.498 [DEBUG][1] Adding system AC3 decoder
2010-12-24 13:42:06.498 [DEBUG][1] about to load decoder
2010-12-24 13:42:06.508 [DEBUG][1] added decoder to graph
2010-12-24 13:42:06.508 [DEBUG][1] adding audio renderer: Default DirectSound Device
2010-12-24 13:42:06.531 [DEBUG][1] Adding system MPEG1 Layer2 decoder
2010-12-24 13:42:06.531 [DEBUG][1] about to load decoder
2010-12-24 13:42:06.542 [DEBUG][1] added decoder to graph
2010-12-24 13:42:06.542 [DEBUG][1] adding audio renderer: Default DirectSound Device
2010-12-24 13:42:06.568 [DEBUG][1] Adding system MPEG2 decoder
2010-12-24 13:42:06.568 [DEBUG][1] Adding EVR renderer
2010-12-24 13:42:06.665 [DEBUG][1] about to load decoder
2010-12-24 13:42:06.670 [DEBUG][1] added decoder to graph
2010-12-24 13:42:06.688 [DEBUG][1] Static Reference clock set to: Default DirectSound Device
2010-12-24 13:42:07.262 [DEBUG][1] Playback graph running...
2010-12-24 13:42:07.262 [DEBUG][1] Graph filter list:
2010-12-24 13:42:07.262 [DEBUG][1] - NPVR CC Dump
2010-12-24 13:42:07.262 [DEBUG][1] - EVR Renderer
2010-12-24 13:42:07.262 [DEBUG][1] - NPVR PES Collector (DVBSubs)
2010-12-24 13:42:07.262 [DEBUG][1] - Default DirectSound Device 0001
2010-12-24 13:42:07.262 [DEBUG][1] - Default DirectSound Device
2010-12-24 13:42:07.263 [DEBUG][1] - Line 21 Decoder
2010-12-24 13:42:07.263 [DEBUG][1] - Microsoft DTV-DVD Audio Decoder
2010-12-24 13:42:07.263 [DEBUG][1] - AC3Filter
2010-12-24 13:42:07.263 [DEBUG][1] - ATI MPEG Video Decoder
2010-12-24 13:42:07.263 [DEBUG][1] - MPEG-2 Demultiplexer
2010-12-24 13:42:07.263 [DEBUG][1] - NPVR TS Reader
2010-12-24 13:42:07.294 [DEBUG][1] CheckCache() indicates:F:\Recordings\Sesame Street\folder.jpg is cached
2010-12-24 13:42:07.294 [DEBUG][1] CheckCache() indicates:F:\Recordings\Sesame Street\folder.jpg is cached
2010-12-24 13:42:07.312 [DEBUG][1] GetEventCode() returned: 0x000d
2010-12-24 13:42:07.312 [DEBUG][1] GetEventCode() returned: 0x000e
2010-12-24 13:42:07.312 [DEBUG][1] GetEventCode() returned: 0x8102
2010-12-24 13:42:07.312 [DEBUG][1] Aspect ratio now: 16x9
2010-12-24 13:42:07.312 [DEBUG][1] Resolution is now: 1280x720
2010-12-24 13:42:07.312 [DEBUG][1] Source Aspect Ratio: 16x9
2010-12-24 13:42:07.312 [DEBUG][1] Setting display rect: 0.000000,0.125000,1.000000,0.875000
2010-12-24 13:42:07.312 [DEBUG][1] GetEventCode() returned: 0x8101
2010-12-24 13:42:10.058 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:10.058 [DEBUG][1] Using timing.info, jumping to time 63.835693 (offset 71522344)
2010-12-24 13:42:10.779 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:10.780 [DEBUG][1] Using timing.info, jumping to time 125.613388 (offset 141954664)
2010-12-24 13:42:12.004 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:12.004 [DEBUG][1] Using timing.info, jumping to time 188.508774 (offset 213980096)
2010-12-24 13:42:12.593 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:12.594 [DEBUG][1] Using timing.info, jumping to time 252.400436 (offset 286592464)
2010-12-24 13:42:13.106 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:13.107 [DEBUG][1] Using timing.info, jumping to time 316.479218 (offset 360714096)
2010-12-24 13:42:13.635 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:13.636 [DEBUG][1] Using timing.info, jumping to time 382.146973 (offset 437686560)
2010-12-24 13:42:14.875 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:14.875 [DEBUG][1] Using timing.info, jumping to time 450.760559 (offset 517174464)
2010-12-24 13:42:15.418 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:15.420 [DEBUG][1] Using timing.info, jumping to time 521.188599 (offset 599010112)
2010-12-24 13:42:15.829 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:15.830 [DEBUG][1] Using timing.info, jumping to time 593.866028 (offset 683612744)
2010-12-24 13:42:17.462 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:17.463 [DEBUG][1] Using timing.info, jumping to time 669.664978 (offset 771485448)
2010-12-24 13:42:18.875 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:18.875 [DEBUG][1] Using timing.info, jumping to time 747.280762 (offset 859106608)
2010-12-24 13:42:20.236 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:20.237 [DEBUG][1] Using timing.info, jumping to time 825.006958 (offset 949997840)
2010-12-24 13:42:21.270 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:21.271 [DEBUG][1] Using timing.info, jumping to time 904.716675 (offset 1042062944)
2010-12-24 13:42:22.616 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:22.617 [DEBUG][1] Using timing.info, jumping to time 987.135437 (offset 1137565816)
2010-12-24 13:42:23.658 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:23.659 [DEBUG][1] Using timing.info, jumping to time 1071.436279 (offset 1233823320)
2010-12-24 13:42:24.277 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:24.279 [DEBUG][1] Using timing.info, jumping to time 1156.740112 (offset 1331254696)
2010-12-24 13:42:25.138 [DEBUG][1] appcommand: 11 +(lParam: B0000, wParam: 130268)
2010-12-24 13:42:25.139 [DEBUG][1] Using timing.info, jumping to time 1243.085205 (offset 1431620752)
2010-12-24 13:42:29.446 [DEBUG][1] appcommand: 50 +(lParam: 10320000, wParam: 130268)
2010-12-24 13:42:29.447 [DEBUG][1] Using timing.info, jumping to time 1265.619263 (offset 1458535960)
2010-12-24 13:42:31.165 [DEBUG][1] appcommand: 50 +(lParam: 10320000, wParam: 130268)
2010-12-24 13:42:31.166 [DEBUG][1] Using timing.info, jumping to time 1286.993408 (offset 1482851880)
2010-12-24 13:42:32.719 [DEBUG][1] appcommand: 50 +(lParam: 10320000, wParam: 130268)
2010-12-24 13:42:32.720 [DEBUG][1] Using timing.info, jumping to time 1308.229858 (offset 1507167800)
2010-12-24 13:42:34.092 [DEBUG][1] appcommand: 50 +(lParam: 10320000, wParam: 130268)
2010-12-24 13:42:34.093 [DEBUG][1] Using timing.info, jumping to time 1329.799805 (offset 1532322200)
2010-12-24 13:42:35.333 [DEBUG][1] appcommand: 50 +(lParam: 10320000, wParam: 130268)
2010-12-24 13:42:35.334 [DEBUG][1] Using timing.info, jumping to time 1351.696655 (offset 1557476600)
2010-12-24 13:42:36.867 [DEBUG][1] appcommand: 50 +(lParam: 10320000, wParam: 130268)
2010-12-24 13:42:36.868 [DEBUG][1] Using timing.info, jumping to time 1374.510620 (offset 1583721024)
2010-12-24 13:42:38.095 [DEBUG][1] appcommand: 50 +(lParam: 10320000, wParam: 130268)
2010-12-24 13:42:38.096 [DEBUG][1] Using timing.info, jumping to time 1397.207642 (offset 1608959272)
2010-12-24 13:42:39.390 [DEBUG][1] appcommand: 1 +(lParam: 10000, wParam: 130268)
2010-12-24 13:42:39.390 [DEBUG][1] PlaybackPositionHelper.StorePlaybackPosition(F:\Recordings\Sesame Street\Sesame Street_20101224_12001300.ts, 1429, 3599)
2010-12-24 13:42:39.533 [DEBUG][1] Stopping graph@3
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV