Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0.2
-
None
-
Operating System: Windows 7
Platform: Intel
Description
When playing a video which uses a FPS-rate that is not on the list of the "Dynamic Refresh Rate", then MediaPortal tries to set 0 Hz.
2009-08-08 08:55:33.767473 [Info.][13]: video database opened
2009-08-08 08:55:33.771473 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Inspecting media : \\Mainframe\videos\TV-Aufnahmen\Big Mamas Haus 2 - ORF 1 HD - 2009-07-12 - 23_55.ts
2009-08-08 08:55:33.773474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: FrameRate : 50
2009-08-08 08:55:33.775474 [Info.][13]: videodatabase exception err:Die Eingabezeichenfolge hat das falsche Format. stack: bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bei MediaPortal.Video.Database.VideoDatabaseSqlLite.GetPath(String strPath)
2009-08-08 08:55:33.780474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Width : 1280
2009-08-08 08:55:33.782474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Height : 720
2009-08-08 08:55:33.784474 [Info.][13]: opening video database
2009-08-08 08:55:33.787474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AspectRatio : widescreen
2009-08-08 08:55:33.789474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: VideoCodec : AVC
2009-08-08 08:55:33.791475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Scan type : progressive
2009-08-08 08:55:33.793475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: IsInterlaced : False
2009-08-08 08:55:33.795475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: VideoResolution : 720P
2009-08-08 08:55:33.797475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: VideoDuration : 6656013
2009-08-08 08:55:33.799475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AudioRate : 48000
2009-08-08 08:55:33.801475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AudioChannels : 2
2009-08-08 08:55:33.804475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AudioCodec : MPEG-1 AUDIO LAYER 2
2009-08-08 08:55:33.806475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: HasSubtitles : True
2009-08-08 08:55:33.808476 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: NumSubtitles : 1
2009-08-08 08:55:33.810476 [Info.][MPMain]: RefreshRateChanger.AdaptRefreshRate: framerate on file \\Mainframe\videos\TV-Aufnahmen\Big Mamas Haus 2 - ORF 1 HD - 2009-07-12 - 23_55.ts is 50
2009-08-08 08:55:33.813476 [Info.][MPMain]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 50hz - changing it to 0hz
2009-08-08 08:55:33.815476 [Info.][MPMain]: RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 50hz, desired is 0
h4. Steps to Reproduce
1. Enable Dynamic Refresh Rate
2. play a video which uses i.e. 50 FPS (there is no rule for such in the refres rate configuration)
3. MediaPortal tries to set 0 Hz which triggers a BSOD in cdd.dll
h4. Additional Information
We have to add a rule for 50FPS videos
We have to take precautions in code which ensure that bogus Refreshrate values will not be set.
http://forum.team-mediaportal.com/mediaportal-releases-315/w7-refreshrate-changer-causes-bsod-68745/
2009-08-08 08:55:33.767473 [Info.][13]: video database opened
2009-08-08 08:55:33.771473 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Inspecting media : \\Mainframe\videos\TV-Aufnahmen\Big Mamas Haus 2 - ORF 1 HD - 2009-07-12 - 23_55.ts
2009-08-08 08:55:33.773474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: FrameRate : 50
2009-08-08 08:55:33.775474 [Info.][13]: videodatabase exception err:Die Eingabezeichenfolge hat das falsche Format. stack: bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bei MediaPortal.Video.Database.VideoDatabaseSqlLite.GetPath(String strPath)
2009-08-08 08:55:33.780474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Width : 1280
2009-08-08 08:55:33.782474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Height : 720
2009-08-08 08:55:33.784474 [Info.][13]: opening video database
2009-08-08 08:55:33.787474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AspectRatio : widescreen
2009-08-08 08:55:33.789474 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: VideoCodec : AVC
2009-08-08 08:55:33.791475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: Scan type : progressive
2009-08-08 08:55:33.793475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: IsInterlaced : False
2009-08-08 08:55:33.795475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: VideoResolution : 720P
2009-08-08 08:55:33.797475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: VideoDuration : 6656013
2009-08-08 08:55:33.799475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AudioRate : 48000
2009-08-08 08:55:33.801475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AudioChannels : 2
2009-08-08 08:55:33.804475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: AudioCodec : MPEG-1 AUDIO LAYER 2
2009-08-08 08:55:33.806475 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: HasSubtitles : True
2009-08-08 08:55:33.808476 [Info.][MPMain]: MediaInfoWrapper.MediaInfoWrapper: NumSubtitles : 1
2009-08-08 08:55:33.810476 [Info.][MPMain]: RefreshRateChanger.AdaptRefreshRate: framerate on file \\Mainframe\videos\TV-Aufnahmen\Big Mamas Haus 2 - ORF 1 HD - 2009-07-12 - 23_55.ts is 50
2009-08-08 08:55:33.813476 [Info.][MPMain]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 50hz - changing it to 0hz
2009-08-08 08:55:33.815476 [Info.][MPMain]: RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 50hz, desired is 0
h4. Steps to Reproduce
1. Enable Dynamic Refresh Rate
2. play a video which uses i.e. 50 FPS (there is no rule for such in the refres rate configuration)
3. MediaPortal tries to set 0 Hz which triggers a BSOD in cdd.dll
h4. Additional Information
We have to add a rule for 50FPS videos
We have to take precautions in code which ensure that bogus Refreshrate values will not be set.
http://forum.team-mediaportal.com/mediaportal-releases-315/w7-refreshrate-changer-causes-bsod-68745/