QtAV

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


Project maintained by wang-bin Hosted on GitHub Pages — Theme by mattgraham

For Developers

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

C++ QML
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()
    }
}

Features

Qt FFmpeg Libav OpenGL OpenGL ES OpenAL PortAudio DirectX

Platforms

Windows, Linux, Mac OSX, Android, iOS, MeeGo, COS

Video: QtAV based qmlvideofx with CedarV hardware decoding



Copyright © Wang Bin wbsecg1@gmail.com

Shanghai University->S3 Graphics, Shanghai, China

2012~2014