Skip to content

Commit 3b418cb

Browse files
committed
version 1.11.0
Changelog - Dynamic load QtAVWidgets in VideoOutput. `QtAV::Widgets::registerRenderers()` and `QT += avwidgets` is not requred now. - D3D11 decoder support. Not stable on Windows phone. - DXVA refactor and bug fix. - VA-API: fix memory leak when seeking - OpenGL: * Fix PBO binding * Custom shader support (WIP) * Edit and apply custom shader when playing. Based on Qt property system. * Optimize uniform update * GLSL filter support * Add `OpenGLVideo.beforeRendering/afterRendering` - CUDA: * Direct copy is default for windows. Now Rendering CUDA decoded frames is faster than any other players * 0-copy is default for linux. * Use new API (4.0) - AVPlayer: * Add `AVPlayer.stoppedAt` signal * add `setTimeRange()` * setStart/StopPosition can be called at any time with any value * Ensure all threads are running when `started` is emitted * Support preload using `load()`. Now no reload in `play()` - Fix build with QT_NAMESPACE - Fix swscale color range - Fix linux install destinations - Add AVTranscoder.async, encoders are in individual threads - Add FrameReader class - Use FFmpeg 3.0 API - QML: * Support filters, including sw filters from libavfilter, and GLSL filter * Add `MediaPlayer/Video.audioBackends` property * Support autoLoad * Add `VideoOutput.mapTo/FromXXX` between source frame and item * Video EQ in VideoOutput/Video * Add `MediaPlayer.startPosition/stopPotion` - QMLPlayer: Open video and subtitle at the same time. History view. Zoom. Video EQ
1 parent 3b7a248 commit 3b418cb

File tree

20 files changed

+115
-28
lines changed

20 files changed

+115
-28
lines changed

.qmake.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
QTAV_MAJOR_VERSION = 1
2-
QTAV_MINOR_VERSION = 10
2+
QTAV_MINOR_VERSION = 11
33
QTAV_PATCH_VERSION = 0
44

55
QTAV_VERSION = $${QTAV_MAJOR_VERSION}.$${QTAV_MINOR_VERSION}.$${QTAV_PATCH_VERSION}

Changelog

+40
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
version 1.11.0 2016-06-19
2+
3+
Changelog
4+
- Dynamic load QtAVWidgets in VideoOutput. `QtAV::Widgets::registerRenderers()` and `QT += avwidgets` is not requred now.
5+
- D3D11 decoder support. Not stable on Windows phone.
6+
- DXVA refactor and bug fix.
7+
- VA-API: fix memory leak when seeking
8+
- OpenGL:
9+
* Fix PBO binding
10+
* Custom shader support (WIP)
11+
* Edit and apply custom shader when playing. Based on Qt property system.
12+
* Optimize uniform update
13+
* GLSL filter support
14+
* Add `OpenGLVideo.beforeRendering/afterRendering`
15+
- CUDA:
16+
* Direct copy is default for windows. Now Rendering CUDA decoded frames is faster than any other players
17+
* 0-copy is default for linux.
18+
* Use new API (4.0)
19+
- AVPlayer:
20+
* Add `AVPlayer.stoppedAt` signal
21+
* add `setTimeRange()`
22+
* setStart/StopPosition can be called at any time with any value
23+
* Ensure all threads are running when `started` is emitted
24+
* Support preload using `load()`. Now no reload in `play()`
25+
- Fix build with QT_NAMESPACE
26+
- Fix swscale color range
27+
- Fix linux install destinations
28+
- Add AVTranscoder.async, encoders are in individual threads
29+
- Add FrameReader class
30+
- Use FFmpeg 3.0 API
31+
- QML:
32+
* Support filters, including sw filters from libavfilter, and GLSL filter
33+
* Add `MediaPlayer/Video.audioBackends` property
34+
* Support autoLoad
35+
* Add `VideoOutput.mapTo/FromXXX` between source frame and item
36+
* Video EQ in VideoOutput/Video
37+
* Add `MediaPlayer.startPosition/stopPotion`
38+
- QMLPlayer: Open video and subtitle at the same time. History view. Zoom. Video EQ
39+
40+
141
version 1.10.0 2016-03-01
242

343
Changelog

debian/changelog

