Open spaul13 opened 5 years ago
It could be divided to two things:
@kyo8568131, can u please tell me how to change the native code to support GPU decoding?
You can check the sample code hw_decode.c in FFmpeg development build. And also check the official reference page: https://trac.ffmpeg.org/wiki/HWAccelIntro
The video with just one 1 I frame and 4 P frame is taking almost (~25 ms to allocate and initialize decoder context and additionally more than 100 ms is needed to decode it make the state from buffering to state) which implies the FPS that viveMediaPlayer can support is less than 10 FPS.
can anyone please tell me Why it's too slow? and is there any way to improve this? I am using viveMediaPlayer on Unity windows platform.