Closed gzchenjiajun closed 8 months ago
Hi @gzchenjiajun
Please check out https://github.com/RomanArzumanyan/VALI which is VPF successor. It’s actively supported and maintained, has compatible API and module naming. Just duplicate your issue there.
WRT to your very question:
Can I achieve similar functions above
You can use PyNvDecoder
+PySurfaceResizer
for on-GPU decoding and scaling. I assume the similar processing is done under the hood in OpenCV.
Which hard encoder and hard decoder is used to execute vpf?
VPF uses Nvdec and Nvenc via NV Video Codec SDK API.
thks! @RomanArzumanyan
Thank you vpf for this project! Much more convenient than compiling from opencv to get python support for hard decoding!
I have two questions: 1, Can I achieve similar functions above, that is, when decoding with vpf, specify the size of the picture I need in advance, such as: cap.set(cv2.CAP_PROP_FRAME_WIDTH, width) cap.set(cv2.CAP_PROP_FRAME_HEIGHT, height) What is a similar implementation in vpf?
2, Which hard encoder and hard decoder is used to execute vpf? Is it nvdec? Because I didn't see which specific decoder was used.