+36
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
qtav (1.11.0) unstable; urgency=low
2+
3+
* Dynamic load QtAVWidgets in VideoOutput. avwidgets module is not requred now.
4+
* D3D11 decoder support. Not stable on Windows phone.
5+
* DXVA refactor and bug fix.
6+
* VA-API: fix memory leak when seeking
7+
* Fix PBO binding
8+
* Custom shader support (WIP)
9+
* Edit and apply custom shader when playing. Based on Qt property system.
10+
* Optimize uniform update
11+
* GLSL filter support
12+
* Add `OpenGLVideo.beforeRendering/afterRendering`
13+
* CUDA: Direct copy is default on windows. CUDA rendering is faster than any other players
14+
* CUDA: 0-copy is default for linux.
15+
* CUDA: Use new API (4.0)
16+
* Add `AVPlayer.stoppedAt` signal
17+
* Add `AVPlayer.setTimeRange()`
18+
* AVPlayer.setStart/StopPosition can be called at any time with any value
19+
* Ensure all threads are running when `AVPlayer.started` is emitted
20+
* Support preload using `AVPlayer.load()`. Now no reload in `play()`
21+
* Fix build with QT_NAMESPACE
22+
* Fix swscale color range
23+
* Fix linux install destinations
24+
* Add AVTranscoder.async, encoders are in individual threads
25+
* Add FrameReader class
26+
* Use FFmpeg 3.0 API
27+
* QML: Support filters, including sw filters from libavfilter, and GLSL filter
28+
* QML: Add `MediaPlayer/Video.audioBackends` property
29+
* QML: Support autoLoad
30+
* QML: Add `VideoOutput.mapTo/FromXXX` between source frame and item
31+
* QML: Video EQ in VideoOutput/Video
32+
* QML: Add `MediaPlayer.startPosition/stopPotion`
33+
* QMLPlayer: Open video and subtitle at the same time. History view. Zoom. Video EQ
34+
35+
-- Wang Bin (Lucas) <[email protected]> Sun, 19 Jun 2016 21:13:08 +0800
36+
137
qtav (1.10.0) unstable; urgency=low
238

339
* Improve seek speed, fix drop too much frames after seek

debian/ubuntu.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DATE=`date -d @$(git log -n1 --format="%at") +%Y%m%d`
1616
for D in ${DISTRIBUTIONS[@]}; do
1717
git checkout -- debian/changelog
1818
cp -avf debian/changelog $CHANGELOG_BAK
19-
VER=1.10.0~`git log -1 --pretty=format:"git${DATE}.%h~${D}" 2> /dev/null`
19+
VER=1.11.0~`git log -1 --pretty=format:"git${DATE}.%h~${D}" 2> /dev/null`
2020
mkchangelog $VER $D
2121
debuild -S -sa
2222
dput -f ppa:wbsecg1/qtav ../qtav_${VER}_source.changes

doc/BuildQtAV.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
***Uninstall QtAV SDK before building to avoid header files confliction. Run sdk_uninstall.bat/sh under your build dir***
22

3+
Shadow build is recommended (required for mac build).
4+
35
## 0. Prerequisites
46

57
- Get QtAV source code
@@ -23,7 +25,7 @@ Other requirements are:
2325

