很如果一款視頻播放器在播放超清或是藍光視頻,就會需要占用很大的內存資源,限於硬件的運行效率,這類視頻並不能完美的播放,很可能會有卡頓感,這時候就需要硬件加速的幫助,如果你開啟了硬件加速,這項功能當然是沒有問題的,如果你並沒有開啟硬件加速可以了解關閉硬件加速的方法。
修改硬件加速:
將一下內容復制到記事本中,保存成 .bat 格式,直接運行即可!
1、關閉硬件加速:
- 01@echo off
- 02title 開啟DirectDraw
- 03mode con:cols=50 lines=12
- 04color ff
- 05echo 正在開啟DirectDraw加速...
- 06reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
- 07reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
- 08gpupdate /force 0>nul 1>nul
復制代碼
@echo off
title 開啟DirectDraw
mode con:cols=50 lines=12
color ff
echo 正在開啟DirectDraw加速...
reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 0 /f 0>nul 1>nul
gpupdate /force 0>nul 1>nul
2、打開硬件加速:
- 01@echo off
- 02title 關閉DirectDraw
- 03mode con:cols=50 lines=12
- 04color ff
- 05echo 正在關閉DirectDraw加速...
- 06reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
- 07reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
- 08gpupdate /force 0>nul 1>nul
復制代碼
@echo off
title 關閉DirectDraw
mode con:cols=50 lines=12
color ff
echo 正在關閉DirectDraw加速...
reg add "HKLM/SOFTWARE/Microsoft/Direct3D/Drivers" /v SoftwareOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
reg add "HKLM/SOFTWARE/Microsoft/DirectDraw" /v EmulationOnly /t REG_DWORD /d 1 /f 0>nul 1>nul
gpupdate /force 0>nul 1>nul
不過硬件加速有一個缺點,就是會加速消耗硬件壽命,非必要情況,用戶還是將硬件加速關閉吧。