Intelligent Frame Correction - PlugIn (1 Viewer)

Marvman

Retired Team Member
  • Premium Supporter
  • November 14, 2007
    1,163
    735
    Bavaria
    Home Country
    Germany Germany
    Hi Martin,

    OK, thanks :)

    BTW, what is 'manual activation' supposed to do, and how do you use it ?

    Tony

    I updated the wiki, I will add a more detailed description to this point.
     

    wouter1971

    MP Donator
  • Premium Supporter
  • November 19, 2008
    910
    143
    Purmerend, Holland
    Home Country
    Netherlands Netherlands
    Martin: My conclusion is that videomodeswitcher is more stable. This plugin is very promissing but on my setup not stopt problerly after playback, so image freezes after stopping (MP 1.0.2). Need to kill MP. The 16:9 with 4:3 in it, tested with earlier supplied ts file is not working. (ffdshow video). I like your cropping part so that DVD/Video 21:9 in 16:9 image can be cropped to zoom 21:9 to 16:9. Videomodeswitcher cannot do that on DVD (does work on other 21:9 Video in 16:9).
     

    Marvman

    Retired Team Member
  • Premium Supporter
  • November 14, 2007
    1,163
    735
    Bavaria
    Home Country
    Germany Germany
    @Martin: My conclusion is that videomodeswitcher is more stable. This plugin is very promissing but on my setup not stopt problerly after playback, so image freezes after stopping (MP 1.0.2). Need to kill MP. The 16:9 with 4:3 in it, tested with earlier supplied ts file is not working. (ffdshow video). I like your cropping part so that DVD/Video 21:9 in 16:9 image can be cropped to zoom 21:9 to 16:9. Videomodeswitcher cannot do that on DVD (does work on other 21:9 Video in 16:9).

    Yeah IFC is still beta, when you post logs, I'll try to fix the crash, that shouldn't be a problem.
    And the problem with the 4:3 content in 16:9 frames, post logs too.

    Thanks!
    Martin
     

    sdf

    Portal Pro
    September 29, 2006
    292
    42
    Home Country
    Italy Italy
    Hi, this is my eroor.log:
    2009-10-10 20:05:37.190752 [ERROR][I.F.C.: processingThread]: MediaPortal: Unhandled exception occured
    2009-10-10 20:05:37.201753 [ERROR][I.F.C.: processingThread]: Exception :confused:ystem.Threading.ThreadInterruptedException: Thread interrotto da uno stato di attesa.
    in System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
    in IntelligentFrameCorrection.Screen.performTVEdgeCrop()
    in IntelligentFrameCorrection.Screen.performEdgeCrop()
    in IntelligentFrameCorrection.Screen16to9.screenSetup()
    in IntelligentFrameCorrection.IntelligentFrameCorrection.run()
    in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    in System.Threading.ThreadHelper.ThreadStart()
    2009-10-10 20:05:37.202753 [ERROR][I.F.C.: processingThread]: Exception :Thread interrotto da uno stato di attesa.
    2009-10-10 20:05:37.202753 [ERROR][I.F.C.: processingThread]: site :Void SleepInternal(Int32)
    2009-10-10 20:05:37.202753 [ERROR][I.F.C.: processingThread]: source :mscorlib
    2009-10-10 20:05:37.203753 [ERROR][I.F.C.: processingThread]: stacktrace: in System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
    in IntelligentFrameCorrection.Screen.performTVEdgeCrop()
    in IntelligentFrameCorrection.Screen.performEdgeCrop()
    in IntelligentFrameCorrection.Screen16to9.screenSetup()
    in IntelligentFrameCorrection.IntelligentFrameCorrection.run()
    in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    in System.Threading.ThreadHelper.ThreadStart()
    2009-10-10 20:05:37.414765 [ERROR][I.F.C.: processingThread]: MediaPortal: Unhandled exception occured
    2009-10-10 20:05:37.414765 [ERROR][I.F.C.: processingThread]: Exception :confused:ystem.Threading.ThreadInterruptedException: Thread interrotto da uno stato di attesa.
    in System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
    in IntelligentFrameCorrection.Screen.performTVEdgeCrop()
    in IntelligentFrameCorrection.Screen.performEdgeCrop()
    in IntelligentFrameCorrection.Screen16to9.screenSetup()
    in IntelligentFrameCorrection.IntelligentFrameCorrection.run()
    in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    in System.Threading.ThreadHelper.ThreadStart()
    2009-10-10 20:05:37.414765 [ERROR][I.F.C.: processingThread]: Exception :Thread interrotto da uno stato di attesa.
    2009-10-10 20:05:37.415765 [ERROR][I.F.C.: processingThread]: site :Void SleepInternal(Int32)
    2009-10-10 20:05:37.415765 [ERROR][I.F.C.: processingThread]: source :mscorlib
    2009-10-10 20:05:37.416765 [ERROR][I.F.C.: processingThread]: stacktrace: in System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
    in IntelligentFrameCorrection.Screen.performTVEdgeCrop()
    in IntelligentFrameCorrection.Screen.performEdgeCrop()
    in IntelligentFrameCorrection.Screen16to9.screenSetup()
    in IntelligentFrameCorrection.IntelligentFrameCorrection.run()
    in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    in System.Threading.ThreadHelper.ThreadStart()
    Very good plugin
    Thank you very much
     

    wouter1971

    MP Donator
  • Premium Supporter
  • November 19, 2008
    910
    143
    Purmerend, Holland
    Home Country
    Netherlands Netherlands
    Hi Martin,

    Here is some logging i see in error.log and mediaportal.log if i have IFC loaded. If i stop video playback i get:

    Mediaportal.log

    2009-10-11 18:35:27.390625 [Info.][MPMain]: GUIVideoFullscreen:stop
    2009-10-11 18:35:27.390625 [Info.][MPMain]: g_Player.OnStopped()
    2009-10-11 18:35:27.406250 [Info.][MPMain]: TvRecorded:OnStopped Recording rtsp://ernie/D47AAD5E
    2009-10-11 18:35:27.421875 [Info.][MPMain]: TSReaderPlayer:cleanup DShow graph False
    2009-10-11 18:35:27.421875 [Info.][MPMain]: TSReaderPlayer: vmr9 disable
    2009-10-11 18:35:27.421875 [Info.][10]: planescene:presentImage() frame:58 enabled:False allowed:True
    2009-10-11 18:35:27.468750 [Info.][MPMain]: state:confused:topped 0
    2009-10-11 18:35:27.500000 [Info.][MPMain]: VMR9: ReleaseComObject(): 0
    2009-10-11 18:35:27.531250 [Info.][MPMain]: TSReaderPlayer: Cleanup done
    2009-10-11 18:35:27.531250 [Info.][MPMain]: TSReaderPlayer: Disabling DX9 exclusive mode
    2009-10-11 18:35:27.593750 [Warn.][MPMain]: D3D: Switch to windowed mode failed - Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
    at MediaPortal.D3DApp.SwitchFullScreenOrWindowed(Boolean bWindowed)
    2009-10-11 18:35:27.593750 [Info.][MPMain]: D3D: BuildPresentParamsFromSettings using 50Hz as RefreshRate
    2009-10-11 18:35:27.593750 [Warn.][MPMain]: D3D: mode failed - Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
    at MediaPortal.D3DApp.SwitchFullScreenOrWindowed(Boolean bWindowed)
    2009-10-11 18:35:27.593750 [Info.][MPMain]: fonts.SetDevice()
    2009-10-11 18:35:27.593750 [Info.][MPMain]: TSReaderPlayer:cleanup DShow graph False
    2009-10-11 18:35:27.593750 [Info.][MPMain]: TSReaderPlayer:grapbuilder=null
    2009-10-11 18:35:27.625000 [Info.][MPMain]: TSReaderPlayer: Cleanup done
    2009-10-11 18:35:27.625000 [Info.][MPMain]: RefreshRateChanger.AdaptRefreshRate: 'auto refreshrate changer' disabled
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    2009-10-11 18:35:27.640625 [Info.][MPMain]: site :Microsoft.DirectX.Direct3D.Caps get_DeviceCaps()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: source :Microsoft.DirectX.Direct3D
    2009-10-11 18:35:27.640625 [Info.][MPMain]: stacktrace: at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    2009-10-11 18:35:27.640625 [Info.][MPMain]: site :Microsoft.DirectX.Direct3D.Caps get_DeviceCaps()

    Error.log:

    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: site :Microsoft.DirectX.Direct3D.Caps get_DeviceCaps()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: source :Microsoft.DirectX.Direct3D
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: stacktrace: at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.


    But if i load viewmodeswitcher again, i don't get lockups after stopping video.
     

    Marvman

    Retired Team Member
  • Premium Supporter
  • November 14, 2007
    1,163
    735
    Bavaria
    Home Country
    Germany Germany
    Hi, this is my eroor.log:
    2009-10-10 20:05:37.190752 [ERROR][I.F.C.: processingThread]: MediaPortal: Unhandled exception occured
    2009-10-10 20:05:37.201753 [ERROR][I.F.C.: processingThread]: Exception :confused:ystem.Threading.ThreadInterruptedException: Thread interrotto da uno stato di attesa.
    in System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
    in IntelligentFrameCorrection.Screen.performTVEdgeCrop()
    in IntelligentFrameCorrection.Screen.performEdgeCrop()
    in IntelligentFrameCorrection.Screen16to9.screenSetup()
    in IntelligentFrameCorrection.IntelligentFrameCorrection.run()
    in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    in System.Threading.ThreadHelper.ThreadStart()

    Very good plugin
    Thank you very much

    I think i fixed this error :), new version is coming soon.

    Hi Martin,

    Here is some logging i see in error.log and mediaportal.log if i have IFC loaded. If i stop video playback i get:

    Mediaportal.log

    2009-10-11 18:35:27.390625 [Info.][MPMain]: GUIVideoFullscreen:stop
    2009-10-11 18:35:27.390625 [Info.][MPMain]: g_Player.OnStopped()
    2009-10-11 18:35:27.406250 [Info.][MPMain]: TvRecorded:OnStopped Recording rtsp://ernie/D47AAD5E
    2009-10-11 18:35:27.421875 [Info.][MPMain]: TSReaderPlayer:cleanup DShow graph False
    2009-10-11 18:35:27.421875 [Info.][MPMain]: TSReaderPlayer: vmr9 disable
    2009-10-11 18:35:27.421875 [Info.][10]: planescene:presentImage() frame:58 enabled:False allowed:True
    2009-10-11 18:35:27.468750 [Info.][MPMain]: state:confused:topped 0
    2009-10-11 18:35:27.500000 [Info.][MPMain]: VMR9: ReleaseComObject(): 0
    2009-10-11 18:35:27.531250 [Info.][MPMain]: TSReaderPlayer: Cleanup done
    2009-10-11 18:35:27.531250 [Info.][MPMain]: TSReaderPlayer: Disabling DX9 exclusive mode
    2009-10-11 18:35:27.593750 [Warn.][MPMain]: D3D: Switch to windowed mode failed - Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
    at MediaPortal.D3DApp.SwitchFullScreenOrWindowed(Boolean bWindowed)
    2009-10-11 18:35:27.593750 [Info.][MPMain]: D3D: BuildPresentParamsFromSettings using 50Hz as RefreshRate
    2009-10-11 18:35:27.593750 [Warn.][MPMain]: D3D: mode failed - Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
    at MediaPortal.D3DApp.SwitchFullScreenOrWindowed(Boolean bWindowed)
    2009-10-11 18:35:27.593750 [Info.][MPMain]: fonts.SetDevice()
    2009-10-11 18:35:27.593750 [Info.][MPMain]: TSReaderPlayer:cleanup DShow graph False
    2009-10-11 18:35:27.593750 [Info.][MPMain]: TSReaderPlayer:grapbuilder=null
    2009-10-11 18:35:27.625000 [Info.][MPMain]: TSReaderPlayer: Cleanup done
    2009-10-11 18:35:27.625000 [Info.][MPMain]: RefreshRateChanger.AdaptRefreshRate: 'auto refreshrate changer' disabled
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    2009-10-11 18:35:27.640625 [Info.][MPMain]: site :Microsoft.DirectX.Direct3D.Caps get_DeviceCaps()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: source :Microsoft.DirectX.Direct3D
    2009-10-11 18:35:27.640625 [Info.][MPMain]: stacktrace: at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [Info.][MPMain]: Exception :Error in the application.
    2009-10-11 18:35:27.640625 [Info.][MPMain]: site :Microsoft.DirectX.Direct3D.Caps get_DeviceCaps()

    Error.log:

    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: site :Microsoft.DirectX.Direct3D.Caps get_DeviceCaps()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: source :Microsoft.DirectX.Direct3D
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: stacktrace: at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
    at Microsoft.DirectX.Direct3D.Device.get_DeviceCaps()
    at MediaPortal.GUI.Library.GUIImage.AllocResources()
    2009-10-11 18:35:27.640625 [ERROR][MPMain]: Exception :Error in the application.


    But if i load viewmodeswitcher again, i don't get lockups after stopping video.

    This error comes from MP and not direct from IFC. But I had a similar problem while coding and testing, I had to need to update my DirectX and video card driver to the latest version.

    Some user said, when they turn off exclusive mode (MP config), then it works.

    Do you get this exception every time you stop a video/dvd/tv stream/recording?
     

    SvenZ

    Portal Pro
    June 1, 2008
    120
    2
    Chemnitz/Sachsen
    Home Country
    Germany Germany
    Hi,
    I recently updated my ATI graphic driver from 8.45 up to 8.57 (I have a Radeon 3200 HD onboard card).
    Since then MP crashes when I start live tv (see logs).
    For now I disabled IFC.
     

    Marvman

    Retired Team Member
  • Premium Supporter
  • November 14, 2007
    1,163
    735
    Bavaria
    Home Country
    Germany Germany
    Hi,
    I recently updated my ATI graphic driver from 8.45 up to 8.57 (I have a Radeon 3200 HD onboard card).
    Since then MP crashes when I start live tv (see logs).
    For now I disabled IFC.

    Can it be, that you use the old version 0.9.0?
    You get the latest version from the huge orange download link in the first posting.

    If you still have the latest version, let me know please. :D
     

    Users who are viewing this thread

    Top Bottom