50 Commits

Author SHA1 Message Date
wang-bin 552e0ad88a config: test videotoolbox header only
static ffmpeg depends on too many libs and hard to test. assume vt is always available on apple if ffmpeg header exists
2018-05-08 18:28:10 +08:00
wang-bin 796781b993 let mingw build d3d11 decoder
d3d11.h in mingw64<v5 is not complete, no video decoder there. So the
latest d3d11.h from vs is used. other dependencies like d3d11layers.h,
d3d10.h are already in mingw64. Toolchain provided by qt does not
contains wrl and d3d11layers.h, use mingw-builds instead.
xaudio2 still use 2.8.
tested on mingw64 gcc 4.9, 5.3
remove d2d1headers because d2d1 is supported by most toolchains (gcc4.7,
vs2010 for example)
2016-04-10 18:59:57 +08:00
wang-bin baf7e69167 d3d11: more build env checks to avoid build error
d3d11.h provided by mingw is not complete. maybe I can consider https://
github.com/gongminmin/UniversalDXSDK
2016-04-07 12:47:28 +08:00
wang-bin a45d666295 d3d11va: fix config test error
libavcodec/d3d11va.h includes d3d11.h as c. so must include d3d11.h
first.
g++ c++11 is required to use ComPtr, so g++4.x will not build d3d11va by
default
2016-03-31 23:38:15 +08:00
wang-bin 4cdb7fa34f d3d11va: add decoder. not complete 2016-03-31 11:49:12 +08:00
wang-bin 6870e92439 config.tests: add d3d11va 2016-03-29 13:56:56 +08:00
wang-bin 8c36b1b5e7 qmake: fix ios config test for qt5.6
ios and simulator use the same spec since 5.6. need additional CONFIG
+=iphoneos for qmake
2016-02-26 05:42:29 +08:00
wang-bin d7cec3b84a config.tests: check videotoolbox symbols
headers are always provided in new ffmpeg, but user may not compile vt
code, so vt should be disabled to avoid qtav link error
2016-02-26 05:27:46 +08:00
wang-bin cb37a377ba openal: prefer dynamic load if capi submodule is present
ios: link to OpenAL framework
other platforms: find library name/path in the order openal
(unix)=>OpenAL32 (win)=>/System/Library/Frameworks/OpenAL.framework/
Versions/A/OpenAL (osx)=>OpenAL (blackberry). So if you installed
openal-soft on OSX using homebrew, openal-soft will be used. Otherwise,
system OpenAL will be used.
2016-02-15 16:57:50 +08:00
wang-bin 2d98278f40 fix uchardet.h detection. install uchardet for osx 2015-11-02 23:37:08 +08:00
wang-bin 1439d55467 use uchardet 2015-11-02 22:23:54 +08:00
wang-bin a8debcf51b config: link to libass check if capi.h is not found 2015-09-28 14:22:20 +08:00
wang-bin 0856ed2b54 vo: add x11 renderer. no scale support now 2015-09-22 21:05:46 +08:00
wang-bin 1a0e6482dd create static lib if only depends on headers 2015-09-15 13:50:51 +08:00
wang-bin 3e3fea9838 config test only checks libass headers because we dynamic load it at
runtime

pass CONFIG+=config_libass_link to force linking against libass. add this
for debian as a dependency
2015-08-24 22:23:43 +08:00
wang-bin 8207b2b6c0 add videotoolbox decoder for OSX/iOS
cv buffer life time is different with vda. must increase ref in interop
objects
TODO:
most code are the same as vda. unify these 2 decoders
2015-08-14 18:41:03 +08:00
wang-bin 61be1d62f4 cedarv: remove asm in cpp to avoid build error 2015-07-20 19:05:16 +08:00
wang-bin 32392cf44d build libs in config.tests. some platforms can not create exe
for winrt, ios
2015-07-17 01:56:42 +08:00
wang-bin c2ccf91211 xaudio2: add config test. add headers from June 2010 dxsdk 2015-07-15 15:46:12 +08:00
wang-bin 7bffd07711 appveyor ci for windows 2015-05-21 16:48:10 +08:00
wang-bin 6d138ccac4 ao: add pulseaudio
also change other buffer control code that not confirmed (opensl
callback, dsound)
TODO: notify QtAV if per-app volume changed from system
2015-03-08 02:10:38 +08:00
wang-bin 14ba2f85c5 version 1.5.0 2015-02-13
Changelog:
- Add QtAVWidgets module contains widget based renderers, video preview
widget
- QtAV module only depends on QtCore and QtGui
- Improve audio output API
- Simplify deployment on OSX. Deploy sdk from release packages without
build.
- Improve seekable detection
- Fix noise audio if volume increased
- Fix noise and wrong playback speed for wmv videos
- Preview is more accurate
- Do not copy AVPacket but use reference count.
- Faster audio track switch
- Reopen audio output only if audio format changed
- VideoFrame: new API for converting to another format or QImage
- OpenGL VAO, VBO support.
- QML
  * Fix some crashes in QQuickItemRenderer
  * Add FBO item renderer and use the same code path as other opengl
