wang-bin / mdk-sdk

multimedia development kit. download:
https://sourceforge.net/projects/mdk-sdk/files/
285 stars 32 forks source link

android使用sync控制视频进度的时候,会不断间隔黑屏 #167

Closed ken626014896 closed 10 months ago

ken626014896 commented 10 months ago

最新的安卓sdk,会黑一下然后好一下,之前旧sdk的没发现这个问题 旧的版本好像是MDK-JNI 0.22.1 (git 4a0d0d6) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) 开发板是rk3568 android11 log.txt

ken626014896 commented 10 months ago
internal_player->setDecoders(MediaType::Video,{"AMediaCodec", "FFmpeg", "dav1d"});这个是解码设置
wang-bin commented 10 months ago

AMediaCodec:acquire=latest 试下

ken626014896 commented 10 months ago

用的是qml的例子,使用sync控制视频进度,设置了确实不闪黑屏了

wang-bin commented 10 months ago

好,最近在做多屏显示改过一些参数,我后面把这个不黑的改成默认的

wang-bin commented 10 months ago

最新包把这个参数设成默认的了

ken626014896 commented 10 months ago

测试了,不加参数也正常了,感谢作者大大