Denis Daletski
e7f1e64592
added avFormatOptions property for qml AVPlayer
...
now it's possible to set audio and video format options inside AVPlayer QML
object
2016-07-27 14:46:39 +03:00
wang-bin
1e2a37b635
qml: always encode none local/qrc file #618
...
http only accepts encoded url. But what about custom protocols?
2016-07-10 00:27:45 +08:00
wang-bin
4f2d676d59
qml: autoLoad support
2016-06-07 23:32:19 +08:00
wang-bin
20284f418c
AVPlayer: support manually load(). play() is not replay now
...
load() then play()
2016-05-30 23:19:59 +08:00
wang-bin
1b7167ee04
qml: add MediaPlayer.startPosition/stopPosition
2016-05-30 00:06:06 +08:00
wang-bin
329b8e025d
qml: apply audioBackends property #615
2016-05-12 23:13:30 +08:00
wang-bin
ece06bfdea
qml: add property AVPlayer.audioBackends
2016-05-12 22:25:16 +08:00
wang-bin
5ee8efbee2
qml: fix play() after pause()
2016-04-27 15:16:51 +08:00
wang-bin
ec22ab1fd4
qml: add filter support
...
GLSL filter is not working.
avfilter works.
Custom filter is not tested
2016-04-23 19:03:08 +08:00
wang-bin
a5d02a7c53
qml: apply decoder options when playing
2016-02-26 12:02:30 +08:00
wang-bin
4851402f30
add signal parameter AVPlayer.seekFinished(qint64)
...
The position() you get in the slot is not exactly the video seek finish
timestamp, but the clock value. You must use the signal parameter. So if
audio stream seeking is not finished, the value can be very different
from video timestamp.
TODO: emit seekFinished when all streams done the seeking?
2016-01-24 22:21:25 +08:00
wang-bin
64f6ac3bd8
add AVPlayer.setVideoDecoderPriority
...
string is better for addon decoders
2015-12-13 00:27:25 +08:00
wang-bin
e4201d6c61
qml: stepForward/Backward
2015-10-05 23:13:51 +08:00
wang-bin
dbea492c0e
video stepBackward()/Forward(). deprecate playNextFrame()
...
currently only step backward to the previous displayed frame
2015-10-05 22:59:05 +08:00
Felix Yan
0bd0553c36
fix a typo: stero => stereo
2015-10-03 13:46: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
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
23b8dc395c
sub: support internal tracks switch. but update at next demuxer read
2015-08-03 13:30:39 +08:00
wang-bin
625ab590c8
simplify async load
2015-07-01 16:11:06 +08:00
wang-bin
b3b15551e0
qml: fix autoplay load twice if play() after set source
2015-06-30 17:19:44 +08:00
Fred Chien
deae22e958
Add useWallclockAsTimerstamps property to AVPlayer for media stream has
...
no timestamp info
2015-06-24 03:00:53 +08:00
wang-bin
713997234a
qml: StoppedState is set immediately after stop()
...
fix the following code can not work
video.stop()
video.play()
2015-06-02 11:00:23 +08:00
wang-bin
1dc1f26828
qml: avoid play twice in play(url)
2015-05-31 20:43:46 +08:00
wang-bin
784292b58f
qml: change state if pause, source changed & autoplay
2015-05-27 11:45:08 +08:00
wang-bin
0b2315441d
qml: change playbackState only in slots not in setPlaybackState
2015-05-27 10:57:18 +08:00
wang-bin
dc96b30dd1
more audio track info
2015-05-15 13:12:54 +08:00
wang-bin
ebac30e4b4
add missing durationChanged signal
2015-05-14 15:04:30 +08:00
wang-bin
dcaf4692d0
qml: add external audio track api
2015-05-14 14:05:55 +08:00
wang-bin
ab48511183
qml: add MediaPlayer.videoCapture
2015-05-05 17:14:55 +08:00
wang-bin
8828cde962
add signal seekFinished
2015-05-05 11:51:03 +08:00
wang-bin
e70686acbf
support continue playback on timeout
2015-04-20 14:13:52 +08:00
wang-bin
1b4714bbd4
qml: simplify volume change logic
2015-04-01 11:41:42 +08:00
wang-bin
790b62df4c
simplify audio control in AVPlayer
2015-03-30 22:15:39 +08:00
wang-bin
dec46c5fe0
fix wrong media status value
...
the value was the same as demuxer's. now it is updated by demuxer and
demux thread
2015-03-27 20:08:38 +08:00
wang-bin
df3208c8bf
add bufferProgress property to player
2015-03-19 16:26:56 +08:00
wang-bin
e9db66cda5
emit volumeChanged instead & update volume() if volume changed outside
2015-03-16 17:57:11 +08:00
wang-bin
addc141af4
add signals to report volume change from system per-app volume control
2015-03-10 16:03:16 +08:00
wang-bin
a0cefa67e3
fix old qt version build error
2015-02-07 18:09:24 +08:00
wang-bin
f19f3e9cb7
qml: add MediaPlayer.fastSeek
2015-02-03 15:05:09 +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
7f0ecdd824
qml: add timeout property
2014-12-29 17:32:17 +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
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
wang-bin
7f6c54ea7e
qml: volume, channelLayout apply on start
2014-10-30 17:49:14 +08:00
wang-bin
92a8d46890
better error handling about format, resource and codec error.
2014-10-20 16:48:48 +08:00