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
889855d886
mark eof packet and not use signal/slot
2013-05-17 00:15:25 +08:00
wang-bin
f158f6dd8b
less warnings
2013-05-13 00:41:21 +08:00
wang-bin
2aa636f5e5
initialize Statistics
2013-05-09 18:03:06 +08:00
wang-bin
d71382d8ba
misc
2013-02-17 22:05:32 +08:00
wang-bin
7c71b5dac3
warnings and misc
2013-02-08 21:28:03 +08:00
wang-bin
54b1b01a18
interrupt status init.
2013-02-07 10:54:17 +08:00
wang-bin
d0b8bbc659
Merge remote-tracking branch 'remotes/vcovito/vito_AVDemux2' into vito
...
Conflicts:
src/QtAV/QtAV_Global.h
2013-02-07 08:58:17 +08:00
Vito Covito
e16dc378de
Added network interrupt callback for ffmpeg, plus various methods for setting/getting timeout
2013-02-06 16:36:49 +01:00
wang-bin
d4c178dd4e
License change to LGPL v2.1
2013-02-04 01:45:42 +08:00
wang-bin
dbc7be4036
demuxer: fix the wrong stream index which cause crash
2013-02-04 01:20:52 +08:00
wang-bin
76adff5042
add flush packet if reach the end
...
BUG: not eof got if replayed by seek(0)
2013-01-28 23:51:55 +08:00
wang-bin
8cef514787
api add: load(). load only once for replaying a seekable stream
2013-01-28 23:31:24 +08:00
wang-bin
2bd8ae3d5f
crash: avg_frame_rate, start_time always changes for video without audio
...
why?
2013-01-28 22:06:13 +08:00
wang-bin
ee3181af32
fix crash and video blocking when seeking
...
avcodec_flush_buffers() immediatly after seeking may cause a crash or
blocking the thread, but
i don't know why.
TODO: flush in AVThread when got a flush packet
2013-01-23 22:38:37 +08:00
wang-bin
9b807568ea
add network test
2013-01-20 20:12:46 +08:00
wang-bin
5c77f1a263
add seek interval limitation to avoid seeking too frequently
2013-01-20 18:13:41 +08:00
wang-bin
f0606009cc
Clock can be auto selected or force setted
...
auto: using audio clock if audio stream found
2013-01-20 15:36:25 +08:00
wang-bin
99fc9986ac
update copyright date
2013-01-20 15:04:25 +08:00
wang-bin
35901de235
playing music support. fix crash problem for audio stream
2013-01-18 23:19:32 +08:00
wang-bin
2f8c70d968
fix seeking error if audio stream not exists
2013-01-18 22:36:25 +08:00
wang-bin
ce718ef4fa
support streams without audio stream by the ExternalClock
...
FIXME: the clock will keep ExternalClock type even if play a new stream
with audio stream
BUG:
1. can not seek backward.
2. frames in the end can not be played correctly
2013-01-18 00:18:39 +08:00
wang-bin
16cb6dd37e
print ffmpeg version on start up
2013-01-07 20:14:46 +08:00
wang-bin
efd758285a
Update the clock after seeking. Add warnings
...
New clock value may be used in AVThread.
2013-01-05 20:11:14 +08:00
wang-bin
1112cd9a63
warning
2012-12-24 03:27:02 +08:00
wang-bin
7380ab1cea
avoid emitting eof signal multiple times
2012-12-24 03:13:45 +08:00
wang-bin
90438c6f58
flush after seek.
...
clean up avcodec internal buffer
2012-12-23 20:39:44 +08:00
wang-bin
d11d26c06b
Seek only when the video is available
2012-11-21 13:50:39 +08:00
wang-bin
67dc74df6c
Seeking is better. Backward support
...
I used the last demuxed pts which is not correct because demuxer may be
waiting.
2012-11-15 15:47:57 +08:00
wang-bin
0b741e3300
QtAV_Compat.h: fix compile failure with gcc. Only included by .cpp
...
the macro av_err2str() in ffmpeg's error.h results in a "taking address
of temporary array" error using gcc in linux. MinGW is ok. Don't know
why.
QtAV_Compat.h must include libav/ffmpeg headers, so it can't be included
in a public header.
2012-11-15 14:25:00 +08:00
wang-bin
209747f3cf
misc
2012-11-15 11:14:07 +08:00
wang-bin
26d9b0e6fe
seek forward support. not good enough
...
TODO: more accurate delay. seek backward. no crash when seeking
2012-11-13 13:29:37 +08:00
wang-bin
ec05d63473
mistake: = and ==. forget to return
2012-11-09 23:19:10 +08:00
wang-bin
34f300e367
replay support
...
reset members before running the thread
2012-11-07 14:18:37 +08:00
wang-bin
725d733bfa
demuxer supports close then open mutiple times is possible. error check
2012-11-06 01:30:04 +08:00
wang-bin
0def632081
misc. copyright, format .etc
2012-11-01 00:03:00 +08:00
wang-bin
d2c18c5573
rename QAVPack
2012-10-31 22:17:12 +08:00
wang-bin
60ef3247c9
Add video thread. Sync to audio works
...
BUG: crash on exit and video thread still running. crash on resize
sometimes
2012-10-30 21:58:29 +08:00
wang-bin
5c5cbf2ad8
Add AVClock. Use AVDemuxer instead of AVInfo. Thread's own queue
...
Not finished, just backup.
2012-10-30 13:49:45 +08:00
wang-bin
4583eb5d56
Audio and video works
2012-10-29 11:11:38 +08:00