Answered Enabling hardware Accleration for the Transcoding sample App.

  • Tuesday, March 13, 2012 11:01 AM
     
     

    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.
    • Edited by Ldm_Metro Tuesday, March 13, 2012 11:08 AM
    •  

All Replies

  • Wednesday, March 14, 2012 9:53 AM
     
     

    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.
  • Friday, March 16, 2012 12:10 AM
    Moderator
     
     Answered

    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/

  • Friday, March 16, 2012 10:20 AM
     
     

    Thanks James,

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

  • Friday, March 16, 2012 10:48 PM
    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/

  • Monday, April 02, 2012 7:04 AM
     
     

    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


    • Edited by Ldm_Metro Monday, April 02, 2012 8:47 AM .
    •  
  • Friday, April 06, 2012 10:58 PM
    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/