A media playing framework based on Qt and FFmpeg. It helps you to write a player easily
基于Qt和FFmpeg的音视频播放框架
Library license: LGPL v2.1 or later. Examples license: GPL v3
Wrtie a media player using QtAV is quite easy. QtAV provide both Qt C++ and QML api. QML playback API is designed to compatible with QtMultiMedia
For more detail to using QtAV, see the wiki Use QtAV In Your Project and examples
Minimal player example
WidgetRenderer renderer;
renderer.show();
AVPlayer player;
player.setRenderer(&renderer);
player.play("test.avi");
import QtQuick 2.0
import QtAV 1.3
Item {
VideoOut {
anchors.fill: parent
source: player
}
AVPlayer { //or MediaPlayer
id: player
source: "test.mp4"
}
MouseArea {
anchors.fill: parent
onClicked: player.play()
}
}
Copyright © Wang Bin wbsecg1@gmail.com
Shanghai University->S3 Graphics, Shanghai, China
2012~2014