Wrap ffmpge api by c++ and register in qml. You can use the qml type VideoItem such as QtMutilMedia.
How to build&&run.
Don't use shawdow build. Copy all of the file in the dll directory into releases or debug directory.
这是个极其简单的使用 ffmpeg
解码,然后使用 QML
绘制视频画面, SDL
播放音频的例子。
不要使用影子构建!
然后将 dll 文件夹下的所有文件拷贝到编译生成的可执行文件所在的目录(比如release或debug)