Intelligent Frame Correction - PlugIn (9 Viewers)

Marvman

Retired Team Member
  • Premium Supporter
  • November 14, 2007
    1,163
    735
    Bavaria
    Home Country
    Germany Germany
    I'll try using a non-DXVA codec to see if it makes a difference. VMR9 doesn't work properly for MP on my Vista system, so that might be difficult to test.

    One thought to work around the high CPU spikes - could you implement another hotkey (like the 'manual control' key) to trigger a 'one-shot' black-bar detection. Or maybe it could toggle the auto detect on/off ?

    Tony

    toggle auto detect on/off would be the easiest way, I'll think about it

    The spikes are absolutely strange, you already use a DXVA codec and still have those spikes?!?!?!?

    I saw you had 56 open process' in your task manager, when I'm running firefox for example my cpu jumps +20% up, and I'm notice stuttering too. Try to disable all non needed services and process' if you didn't already. Otherwise I have no clue. As I already said, your pc specs are better than mine.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    It's a dedicated HTPC so I already have some services disabled, and normally nothing much else is running other than MP.

    The spikes happen at the 'scan interval' rate when black-bar detection is enabled, so it's definitely related to the frame grabbing. I think the other person complaining about high CPU usage (Nephilim, near the start of the thread) was also running Vista.

    Tony
     

    Marvman

    Retired Team Member
  • Premium Supporter
  • November 14, 2007
    1,163
    735
    Bavaria
    Home Country
    Germany Germany
    It's a dedicated HTPC so I already have some services disabled, and normally nothing much else is running other than MP.

    The spikes happen at the 'scan interval' rate when black-bar detection is enabled, so it's definitely related to the frame grabbing. I think the other person complaining about high CPU usage (Nephilim, near the start of the thread) was also running Vista.

    Tony

    Hope in Windows 7 this doesn't happen, want to change some day. Or could that be a EVR thing? EVR doesn't work here (get a gray screen)?
     

    hirscho

    Portal Pro
    December 24, 2006
    186
    20
    Home Country
    Germany Germany
    Hi Marvin

    I am using IFC on my "productive" system now. Especially the zooming effect is a highlight :)

    There is only one thing that is a kind of disturbing. The left bar detection is too "nervous". That means in a normal 16:9 transmission you often have pictures with black bars at the left (e.g. a picture is shown in the news, advertisment). So if possible I would vote for a dedicated flag to deactivate left bar detection.

    Regards

    Oliver
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    I have same problem. Pls make an option for disable the left bar detection.

    thx :)
     

    Marvman

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

    I am using IFC on my "productive" system now. Especially the zooming effect is a highlight :)

    There is only one thing that is a kind of disturbing. The left bar detection is too "nervous". That means in a normal 16:9 transmission you often have pictures with black bars at the left (e.g. a picture is shown in the news, advertisment). So if possible I would vote for a dedicated flag to deactivate left bar detection.

    Regards

    Oliver

    I have same problem. Pls make an option for disable the left bar detection.

    thx :)

    I'm voting for that flag too :D, it will be in the next version.

    Tip: when you move the rectangle of Black Area L/R to the middle (you can make it smaller too), then it shouldn't detect black ;)
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Yes, 480p/576p is not HD - whatever Apple might think :)

    Yes, correct. I wonder why the frame grabbing causes such big spikes (with Vista+EVR+DXVA+nVidia at least) ?

    Tony

    Maybe you can play a lil bit with VMR9 and EVR and codecs, maybe you notice a difference.

    I'll try using a non-DXVA codec to see if it makes a difference. VMR9 doesn't work properly for MP on my Vista system, so that might be difficult to test.

    Tony

    I've done some testing - I still get the CPU spikes using VMR and non-DXVA codecs, so it looks like it's maybe a Vista thing.

    Anyone else using IFC on Vista or Win 7 and could check for CPU usage with black-bar detection enabled ?

    Tony
     

    bazzz

    Portal Pro
    March 29, 2008
    87
    5
    Vancouver, BC
    Home Country
    Canada Canada
    Actually, i think this is causing some hangs for me. Using Windows XP, VMR9. I get this thing repeating in my error.log - seems to happen whenever I want to stop TV, or possibly changing channels. Any ideas?

    Code:
    2009-10-24 10:28:21.125000 [ERROR][MPMain]: Exception   :Error in the application.
    2009-10-24 10:28:21.125000 [ERROR][MPMain]:   site      :Void Clear(Microsoft.DirectX.Direct3D.ClearFlags, Int32, Single, Int32, System.Drawing.Rectangle[])
    2009-10-24 10:28:21.125000 [ERROR][MPMain]:   source    :Microsoft.DirectX.Direct3D
    2009-10-24 10:28:21.125000 [ERROR][MPMain]:   stacktrace:   at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortalApp.Render(Single timePassed)
    2009-10-24 10:28:21.140625 [ERROR][MPMain]: Exception   :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortalApp.Render(Single timePassed)
    2009-10-24 10:28:21.140625 [ERROR][MPMain]: Exception   :Error in the application.
    2009-10-24 10:28:21.140625 [ERROR][MPMain]:   site      :Void Clear(Microsoft.DirectX.Direct3D.ClearFlags, Int32, Single, Int32, System.Drawing.Rectangle[])
    2009-10-24 10:28:21.140625 [ERROR][MPMain]:   source    :Microsoft.DirectX.Direct3D
    2009-10-24 10:28:21.140625 [ERROR][MPMain]:   stacktrace:   at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortalApp.Render(Single timePassed)
    2009-10-24 10:28:21.156250 [ERROR][MPMain]: Exception   :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortalApp.Render(Single timePassed)
    2009-10-24 10:28:21.156250 [ERROR][MPMain]: Exception   :Error in the application.
    2009-10-24 10:28:21.156250 [ERROR][MPMain]:   site      :Void Clear(Microsoft.DirectX.Direct3D.ClearFlags, Int32, Single, Int32, System.Drawing.Rectangle[])
    2009-10-24 10:28:21.156250 [ERROR][MPMain]:   source    :Microsoft.DirectX.Direct3D
    2009-10-24 10:28:21.156250 [ERROR][MPMain]:   stacktrace:   at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortalApp.Render(Single timePassed)

    At some point I'm going to try this on Windows 7 to see if it's an XP/VMR9 thing.

    Thanks.
     

    Marvman

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

    try the latest DirectX version and driver, that exception comes from MP. Had a similiar problem while coding that plug-in, and i had to need to update my drivers.
     

    Users who are viewing this thread

    Top Bottom