QtAV
QtAV copied to clipboard
HAP decoding
It's more a question rather an bug report, really. Do you upload HAP codec encoded video frames directly to GPU memory (raw frames are compressed DXT1/DXT5 textures), or using ffmpeg built-in decoding? FFmpeg decoding uses software conversion under the hood, so it might be not the optimal way of doing things. I'm asking because the playback of hi-res HAP videos isn't as smooth as I expected in QtAV.
Thanks, Lev
It's ffmpeg built-in decoder. Do you have a sample code to optimize the decoding?
I think I would like to find time to implement it myself! The idea of it is quite simple, and I would like to get to know QtAV code a bit better.
https://github.com/mattbeghin/FFmpegHapGlPlayer I hope QTAV can add efficient HAP coding, thank you. I don't know qtav, how do I add it?