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
f2b91a30db
qml: static plugin support. #368
...
thanks Ligverd
2015-02-07 01:09:10 +08:00
wang-bin
8e431b9082
qml: add Video.fastSeek
2015-02-03 15:18:19 +08:00
wang-bin
f19f3e9cb7
qml: add MediaPlayer.fastSeek
2015-02-03 15:05:09 +08:00
wang-bin
3af639f3fb
qml: add typeinfo in qmldir for qtcreator
2015-01-27 21:05:16 +08:00
wang-bin
93e45593ec
qml: remove symbol export and private header
...
it's a plugin. no symbol need to be exported
2015-01-27 21:03:20 +08:00
wang-bin
a85128240a
qml: use fbo item only if qt>=5.2
...
another is Video.qml, VideoOutput2 is used. so use Video item only for
Qt>=5.2
2015-01-27 21:00:19 +08:00
wang-bin
c7a966903e
qml: update qml/plugins.qmltypes
2015-01-23 13:53:10 +08:00
wang-bin
54e7af4926
gl: rgb48be is not supported now
2015-01-23 11:21:08 +08:00
wang-bin
6543ec1534
qml: fbo item fill black if frame is invalid
2015-01-22 20:54:05 +08:00
wang-bin
572d4dad20
Merge branch 'master' into qmlfbo
2015-01-22 16:34:12 +08:00
wang-bin
dd2ff6f777
revert previous commit. update() is already called in node
...
layer.enable will affects fbo item display
2015-01-22 16:16:43 +08:00
wang-bin
53656d2b9b
qml: Video item use fbo renderer
2015-01-22 14:33:23 +08:00
wang-bin
23b49cfeb1
qml: preview use fbo renderer
2015-01-22 14:32:08 +08:00
wang-bin
70d8c21643
qml: repaint sg when a new frame comes in fbo renderer
...
item.update only marks the node dirty and update nodes, even though
frame is rendered into fbo at that time, the result texture is not
composited into sg. sg repaint is required
2015-01-22 14:30:08 +08:00
wang-bin
6512a11321
qml: workaround for mirrored coordinates in fbo renderer
2015-01-22 13:04:15 +08:00
wang-bin
81bad3df6b
qml: fix wrong asr and rotation in fbo rendering
2015-01-22 12:40:56 +08:00
wang-bin
8d31dbceff
qml: add fbo item. not finished
2015-01-21 17:42:46 +08:00
wang-bin
1af6bf1105
update authors in copyright header
...
theoribeiro <theo@fictix.com.br > wrote the initial qml item code, it
should be kept in QQuickItemRenderer source. But later I copied it's
header to other files without removing his name.
2015-01-21 11:13:23 +08:00
wang-bin
c49e1b7d7b
qml: forgot to init QQuickItem with parent. DAMN!
...
this may fix the qml crash bothered me for months.
2015-01-21 10:34:27 +08:00
wang-bin
3bbf80ccf8
add AVPlayer.isSeekable. improve seekable detection
...
seekable in old implemention is always true. not sure whether current
solution is correct or not
2015-01-20 16:43:17 +08:00
wang-bin
8dc25c5a62
forget video frame if uploaded
2015-01-13 22:54:55 +08:00
wang-bin
9e2520c4d3
update rc
2015-01-09 13:55:33 +08:00
wang-bin
9ea24e19a1
fix vc 2010 build error
...
compiler internal error QString x[] = { QStringLiteral("123")};
don't know the reason
2015-01-09 11:38:53 +08:00
wang-bin
34b53bc6bd
rename VideoFrame.toFormat to VideoFrame.to
2015-01-09 00:25:09 +08:00
wang-bin
665db6e258
qml preview: scale in frame if gl is not used
2015-01-09 00:22:35 +08:00
wang-bin
23f5a8bb43
add methods for VideoFrame to get a image or frame with another format
...
old convertTo() is a bad idea because VideoFrame now is explicitly
shared and will be removed
2015-01-08 23:04:06 +08:00
wang-bin
131c6ea584
qml: fix preview display error if opengl is disabled
2015-01-08 17:07:07 +08:00
wang-bin
377912a50d
qml: Video.opengl to enable/disable yuv rendering
2015-01-08 16:02:17 +08:00
wang-bin
7eec2b2fde
qml: protect frame when rendering. otherwise accessing frame is not safe
...
frame is protected when when syncing sg and when a new frame come, but
later when frame is to be rendered, no protection at all.
2015-01-06 16:36:21 +08:00
wang-bin
93447f5ad3
vo: lock in a larger scope and less code
2015-01-06 16:01:38 +08:00
wang-bin
7f0ecdd824
qml: add timeout property
2014-12-29 17:32:17 +08:00
wang-bin
2c5f3f62f6
define qtav version in project file only once. copy mkspecs for ifw
...
qt5 can use .qmake.conf in project root to store default configurations.
qt4 use .qmake.cache instead
2014-12-27 14:52:25 +08:00
wang-bin
be2eb3f196
remove useless members in statistics. better fps estimate
2014-12-14 23:48:57 +08:00
wang-bin
9422c464c2
qml: emit playbackStateChanged after metaData is set
2014-12-09 11:35:26 +08:00
wang-bin
3e8e133216
properties must be applied even if set when player is not started
...
TODO: add applyXXX for those properties
2014-11-18 15:58:48 +08:00
wang-bin
2983d51ebf
qml: add MediaPlayer.Status
2014-11-17 18:45:13 +08:00
wang-bin
3143ad6228
MediaPlayer.stop() also unload the media.
2014-11-15 21:21:08 +08:00
wang-bin
4a9e411cc1
access player after it is started
2014-11-13 17:41:43 +08:00
wang-bin
8e2cb0906e
correctly convert url to original string
...
encode then decode.
TODO: use url in qml if possible (QuickSubtitle)
2014-11-07 16:18:00 +08:00
wang-bin
fd9027c62f
version 1.4.1
...
Changelog:
- More QtMultimedia compatible QML playback API
- Debian package support. Now you can build on
ubuntu>=14.04 using debuild
- Subtitle: libass renderering support. Dynamically change
FFmpeg parser and libass
- Log level control support without changing any Qt logging
functions (qDebug, qWarning etc.)
- Video orientation support in renderers
- Bug fix: video frame with alpha value. video stream start
time >0. OpenAL can not close correctly...
- QML only: video preview.
- players: config UI in QMLPlayer. Video preview on
progress bar.
2014-11-06 16:23:25 +08:00
wang-bin
7e0bef4c89
gl: use video_format. remove useless mutex in sg
...
frame.format() is safe
shader and material functions are always in QSGRenderThread
so no mutex is required
2014-11-05 16:47:17 +08:00
wang-bin
4e22662634
qml: add subtitle interface in Video.qml. hide if disabled
2014-11-05 14:36:23 +08:00
wang-bin
ee17905241
README, home page etc
2014-11-04 13:03:16 +08:00
wang-bin
6d13c53ba0
move non-public headers
2014-11-04 11:12:11 +08:00
wang-bin
6c7a4f6a27
Merge branch '5.4build'
...
Conflicts:
examples/common/common.pro
2014-11-04 10:48:54 +08:00
wang-bin
ebb02d4135
QtAV target name is Qt5AV for Qt>=5.4beta
2014-11-04 10:45:49 +08:00
wang-bin
d36f12c67b
subtitle: correctly reload subtitle if engines changed
2014-11-03 18:14:53 +08:00
wang-bin
21ec2165c8
qml add video decoder options. workaround for variant map
...
QVariantMap is better to interact with js object.
QVariantHash is not supported in qml. So it's better to
change AVPlayer.setOptionsXXX argument to QVariantMap
2014-11-03 16:06:45 +08:00