Thursday, November 19, 2020

Use DXVA Hardware Acceleration to accelerate your video file conversion!


 So you have a mid-range CPU and you want to bump up those encoding speeds when frameserving with AviSynth?

No problem with DSS2Mod!

Use the following code to load your video file:

LoadPlugin("PATH\avss.dll")
DSS2("filename.mkv", lavs=" ", lavd="hm3")

where PATH is where you stored the Dss2Mod files.

Note that you need the 32-bit version here, which come with the LAV filters. These are triggered by the lavs and lavd parameters.

Using "hm3" in the lavd parameter is what triggers the DXVA hardware acceleration to decode your source file!

You can verify that it is triggered during the conversion by checking the GPU load in your Task Manager:

On a Ryzen 2200G APU, expect up to 30% higher encoding speed during the 2nd pass when converting a Full HD VC-1 15Mbit/s video to a 1Mbit/s 540p AVC clip!


No comments:

Post a Comment