Closed mojie126 closed 2 months ago
AviSynth is a frame server that mixes CPU and GPU processing, what it gives to NVEnc is already uncompressed YUV/RGB data, so the concept of decoding doesn't exist between AVS and NVEnc.
In other words, decoding is finished by AviSynth itself, if you want to make use of your GPU to decode the video, LSMASHVideoSource for ISO based media or LWLibavVideoSource for other formats both with prefer_hw=3 will try hardware decoder in the order of CUVID->QSV.
prefer_hw=3
It is possible for normal video codecs to use the power of the GPU to accelerate the decoding based on my practice.
@qwe7989199 Thank you for answering and sharing ways to use hw decode via Avisynth.
I'll close the issue as the question has been answered.
AviSynth is a frame server that mixes CPU and GPU processing, what it gives to NVEnc is already uncompressed YUV/RGB data, so the concept of decoding doesn't exist between AVS and NVEnc.
In other words, decoding is finished by AviSynth itself, if you want to make use of your GPU to decode the video, LSMASHVideoSource for ISO based media or LWLibavVideoSource for other formats both with
prefer_hw=3
will try hardware decoder in the order of CUVID->QSV.It is possible for normal video codecs to use the power of the GPU to accelerate the decoding based on my practice.![image](https://github.com/rigaya/NVEnc/assets/10990771/41db1593-7e98-4fcf-856d-24ccd3bc444d)