Enabling hardware Accleration for the Transcoding sample App.

Answered Enabling hardware Accleration for the Transcoding sample App.

  • 13 martie 2012 11:01
     
     

    Hi,

    I need to enable and disable the Hardware acceleration in the Transcoding sample Application(javascript).

    the checking option is their whether the hardware is enabled or not but enabling/disabling is not their.

    Can you help in by using which API i can enable and disable the Hardware Acceleration.


    If possible can you provide me the code.
    • Editat de Ldm_Metro 13 martie 2012 11:08
    •  

Toate mesajele

  • 14 martie 2012 09:53
     
     

    Hi,

    I need to enable and disable the Hardware acceleration in the Transcoding sample Application(javascript).

    the checking option is their whether the hardware is enabled or not but enabling/disabling is not their.

    Can you help in by using which API i can enable and disable the Hardware Acceleration.


    If possible can you provide me the code.
         same issues.
  • 16 martie 2012 00:10
    Moderator
     
     Răspuns

    Hello,

    mediaTranscoder.hardwareAccelerationEnabled = [true]|[false]

    MediaTranscoder.HardwareAccelerationEnabled
    http://msdn.microsoft.com/en-us/library/windows/apps/windows.media.transcoding.mediatranscoder.hardwareaccelerationenabled.aspx#Y0

    I hope this helps,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • 16 martie 2012 10:20
     
     

    Thanks James,

    does this API takes care of this Intrernally.When we will put the value as false.

  • 16 martie 2012 22:48
    Moderator
     
     
    <p>If I understand your question correctly, yes. When you flip this switch to "false" HW acceleration should be "turned off".</p><p>-James</p>

    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • 2 aprilie 2012 07:04
     
     

    Hi James,

    As per your instruction i have kept the values of mediaTranscoder.hardwareAccelerationEnabled = [true]|[false].

    But while checking through some tools we are not able to get the Hardware Acceleration. i.e the hardware accleration is not getting enabled.

    can you suggest some tools or anything so that we can verify that hardware acceleration is working fine or do we have some problems with the API??

    Regards,

    Laxmindhar


    • Editat de Ldm_Metro 2 aprilie 2012 08:47 .
    •  
  • 6 aprilie 2012 22:58
    Moderator
     
     

    Hello Lazmindhar,

    Usually I would recommend that you use GPU View but I have reports that it does not work as expected on Windows 8. You might try using XPerf. I know that we have a lot of performance logging included in Windows 8 but again I'm not entirely sure what is working from the Kernel in the CP. What hardware are you using? What codec are you using? How do you know that HW accelleration is not working?

    GPUView.exe

    http://msdn.microsoft.com/en-us/library/windows/hardware/ff570133(v=vs.85).aspx

    -James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/