wang-bin
fc9d5f57e4
typedef AVPixelFormat. no enum
2013-11-27 22:57:22 +08:00
wang-bin
3bbc11528d
fix include
2013-11-27 22:56:11 +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
0e780720dc
dxva: fix crash on close. device must be null after close
2013-11-27 22:35:53 +08:00
wang-bin
db3b67d20e
VideoDecoder::frame() becomes virtual. dxva needs to reimplement it
2013-11-27 01:46:31 +08:00
wang-bin
f6603d4607
DXVA2 works now. But crash on close
2013-11-26 23:31:11 +08:00
wang-bin
3cec11c976
player: fix time display format
2013-11-26 15:17:44 +08:00
wang-bin
e5fc201881
fix wrong QElapsedTimer type for Qt<4.7
2013-11-26 13:00:05 +08:00
wang-bin
444bff29e4
dxva2 from vlc. not finished
...
TODO:
refine code. fix crash if decoder changes.
2013-11-26 02:29:43 +08:00
wang-bin
a1b9ecaac1
fix wrong QElapsedTimer type for Qt<4.7
2013-11-25 17:30:54 +08:00
wang-bin
cd4a938f53
add qt installer framework files
2013-11-24 22:49:57 +08:00
wang-bin
2505de903c
player: auto hide cursor
2013-11-23 23:54:24 +08:00
wang-bin
a69291bed0
player: repeat in a range support
2013-11-23 23:11:48 +08:00
wang-bin
9c3cd557ca
fix A-B repeat mode
2013-11-23 22:55:09 +08:00
wang-bin
9f2d413d54
refine interrupt callback code
2013-11-23 17:47:55 +08:00
wang-bin
a3c22bd972
fix some network stream stop immediatly. positions<0 should work
...
some network stream duration is very small, may be send packet by packet
2013-11-23 17:43:59 +08:00
wang-bin
5af03c7a9b
fix stream set error
2013-11-23 15:22:23 +08:00
wang-bin
f2bc32caaa
correct speed for video without audio
...
audio output was deleted in 1.2
2013-11-23 01:10:32 +08:00
wang-bin
4ca7784dda
remove AVCodecContext in AVPlayer
2013-11-22 21:54:51 +08:00
wang-bin
8843fbfcfe
repeat max use int max value
2013-11-22 15:46:22 +08:00
wang-bin
32f4af4780
repeat max < 0 for infinity loop
2013-11-22 13:03:29 +08:00
wang-bin
ff02224728
update examples pro
2013-11-22 11:19:01 +08:00
wang-bin
a99a6c9cfd
examples: remove clockcontrol
2013-11-22 01:15:53 +08:00
wang-bin
04fb88b2c0
qml: position and seek api change
2013-11-22 01:02:23 +08:00
wang-bin
fbbe239b57
api change. repeat and position change signal support in AVPlayer etc.
...
default unit is ms for all AVDemuxer, AVPlayer. previous ones renamed to
xxxUs and xxxF, in unit us and s.
AVPlayer: repeat(get/set/signal), position(get/set/signal), star/stop
position for repeating in a range. seek to position
2013-11-22 01:01:43 +08:00
wang-bin
e056106e90
add seek to ms for demuxer
2013-11-20 22:43:17 +08:00
wang-bin
e6c9c8fa89
build fix. do not use versions in git log. use released version instead
2013-11-20 13:09:53 +08:00
wang-bin
095f3630be
ensure AVPlayer.stopped/startted emitted in correct order
2013-11-19 02:11:12 +08:00
wang-bin
5934ff2677
exactly git version for pixdesc.h changes. Fix wrong endif
2013-11-17 10:11:15 +08:00
wang-bin
cae76c0a19
less indent in avthread.run
2013-11-17 08:42:56 +08:00
wang-bin
d00fd7d60d
remove AVThreadPrivate.writer. audio part not finished
2013-11-17 08:29:46 +08:00
wang-bin
e7563f9357
allow user process frame in filter in custom ways
2013-11-16 22:59:16 +08:00
wang-bin
4271013608
fix wrong pixel format init and wrong process in qpainter filter
2013-11-15 12:44:54 +08:00
wang-bin
44b5355879
compat pixfmt and funcs. support libav>=0.8(tested 0.8.8) & ffmpeg>= 0.9
2013-11-13 19:29:30 +08:00
wang-bin
078565b2d0
workaround for stop() in different threads
...
BUG: player may keep stop status when change a video, why?
TODO: refine code
2013-11-13 12:57:16 +08:00
wang-bin
fb502d7c39
compatible with FFmpeg>=1.1, libav>=9.7
...
TODO: av_pix_fmt_count_planes breaks the compatibility now
2013-11-13 10:54:52 +08:00
wang-bin
075511a8df
wait demuxer thread finished in AVPlayer::stop(). It was a mistake
...
FIXME: sometimes AVPlayer.started() can not be emitted if change a video
2013-11-13 01:28:17 +08:00
wang-bin
abd522e64a
Merge remote-tracking branch 'origin/dev'
2013-11-13 01:22:16 +08:00
wang-bin
b4f3466efa
partially enable capture on pause.
...
TODO: now capture data are feeded only capture requested, and may be not
reached if not decoding. so first capture will fail if capture on when
player is paused
2013-11-13 01:15:55 +08:00
wang-bin
ccedda3633
fix wrong image convert output size
...
DAMN!
2013-11-13 00:47:52 +08:00
wang-bin
b3dda821e2
let video capture work. can capture without saving
2013-11-12 19:00:03 +08:00
wang-bin
4284b1ea9c
fix d2d display error. forgot to update frame
2013-11-11 22:58:28 +08:00
wang-bin
094c66ac5c
convenience functions for VideoFormat
2013-11-11 22:41:15 +08:00
wang-bin
837380c52f
avoid modifying explictly shared VideoFrame in VideoThead while reading
...
in main thread
2013-11-11 22:39:34 +08:00
wang-bin
a2163f7bf7
set correct vo insize
2013-11-11 19:08:41 +08:00
wang-bin
a6f1c149f2
correct bpp for each plane. bpp pad may be wrong, not sure
2013-11-11 12:30:36 +08:00
wang-bin
a5785ae868
need update background condition
2013-11-11 10:07:25 +08:00
wang-bin
6aab855bf5
remove VideoRenderer::lastXXX
2013-11-11 10:05:37 +08:00
wang-bin
359f659439
dynamic update aspect ratio support. refine code
2013-11-11 01:09:14 +08:00
wang-bin
2cf4b32856
remove write(), convertData() in VideoRenderer. TODO: audio too.
...
src_width/height?
2013-11-11 00:15:56 +08:00