h4tr3d / avcpp

C++ wrapper for FFmpeg
Other
429 stars 78 forks source link

compile ffmpeg with cuda surpport, so can avcpp use hwaccelerate? #91

Closed jcyhcs closed 3 years ago

jcyhcs commented 3 years ago

hi,professor:

i compile a ffmpeg with cuda support, i think avcpp is wrapper of ffmpeg, so how can i write code to use hwaccelerate? PLEASE HELP!

h4tr3d commented 3 years ago

AvCpp does not provide abstraction for hwaccelerate usage. But you can still use it via ->raw() access to the appropriate structures.