WangBin

Results 589 comments of WangBin

不支持,这个得放到c++里比较合适,因为解码出来的frame不一定有cpu可读的数据,和解码器相关的,比如有的是d3d纹理,有的只能被opengl读取。只有用软解或硬解拷贝模式才能保证cpu可读,但是原始数据格式比较复杂你不一定能处理。 你可以说下你的使用场景

怎么发送?

这得在c++部分(callback.cpp)里自己加代码了,可以参考 https://github.com/wang-bin/mdk-examples/blob/06e8b1c568d629e4890399ef9a06e59c4649394a/Native/Thumbnail.cpp#L49-L83

I can't enable vdpau on ubuntu 24.04, vdpauinfo fails too. vaapi is recommended, it's available in wayland and x11. Can you upload the log?

> VAAPI is insanely slow, much slower than vanilla FFmpeg Can you compare the fps of `./DecodeFps -c:v vaapi test.mp4` and `./DecodeFps -c:v vaapi test.mp4` or ffmpeg command? > "mdk...

> "mdk debug log" : trying vdpau from x11 display: (nil) Setting x11 display from qt is recommended: https://github.com/wang-bin/mdk-examples/blob/master/Qt/QMDKWidget.cpp#L32

> "mdk debug log" : gl.VDPAUInitNV((const GLvoid*)(intptr_t)device_, (const GLvoid*)resolver_) GL ERROR (502) @ensureInterop373 > > "mdk debug log" : unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => host...

`player.seek(` or `::seekTo(`: 50 lines. `seekComplete#` 52 lines - `not found @` 3 lines, `::seekTo(` max id is 50, seekComplete# max id is 50, looks good

if previous seeking is not finished, new seek is ignored. in your log, seeking is fast so none is ignored