2426
OpenAL(Optional). OpenAL is not required since QtAV1.8.0. XAudio2 is always used. XAudio2 supports XP~windows 10 and Windows Store apps. Windows 8 and later natively supports XAudio2. For Windows 7 and older, you have to install [the driver from DirectX](http://sourceforge.net/projects/qtav/files/depends/DXSDK2010_XAudio2_redist.7z/download) to run.
2527

26-
- ***OS X, iOS*** None. System OpenAL is used
28+
- ***OS X, iOS*** None. AudioToolbox and System OpenAL is used
2729
- ***Android***
2830

2931
On Windows you must put `mingw32-make.exe` in one of `%PATH%` to avoid qmake error.
@@ -146,4 +148,11 @@ to .qmake.conf or .qmake.cache
146148
- [travis ci for linux and OSX](https://travis-ci.org/wang-bin/QtAV)
147149
- [appveyor for mingw and vs2013(msbuild+nmake)](https://ci.appveyor.com/project/wang-bin/qtav)
148150

149-
You can read the build log to see how they work.
151+
You can read the build log to see how they work.
152+
153+
154+
### Build Error
155+
156+
- qmake error `Checking for avutil... no`
157+
158+
Make sure ffmpeg headers and libs can be found by compiler. Read config.log in build dir for details.

examples/QMLPlayer/android/AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<manifest package="org.qtav.qmlplayer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.10.0" android:versionCode="5" android:installLocation="auto">
2+
<manifest package="org.qtav.qmlplayer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.11.0" android:versionCode="7" android:installLocation="auto">
33
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="QMLPlayer" android:icon="@drawable/icon">
44
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.qtav.qmlplayer.QMLPlayerActivity" android:label="QtAV QMLPlayer" android:screenOrientation="unspecified" android:launchMode="singleTop">
55
<intent-filter>
@@ -48,7 +48,7 @@
4848
<!-- Background running -->
4949
</activity>
5050
</application>
51-
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19"/>
51+
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19"/>
5252
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
5353

5454
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.

examples/QMLPlayer/ios/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
<key>CFBundleName</key>
2020
<string>${PRODUCT_NAME}</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>1.10</string>
22+
<string>1.11</string>
2323
<key>CFBundleVersion</key>
24-
<string>1.10.0</string>
24+
<string>1.11.0</string>
2525
<key>LSRequiresIPhoneOS</key>
2626
<true/>
2727
<key>UIFileSharingEnabled</key>

examples/QMLPlayer/qml/QMLPlayer/main.qml

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ Rectangle {
105105
}
106106
}
107107
onSourceChanged: {
108+
videoOut.zoom = 1
109+
videoOut.regionOfInterest = Qt.rect(0, 0, 0, 0)
108110
msg.info("url: " + source)
109111
}
110112

examples/QMLPlayer/winrt/WinPhone8.Package.appxmanifest

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name=\"org.qtav.qmlplayer\"
55
ProcessorArchitecture=\"$$lower($$VCPROJ_ARCH)\"
66
Publisher=\"CN=930FB10A-C50C-4801-84BA-255229D27D44\"
7-
Version=\"1.10.0.0\" />
7+
Version=\"1.11.0.0\" />
88
<mp:PhoneIdentity
99
PhoneProductId=\"e556656c-d8e8-49f9-8148-26506e94575a\"
1010
PhonePublisherId=\"00000000-0000-0000-0000-000000000000\" />
@@ -51,7 +51,7 @@
5151
<Extension Category=\"windows.fileTypeAssociation\">
5252
<FileTypeAssociation Name=\"qmlplayer\"> <!-- lower case-->
5353
<DisplayName>QtAV QMLPlayer</DisplayName>
54-
<Logo>assets\logo_store.png</Logo>
54+
<Logo>assets/logo_store.png</Logo>
5555
<EditFlags AlwaysUnsafe=\"true\" />
5656
<SupportedFileTypes>
5757
<FileType>.3gp</FileType>

examples/QMLPlayer/winrt/WinRT10.Package.appxmanifest

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Identity
1111
Name=\"org.qtav.qmlplayer\"
1212
Publisher=\"CN=930FB10A-C50C-4801-84BA-255229D27D44\"
13-
Version=\"1.10.0.0\"
13+
Version=\"1.11.0.0\"
1414
ProcessorArchitecture=\"$$lower($$VCPROJ_ARCH)\" /> <!--replaced by qmake-->
1515
<mp:PhoneIdentity
1616
PhoneProductId=\"e556656c-d8e8-49f9-8148-26506e94575a\"
@@ -48,7 +48,7 @@
4848
<uap:FileTypeAssociation Name=\"qmlplayer\"> <!-- lower case-->
4949
<uap:DisplayName>QtAV QMLPlayer</uap:DisplayName>
5050
<uap:InfoTip>QtAV media player</uap:InfoTip>
51-
<uap:Logo>assets\logo_store.png</uap:Logo>
51+
<uap:Logo>assets/logo_store.png</uap:Logo>
5252
<uap:EditFlags AlwaysUnsafe=\"true\" />
5353
<uap:SupportedFileTypes>
5454
<uap:FileType>.3gp</uap:FileType>

examples/QMLPlayer/winrt/WinRT8.Package.appxmanifest

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name=\"org.qtav.qmlplayer\"
55
ProcessorArchitecture=\"$$lower($$VCPROJ_ARCH)\"
66
Publisher=\"CN=930FB10A-C50C-4801-84BA-255229D27D44\"
7-
Version=\"1.10.0.0\" />
7+
Version=\"1.11.0.0\" />
88
<Properties>
99
<DisplayName>QtAV Video Player</DisplayName>
1010
<PublisherDisplayName>Lucas Wang</PublisherDisplayName>
@@ -51,7 +51,7 @@
5151
<Extension Category=\"windows.fileTypeAssociation\">
5252
<FileTypeAssociation Name=\"qmlplayer\"> <!-- lower case-->
5353
<DisplayName>QtAV QMLPlayer</DisplayName>
54-
<Logo>assets\logo_store.png</Logo>
54+
<Logo>assets/logo_store.png</Logo>
5555
<EditFlags AlwaysUnsafe=\"true\" />
5656
<SupportedFileTypes>
5757
<FileType>.3gp</FileType>

qtc_packaging/debian_generic/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Maintainer: Wang Bin(Lucas Wang) <[email protected]>
55
Source: QtAV
66
Section: video
77
Priority: optional
8-
Homepage: http://www.qtav.org
8+
Homepage: http://qtav.org
99
Depends:
1010
Description: A media playing framework based on Qt and FFmpeg
1111
QtAV is a media playing framework based on Qt and FFmpeg. It can help you to write a player with less effort than ever before.

qtc_packaging/ifw/config/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Installer>
33
<Name>QtAV</Name>
4-
<Version>1.10.0</Version>
4+
<Version>1.11.0</Version>
55
<Title>QtAV Multimedia framework</Title>
66
<Publisher>WangBin [email protected]</Publisher>
77
<ProductUrl>http://qtav.org</ProductUrl>

qtc_packaging/ifw/packages/com.qtav.product.dev/meta/package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<Package>
33
<DisplayName>Development files</DisplayName>
44
<Description>Install QtAV headers and lib.</Description>
5-
<Version>1.10.0-0</Version>
6-
<ReleaseDate>2016-03-01</ReleaseDate>
5+
<Version>1.11.0-0</Version>
6+
<ReleaseDate>2016-06-19</ReleaseDate>
77
<Name>com.qtav.product.dev</Name>
88
<Default>script</Default>
99
<Script>installscript.qs</Script>

qtc_packaging/ifw/packages/com.qtav.product.examples/meta/package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<Package>
33
<DisplayName>Examples</DisplayName>
44
<Description>Install QtAV examples.</Description>
5-
<Version>1.10.0-0</Version>
6-
<ReleaseDate>2016-03-01</ReleaseDate>
5+
<Version>1.11.0-0</Version>
6+
<ReleaseDate>2016-06-19</ReleaseDate>
77
<Name>com.qtav.product.examples</Name>
88
<Default>script</Default>
99
<Script>installscript.qs</Script>

qtc_packaging/ifw/packages/com.qtav.product.player/data/bin/player.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
D=`readlink -f $0`
33
D=${D%/*}
44
export LD_LIBRARY_PATH=$D:$D/lib
5-
$D/player "$@" # name with spaces
5+
$D/Player "$@" # name with spaces

qtc_packaging/ifw/packages/com.qtav.product.player/meta/package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<Package>
33
<DisplayName>Player</DisplayName>
44
<Description>Default player.</Description>
5-
<Version>1.10.0-0</Version>
6-
<ReleaseDate>2016-03-01</ReleaseDate>
5+
<Version>1.11.0-0</Version>
6+
<ReleaseDate>2016-06-19</ReleaseDate>
77
<Name>com.qtav.product.player</Name>
88
<Default>true</Default>
99
<ForcedInstallation>true</ForcedInstallation>

qtc_packaging/ifw/packages/com.qtav.product.runtime/meta/package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<Package>
33
<DisplayName>Runtime library</DisplayName>
44
<Description>Install QtAV runtime library.</Description>
5-
<Version>1.10.0-0</Version>
6-
<ReleaseDate>2016-03-01</ReleaseDate>
5+
<Version>1.11.0-0</Version>
6+
<ReleaseDate>2016-06-19</ReleaseDate>
77
<Name>com.qtav.product.runtime</Name>
88
<Translations>
99
<Translation>zh_CN.qm</Translation>

qtc_packaging/ifw/packages/com.qtav.product/meta/package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<Package>
33
<DisplayName>QtAV</DisplayName>
44
<Description>Install QtAV multimedia library</Description>
5-
<Version>1.10.0-0</Version>
6-
<ReleaseDate>2016-03-01</ReleaseDate>
5+
<Version>1.11.0-0</Version>
6+
<ReleaseDate>2016-06-19</ReleaseDate>
77
<Name>com.qtav.product</Name>
88
<Licenses>
99
<License name="LGPL v2.1" file="lgpl-2.1.txt" />

src/QtAV/version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define QTAV_VERSION_H
2424

2525
#define QTAV_MAJOR 1 //((QTAV_VERSION&0xff0000)>>16)
26-
#define QTAV_MINOR 10 //((QTAV_VERSION&0xff00)>>8)
26+
#define QTAV_MINOR 11 //((QTAV_VERSION&0xff00)>>8)
2727
#define QTAV_PATCH 0 //(QTAV_VERSION&0xff)
2828

2929

0 commit comments

Comments
 (0)