Commit Graph

49 Commits

Author SHA1 Message Date
wang-bin b562ab9820 version 1.9.0
Changelog:
- No audio thread if audio stream < 0. null AudioOutput now still create
audio thread.
- VideoOutput: fix lock error
- Filter: add X11 text rendering for X11Renderer/XVRenderer.
- LibAVFilter supports HW frames(not recommended)
- VideoFrame copy and init issue, bpp compute error
- Avoid using some stl APIs that breaks ABI
- Add x11 renderer
- XV: support NV12 and packed yuv formats
- Fix factory initialization for static build(iOS for example)
- Fix ffmpeg log level
- Remove AVPicture which is deprecated
- SWS 16 alignment, output to user defined buffer
- Always define the registered id so we can use everywhere
- Better iOS support: build, run, deploy(prl)
- use libuchardet now, use system one if possible
- Fix android build on windows
- XAudio2: fix crash. `double` sample format is not supported
- Fix clock value if speed changed
- VideoRenderer.updateUi
- VideoCapture: fix HW frame save
- New logo ![](http://qtav.org/blog/images/QtAV1.9.0-logo.png "Logo")
- Android: support protocol 'content'. Now can play from Gallery.
- MediaIO is not writable by default
- WinRT (Windows Store) support:
 * Link to XAudio2
 * File open and protocol
- VA-API:
 * Add hevc, vp9. Not tested
 * Support more profiles
 * Improve nvidia support
 * Interop with egl support(dma, tfp). libva 0.38 and Qt>=5.5 are
required.
 * Check resolution support before open
 * Add thread count option (new ffmpeg >2.8 does not support)
 * Prefer /dev/dri/renderD128 for drm
 * Correctly release X11/drm resource
- OpenGL:
 * OpenGL ES3 optimization
 * use new OpenGL and GLSL APIs if possible
- CI:
 * Add windows. Build with latest Qt release. Using msbuild, nmake and
mingw32-make
- API:
 * AVPlayer.stepForward(), stepBackword(). playNextFrame() is deprecated
 * AVPlayer.state
 * AVPlayer.videoDecoderPriority with name list
 * VideoRenderer.frameSize (C++), VideoOutput.frameSize
 * XXXDecoder/Encoder::supportedCodecs, AV(De)Muxer.supportedFormats/
Extensions
 * QML: more metaData keys: startTime, sampleFormat, channelLayout,
pixelFormat, videoFrames
- QMLPlayer/Player:
 * fix OpenGLWidgetRenderer crash
 * Handle Home/Back button for mobile
 * Preview item is movable
 * ppa: rename /usr/bin/player to /usr/bin/Player
2015-12-21 02:24:08 +08:00
wang-bin 3a62151f58 filter: support x11/xv renderer
have api changes. source compatible
2015-12-01 15:15:48 +08:00
wang-bin 5629aee041 qmake: do not add INSTALLS on windows
the install path will be like this D:$(INSTALL_ROOT)\you\dir. I don't
know why. This can fix building android on windows
2015-11-24 16:43:14 +08:00
wang-bin 9d0807e88a x11: workaround no shm complete event when replay 2015-11-23 22:16:41 +08:00
wang-bin e4018e9d57 deb: always add a link libQt5AV.so and libQt5AVWidgets.so
seems the link flag is always prefixed with Qt5.
TODO: use the same naming rule as qt to live with multiple qtav
versions?
2015-11-06 19:17:57 +08:00
wang-bin 884440f216 winrt: fix build error 2015-11-04 17:45:32 +08:00
wang-bin 616e94f64e x11: use shm completion event and ximage multi buffer 2015-10-30 18:41:20 +08:00
wang-bin 80eb52e05b x11: set prefered pixel format after ximage created
broken since aaeb765b76
2015-10-27 19:35:56 +08:00
wang-bin aaeb765b76 x11: scale the original frame in rendering thread
now the frame will be resized to fit the renderer size if playback is
paused
2015-10-26 21:22:30 +08:00
wang-bin ece19f33bd x11: 16 aligment for ximage size. fix non-shm interop 2015-10-26 10:45:55 +08:00
wang-bin 9bb56c0b5d vo: use UpdateLater event for widgets instead of a signal
fix #430 #532
Less code and should be faster. Calling update() in User event should be
a solution too but more code is required.
WidgetRenderer::imageReady() is not removed because some people is using
it
2015-10-26 03:45:02 +08:00
wang-bin 5294c21851 vo: do not call update() off gui thread #532
update() also do backing store things.
TODO:
what about update() in a user event?
why posting an UpdateRequest event is not enough for WidgetRenderer and
OpenGLWidgetRenderer(not tested for other renderers)?
2015-10-26 03:01:29 +08:00
wang-bin c25e45254f qmake: define BUILD_XXX_LIB for static build
it should be always defined. otherwise there are warnings about
deprecated apis
2015-10-22 23:49:43 +08:00
wang-bin c6cab1075c x11: fix wrong hw frame check 2015-10-22 17:10:07 +08:00
wang-bin a3f07a3bef x11: use a video frame as interop handle 2015-10-22 14:39:21 +08:00
wang-bin b5a25552d3 x11: ximage width is 8 bit aligned now 2015-10-15 13:56:48 +08:00
wang-bin cd39a961db x11: fix dst ptr for shm if alignment mismatch 2015-10-15 13:13:50 +08:00
wang-bin ceb02d2ccc add VideoFrame.copyPlane and used by x11/xv renderer 2015-10-10 00:48:02 +08:00
wang-bin 6a731d08d4 x11: fix undefined CopyPlane if xv is not enabled 2015-10-09 21:24:47 +08:00
wang-bin 41d469cd4e x11: fix crash if receive an invalid frame(stop playback) 2015-09-23 15:02:32 +08:00
wang-bin 0d87426b5d x11: resize frame fit renderer 2015-09-23 14:15:31 +08:00
wang-bin bab761647f x11: init gc. ensure background is updated 2015-09-23 13:06:11 +08:00
wang-bin 0856ed2b54 vo: add x11 renderer. no scale support now 2015-09-22 21:05:46 +08:00
wang-bin c8036a3410 fix x11 link error. #508 2015-09-14 01:52:25 +08:00
wang-bin 8058ac5a46 no stl types that break abi
most algorithms and containers are fine. no std::string, exception
2015-09-13 22:48:32 +08:00
wang-bin 9fe6c044a8 fix no opengl build 2015-08-31 23:36:44 +08:00
wang-bin 665f1d9bd6 qstring optimize & QT_NO_CAST_FROM_ASCI build error part2
QLatin1String:
- QString has override function && no implicitly convert to QString:
indexof,contains,==,insert,append,prepend,
+=,replace,compare,<,startswith,endswith
- not from a raw string
2015-08-08 20:49:22 +08:00
wang-bin 1e3975ea52 version 1.7.0
Changelog:
- DXVA GPU zero-copy support
- DXVA copy back improvement
- VAAPI zero-copy improvement
- External audio track support
- Fix opengl wrong display if switch decoder between VDA and FFmpeg
- Video encoding support. Try examples/simpletranscode. Audio is not
supported now
- Pulseaudio improvement, fix crashes and hang
- OpenGL: disable VBO for ANGLE to workaround qpainter filters have no
effect. Less GL calls. Fix OpenGLWindowRenderer can not update correctly
- Fix capture video when a zero-copy HW decoder is used.
- Fix wrong audio data is played at the beginning of playback
- Enable XV shm
- Improve a/v sync
- Build android on windows
- Fix msvc debug build
- Use OpenSL ES as for android. It works correctly now. No OpenAL
required any more. Add volume control for OpenSL ES.
- Fix crashes
- Add ubuntu PPA
- CI: appveyor for windows
- AVInput=>MediaIO. You can use it to support custom output when
encoding video
- Add seekFinished, durationChanged, QML MediaPlayer.videoCapture,
Subtitle delay etc
- QMLPlayer: swipe to seek
2015-07-10 01:43:23 +08:00
wang-bin 9e092b0bec fix static link on windows
dllimport must be removed if link to a static lib. now it's not removed
because it's impossible to detect whether we link to a static lib
2015-04-23 14:33:20 +08:00
wang-bin 14f941e5ba qmake: able to disable rpath. #405
some OSes disallow rpath. also not necessary for system package build
2015-04-23 11:33:04 +08:00
wang-bin d17108ef64 fix include style to avoid build error 2015-04-10 17:25:29 +08:00
wang-bin 1c493e3480 qmake: check cross_compile instead of CROSS_COMPILE
CROSS_COMPILE is usually not defined unless qt is configured with -device-
options. cross_compile is defined in qconfig.pri(Qt4,5)
2015-02-19 18:20:17 +08:00
WangBin a706a713f7 Merge pull request #376 from correa/fix-staticlink
Change STATICLINK to autodetect the system's prefered library type
2015-02-18 22:42:10 +08:00
Thiago A. Correa e3c6088bc4 Change STATICLINK to autodetect the system's prefered library type: static or dynamic based on config. This improves ios support
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
2015-02-18 11:24:13 -02:00
wang-bin b8a3213f56 widgets: add VideoPreviewWidget 2015-02-13 12:50:12 +08:00
wang-bin c46a395030 openglwidget is not stable and lower priority 2015-02-12 22:05:23 +08:00
wang-bin b2234d94ed qmake: rpath flags
QMAKE_RPATHDIR has different results on mac(4.x 5.x) and linux. now can
run directly on mac
2015-02-08 22:15:08 +08:00
wang-bin a0cefa67e3 fix old qt version build error 2015-02-07 18:09:24 +08:00
wang-bin 593908dd32 gl: qt<5.3 build error. check dygl 2015-02-04 22:30:45 +08:00
wang-bin 173630f177 qt4 build error 2015-01-12 23:24:00 +08:00
wang-bin 896475db93 correct painting on QtAV::QOpenGLWidget
painter.beigin(pd->redirected(&offset))
2015-01-12 22:29:19 +08:00
wang-bin 215b9c1260 add QOpenGLWidget for Qt<5.4 without opengl module
TODO:
events, paintEngine
2015-01-12 22:00:27 +08:00
wang-bin 8d3bbb9068 widgets: add libqtavwidgets deb 2015-01-10 23:08:59 +08:00
wang-bin 6f79c683eb widgets: add header without .h. move widgets header. correct include 2015-01-10 21:44:41 +08:00
wang-bin 0f8e9d9958 widgets: default VideoOutput creates a renderer by built-in priority 2015-01-10 19:25:27 +08:00
wang-bin 941f8d6e9a widgets: build error. remove internal header. move id to avwidgets
id in avwidgets ensures app will link to qtavwidgets
2015-01-09 21:17:49 +08:00
wang-bin 192f22ce94 widgets: add QtAVWidgets module
changes:
You have to include <QtAVWidgets/QtAVWidgets.h> to use built-in widget
renderers
Link against QtAVWidgets
TODO:
QT += avwidgets not available
move ids to widgets module?
2015-01-09 16:54:43 +08:00
wang-bin bcb449e790 widgets: project files 2015-01-09 14:15:55 +08:00
wang-bin b599275ce7 widgets: add rc and headers 2015-01-09 14:13:29 +08:00