vipoo / iRacingReplayOverlay.net

Tools to capture game data, and then transcode a captured video file - overlaying race status
GNU General Public License v3.0
37 stars 14 forks source link

Stops capturing after a few minutes #36

Closed vipoo closed 10 years ago

vipoo commented 10 years ago

Another issue I get is that everytime the capture begins a few minutes later the encoding stops with an error. Maybe this is helpful?

2014-08-31T16:04:12 DEBUG: Throttle message ReplaySetPlaySpeed delivery to iRacing by 997 millisecond 2014-08-31T16:04:12 INFO: WARNING! Replay data reversed. Current enumeration only support iRacing in forward mode. Received sample 0 after sample 224750 2014-08-31T16:04:12 INFO: Der Index war außerhalb des Arraybereichs. 2014-08-31T16:04:12 DEBUG: bei iRacingSDK.DataSampleExtensions.ApplyIsFinalLap(DataSample data) in c:\Users\dean\Documents\iRacingSDK.Net\DataSampleExtensions\WithFinishingStatus.cs:Zeile 54. bei iRacingSDK.DataSampleExtensions.d3b.MoveNext() in c:\Users\dean\Documents\iRacingSDK.Net\DataSampleExtensions\WithFinishingStatus.cs:Zeile 40. bei iRacingSDK.AfterEnumeration.d0.MoveNext() in c:\Users\dean\Documents\iRacingSDK.Net\DataSampleExtensions\AfterEnumeration.cs:Zeile 43. bei iRacingSDK.AfterEnumeration.d8.MoveNext() in c:\Users\dean\Documents\iRacingSDK.Net\DataSampleExtensions\AfterEnumeration.cs:Zeile 63. bei iRacingSDK.DataSampleExtensions.d58.MoveNext() in c:\Users\dean\Documents\iRacingSDK.Net\DataSampleExtensions\AtSpeed.cs:Zeile 33. bei iRacingReplayOverlay.Phases.IRacingReplay._CaptureRaceTest(Action2 onComplete, IEnumerable1 samples) in c:\Users\dean\Documents\iRacingReplayOverlay.net\Phases\CaptureRace.cs:Zeile 93. bei iRacingReplayOverlay.Phases.IRacingReplay._CaptureRace(Action2 onComplete) in c:\Users\dean\Documents\iRacingReplayOverlay.net\Phases\CaptureRace.cs:Zeile 51. bei iRacingReplayOverlay.Phases.IRacingReplay.<CaptureRace>b__39(Action2 a) in c:\Users\dean\Documents\iRacingReplayOverlay.net\Phases\IRacingReplay.cs:Zeile 95. bei iRacingReplayOverlay.Phases.IRacingReplay.<>cDisplayClass33.b30() in c:\Users\dean\Documents\iRacingReplayOverlay.net\Phases\IRacingReplay.cs:Zeile 63. bei iRacingReplayOverlay.Phases.IRacingReplay.<>cDisplayClass46.b43() in c:\Users\dean\Documents\iRacingReplayOverlay.net\Phases\IRacingReplay.cs:Zeile 158. 2014-08-31T16:04:12 INFO: Process aborted

vipoo commented 10 years ago

As this has not been reproduced on developers machine - can not be sure the commit d7942a67403223bdf9546e642f0c07025e281950 actually fixes the problem.

It appears that the game data feed has glitch, with 0 values (at least for the ReplayFrameNum field). Such data samples should now be ignored and logged for diagnosis purposes.

vipoo commented 10 years ago

Seems to be fixed. Will reopen if not