renderers
  * timeout property
- player and QMLPlayer example
  * player: real time preview on progress bar
  * Fast seek and display if seek shortcut is pressed and hold
2015-02-14 03:16:14 +08:00
sherpya d59c1c1aa2 added support for avdevice by forcing input format 2014-10-13 08:30:44 +02:00
wang-bin c90d822803 subtitle: add libass. plain text works. ass rendering to be continue 2014-09-28 15:03:29 +08:00
wang-bin 3678ffc309 typo. app bundle only for 2 players 2014-09-07 22:09:55 +08:00
wang-bin 52be83a3a7 add qt include and lib dir to config test 2014-07-14 21:40:30 +08:00
wang-bin 35acfc893f vaapi: dynamic load va-x11 and va-gl
TODO: system may have no x11, so x11 should dynamically load too
use qopengl.h instead of gl.h? check glx or gles and use va-egl
2014-07-04 00:41:58 +08:00
wang-bin 272cb02930 qmake: add qt include/lib dir for config.tests. add depended libs here
used by android. deploying android app needs libs in qt's lib dir
2014-06-19 22:06:43 +08:00
wang-bin a93c595db0 initial libavfilter support. as a filter
TODO: multiple result frames and refactor filters
2014-06-04 21:11:14 +08:00
wang-bin 782dd22391 vaapi: dynamically load libva-drm 2014-05-19 22:04:11 +08:00
wang-bin d0491663f8 qmake: better way to detect sse2 sse4.1 for qt4/5 2014-05-03 22:05:56 +08:00
wang-bin ddf0a59130 fast copy from USWC using sse4.1. not supported by va
TODO: add memcpy like function. configurable cache size
2014-05-03 15:27:17 +08:00
wang-bin fc6ebdc011 vaapi: drm support 2014-04-27 16:25:20 +08:00
wang-bin e0bcacb969 Merge branch 'cedarv'
Conflicts:
	QtAV.pro
2014-01-25 23:07:11 +08:00
wang-bin 675d4c882c openal: add to config.tests 2014-01-07 23:49:38 +08:00
Miroslav Bendík fbee7075c4 Added cedarx decoder. 2013-12-22 15:53:57 +08:00
wang-bin e9512e29e2 version 1.3.0
Changelog:
- Selectable audio track
- Multiple rendering target for 1 video support
- Hardware decoding support(unstable): DXVA2 for windows, VA-API for
x11(bad performance now)
- Region of Interest(ROI) support, i.e. crop.
- Filter support(Experimental)
- Video eq: brightness, contrast, saturation
- Repeat support
- Mang api changes
- QML: compatible with many QtMultiMedia APIs
- build/install: check arch, fix wrong rpath and launch error on Mac,
add installer
- player: playlist, history, better online tv, etc.
2013-12-19 20:37:20 +08:00
wang-bin 3b848e7564 config.tests: release build if link to Qt. default is debug. why? 2013-12-05 23:11:01 +08:00
wang-bin 82c38a0a0c enable vaapi. not tested 2013-12-04 23:46:28 +08:00
wang-bin 3e432a73bb add dxva2 decoder. still have bugs
bugs:
1. memory leak
2. sometimes crash. can not open 2 players, or other players using hw.
Assertion abs(src_linesize) >= bytewidth failed at libavutil/imgutils.c:
2013-11-27 22:53:54 +08:00
wang-bin 2caeac7e6f update config.test for opengl/es2 2013-07-19 22:01:27 +08:00
wang-bin bdd55f8d6e avresample support by mapping to swresample 2013-07-06 03:05:52 +08:00
wang-bin ba99c2f65b fix potential link error without Gdi32.lib 2013-07-04 01:10:05 +08:00
wang-bin 08fe884d37 add missing config.test files for swr 2013-06-24 23:37:54 +08:00
wang-bin 2dbc8f1baf gl: check gl1 support 2013-03-24 21:53:42 +08:00
LucasWang 9b298eaf25 Add missing config test 2013-03-22 13:49:01 +08:00
wang-bin c76b322c60 config.tests: inttypes.h for msvc, link error fixed 2013-03-04 20:16:40 +08:00
wang-bin eab3811212 direct2d is dynamic loaded, supports mingw
The headers are from https://github.com/2of1/d2d1headers
But many compile error even simply include d2d1.h. So now that project
is not a submodule of QtAV.
2013-03-04 20:10:24 +08:00
wang-bin 9548ff4e4b config.test: add ffmpeg, portaudio, d2d, gdi+ 2013-03-03 16:07:34 +08:00
wang-bin aef182ca07 add a script to generate config tests 2013-03-03 15:50:01 +08:00