WangBin

Results 587 comments of WangBin

> I'm still getting this error though even after adding the context: > > ``` > get Context 0xb42660/0xa2c610 has no local data for key 0xa80fe8, create 1(0xf98690) > get...

> I think I've managed to get rid of the memory leak by creating a dedicated sf::Context for the player. I've updated the test example from the first post. It's...

no BufferMode. `Player.setBufferRange()` can do the same work, but it's already set to proper values for rtsp. you can apply ffmpeg avformat options, see https://github.com/wang-bin/mdk-sdk/wiki/Troubleshooting#mosaic-and-high-latency-in-rtsp

can't reproduce by glfwplay. what about using glfwplay in your environment? and log will be helpful

本机测试的话安装好openjdk,cmake编译,ctest跑测试用例

确实是这样,这个还没研究过。还得参考下其他播放器

貌似mpv, vlc, ffmpeg都用tempo滤镜实现的,直接在player的LibAVFilter设置里启用tempo滤镜,参数为`atempo=tempo=2.0`就变成2倍速度播放了。不过ffmpeg支持0.5-2.0,mpv支持0.01-100,所以打算把mpv代码挪过来。可是代码看不懂现在

可以用avfilter。我在另一个项目里实现了 https://github.com/wang-bin/mdk-sdk

Depending on how ffmpeg is built. Should be the same as other apps using ffmpeg, for example mpv.

ogg audio and video are supported. you can create a pull request.