wang-bin
89749c5f38
version 1.2.1
...
Changelog:
- Configurable video quality
- Correct aspect ratio. Any value is supported
- Fix some media playing problem
- Fix crash if no audio
- Fix d2d crash by setting multi-thread type
- Fix WidgetRenderer can not update problem
- Fix mem leak if renderer changed
- player: volume control, display correct online tv name, correct
display time
2013-06-20 00:16:39 +08:00
wang-bin
d62c7c26a0
fix mem leak if output(now vo) changed
2013-06-17 18:33:59 +08:00
wang-bin
54f34ef627
handlePaintEvent does not need a parameter
2013-06-16 21:34:19 +08:00
wang-bin
8eeafd0827
move mouse move handler to EventFilter and works for all widget based vo
2013-06-16 21:20:00 +08:00
wang-bin
d938cc5bd7
move setupQuality to handlePaintEvent
2013-06-16 20:17:33 +08:00
wang-bin
3fa2d77d32
keep aspect ratio as the old one when vo changed
2013-06-15 12:35:47 +08:00
wang-bin
0712e57abf
fix aspect ratio error when playing a new video
2013-06-15 12:24:11 +08:00
wang-bin
11176b77da
correct aspect ratio
...
TODO:
keep previous aspect ratio if vo changes
update aspect ratio when start to play new file
2013-06-15 11:42:23 +08:00
wang-bin
5503584067
workaround for the widget not updated if has parent
...
TODO:
find out why
thanks @cascarpato @vcovito
2013-06-12 22:58:14 +08:00
wang-bin
68660f0ee8
fix crash(qDebug) on mac, but don't know why
2013-06-08 23:58:58 +08:00
wang-bin
783a9e179f
refine seek code in demux thread
2013-06-07 22:56:01 +08:00
wang-bin
c80b0ffed1
work if audio output is null
2013-06-07 22:14:34 +08:00
wang-bin
7067738cde
refine code
2013-06-06 23:57:27 +08:00
wang-bin
7e31cd2faf
setAudioOutput same as setRenderer
...
TODO:
1 func
2013-06-06 04:56:40 +08:00
wang-bin
62811ace3d
correct stopped() emit times. refine code.
...
BUG:
1.m4a with thumb can not emit stopped
TODO:
1.emit when all thread finished, counted by demux thread
2.AVPlayer.setupAVThread. ao vo same logic
2013-06-06 04:37:37 +08:00
wang-bin
5cedbbf278
video thread set statistics
2013-06-05 01:09:14 +08:00
wang-bin
b98a45e8f0
add shortcut I(interpolation) to change display quality
2013-06-04 00:50:40 +08:00
wang-bin
09cb16b8f4
fix some crash issues and can not play issues since b971c51180
...
TODO:
the code now is ugly! need to rewrite. e.g. how to manage the threads,
decoders and outputs etc. avthread**? managed by avthread? demux thread?
BUG:
1. sometimes no stopped signal
2. sometimes multiple stopped signal
2013-06-04 00:02:56 +08:00
wang-bin
c442e4ce6f
use new BlockingQueue api
2013-06-03 18:27:10 +08:00
wang-bin
494c39b2d7
fix some mistakes
2013-06-03 18:10:38 +08:00
wang-bin
daffb75895
check null ptr
2013-06-03 18:08:01 +08:00
wang-bin
6fbc70e589
add some functions for BlockingQueue
2013-06-03 18:07:03 +08:00
wang-bin
b971c51180
allow null a/v thread. demux thread exits only when a/v thread exits
...
TODO:
if demuxer read the eof packet, then it will not get that again if seek
again, why? miss resetting something?
2013-06-03 13:33:49 +08:00
wang-bin
f6c3a6b442
add fps info and control queue cache by fps
2013-06-03 01:33:54 +08:00
wang-bin
9a2bff50ca
add callback when queue state change.
...
otherwise if 1 queue empty and 1 queue full, demux thread is blocked, so
video stops
2013-06-03 01:32:58 +08:00
wang-bin
a3b85445bc
gdi: Graphics quality setup. but perform is poor, paint rect is wrong
2013-06-02 12:18:15 +08:00
wang-bin
cef7a3dc57
video quality support for gl, d2d and qpainter
...
TODO:
1. more levels? opengl has many combinations. d2d has 4 levels
2. move setupQuality() to handlePaintEvent()
3. gdi+, xv
4. text quality api
5. keep last renderer's quality when renderer changed
6. MIPMAP?
2013-06-02 00:59:25 +08:00
wang-bin
b382535283
enable d2d factory with multi-thread support. no crash now with the same
...
logic as renderers
TODO: compare cpu usage with single thread with manual lock
2013-06-01 23:23:08 +08:00
wang-bin
1edc646e3c
QTime() in Qt5 is not a valid time?
2013-05-27 10:55:58 +08:00
wang-bin
454c82f2f3
version 1.2.0
...
Changelog:
version 1.2.0 2013-05-27
- Better gui for the player example
- Dynamically change renderer engine
- Filter framework works. Filters on data and renderer support
- XV rendering support
- Fix some qmake project bugs
- Other features, bug fix, code refine
2013-05-27 00:30:53 +08:00
wang-bin
096e58ecea
we must emit stopped() in AVPlayer::stop(). why AVThread not trigger it?
2013-05-27 00:16:50 +08:00
wang-bin
112cecdee2
translation
2013-05-26 23:55:38 +08:00
wang-bin
5a01a597e4
about dialog contains FFmpeg and QtAV
2013-05-26 21:59:58 +08:00
wang-bin
217e87c5df
add VideoRenderer::id()
...
TODO:
AVComponent::id(),name(),detail() etc
2013-05-26 12:42:29 +08:00
wang-bin
14ce76d8a6
fix crash when osd filter is null. refine code
2013-05-26 10:10:14 +08:00
wang-bin
f48c4edf98
avoid emitting stopped() multiple times
...
in AVPlayer::stop(), we should not emit stopped() manually, because
AVThread will trigger this
2013-05-26 09:28:13 +08:00
wang-bin
5872bd0ff9
add FFmpeg information
2013-05-25 21:13:54 +08:00
wang-bin
83936ab4c2
dynamically change video renderer when playing
...
TODO:
decoder, filters and other components should support this feature
2013-05-25 02:19:58 +08:00
wang-bin
86fe27e4dc
use audio statistics if video's not available
2013-05-24 23:52:03 +08:00
wang-bin
5126ab41aa
Merge branch 'player'
2013-05-24 00:41:13 +08:00
wang-bin
e102399e40
double click switch fullscreen
2013-05-23 21:59:50 +08:00
wang-bin
0e04e2d23d
misc. emit stopped once
2013-05-23 21:42:56 +08:00
wang-bin
2403fa5cfc
emit stopped() only once to avoid emitting after a new play started
2013-05-21 23:22:09 +08:00
wang-bin
0dd29588bd
xv: use XvImage if shm failed
2013-05-19 01:01:05 +08:00
wang-bin
9236150660
Merge branch 'master' into player
2013-05-17 00:18:07 +08:00
wang-bin
8a254d54b4
larger PacketQueue capacity and threshold for large fps
2013-05-17 00:16:49 +08:00
wang-bin
889855d886
mark eof packet and not use signal/slot
2013-05-17 00:15:25 +08:00
wang-bin
00d32ef2cb
replay do not use seek(0). emit stopped() if avthread finished
...
TODO:
demuxer can not get EOF packet if use seek(0), but why? (issue 32)
shall we emit stopped() only once?
2013-05-17 00:14:20 +08:00
wang-bin
036e5e9b65
fix initStatistics() crash if media has no audio or video(issue 37)
2013-05-16 22:54:01 +08:00
wang-bin
341c0d613d
player: add simple control buttons
2013-05-16 00:01:55 +08:00