geminixdev

Results 48 comments of geminixdev

> You said that QtMultimedia for 5.15 does not have perf issues? yes, definitely, Full HD no problem at all, smooth and GUI not lagging, on the same armeabi-v7a devices....

> > Also when you convert QAVVideoFrame to QVideoFrame there is hardcoded converting https://github.com/valbok/QtAVPlayer/blob/master/src/QtAVPlayer/qavvideoframe.cpp#L314 > > which downloads data from GPU, since there is no support for mediacodec in QRHI...

> Can you confirm that qml rendering is lagging? Using VideoOutput? Can you also disable sending video frames to VideoOutput, but received from the player and confirm that CPU is...

In `QAVFrameCodec::decode()` there is `avcodec_receive_frame()`. Logging the time it runs gives these results: HD: ``` 05-03 00:13:59.037 8197 8399 I Player : [03 0:13:59.036 +07 I] decode_mediacodec, after avcodec_receive_frame. frames.size()...

The tests above where with an HK1 X4 Box. Now below tests with a Tanix TX6 Box. And it gets weirder, here - it is not NV12, but YUV420P all...

> * about NV12 , interesting, but AV_PIX_FMT_MEDIACODEC should be used, otherwise it looks like software decoding. Yes, that is what I expected too. However we seem to get NV12...

> I will recheck with the first box, the HK1, if there is an error in logcat about h264_mediacodec. Logcat shown no indication that software decoding would be used. There...

> `I assume that QAVPlayer as library is shown within the Player CPU%. According to top then its not too much.` > > Does it mean you see low CPU%...

> You should track Cpu of the application. There is simple way how to determine it is hw accelerated or not. Just compare Cpu usage of the app with mediacodec...

More testing with the HK1 Box resulted in the box playing with software decoding in Full HD better than with Mediacodec. With mediacodec the decoding speed seems to be just...