wang-bin
ae1cb6058a
misc: forgotten test files. remove debug msg
2013-01-27 03:42:34 +08:00
wang-bin
1e56d97d73
capture: safe
...
do not get data and size in main thread one by one, the may change
2013-01-27 03:40:38 +08:00
wang-bin
1b133f32cf
Merge branch 'ipp'
2013-01-27 00:53:23 +08:00
wang-bin
d7edcdf228
IPP: image scaling support. not tested. default link to shared libraries
2013-01-27 00:52:49 +08:00
wang-bin
25b67647ef
image converter & decoder resize to renderer size, etc
...
resizing in ImageConverter is supported, we compare qt resizing with hwa
or ipp (color convertion and )resizing.
before this, resizing in ImageConverter will cause a crash when resizing
the renderer, because of the data of image changes in video thread when
it is painting in main thread. But locking is not enough, because the
data passed to renderer is ref which (address) may changed in video
thread's ImageConverter, so a copy of that data is required.
2013-01-27 00:48:46 +08:00
wang-bin
926e6636fc
version 1.1.6
2013-01-25 21:17:02 +08:00
LucasWang
cd25ed4ded
Merge branch 'ipp' of github.com:wang-bin/QtAV into ipp
...
Conflicts:
src/ImageConverterIPP.cpp
2013-01-25 19:24:27 +08:00
LucasWang
2fbbb7ff94
ipp works. color is wrong
2013-01-25 19:21:57 +08:00
LucasWang
9a9d311b83
add clock control test
2013-01-25 17:48:53 +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
LucasWang
534452789a
add some signals in AVClock
...
updateExternalClock can be non-inline. it is called outside and not frequently
TODO: updateExternalClock(const AVClock& clock)
2013-01-23 19:10:17 +08:00
LucasWang
1cd8886cb3
ipp
2013-01-23 10:34:26 +08:00
wang-bin
b7b37b334c
README
2013-01-21 01:31:46 +08:00
wang-bin
a582290cad
README: looks good
2013-01-21 01:17:14 +08:00
wang-bin
9b807568ea
add network test
2013-01-20 20:12:46 +08:00
wang-bin
ad39d9bbbf
slow down volume change if it,s small
2013-01-20 18:41:25 +08:00
wang-bin
922272c67c
update frames when seeking on pause. ugly code
2013-01-20 18:38:22 +08:00
wang-bin
5c77f1a263
add seek interval limitation to avoid seeking too frequently
2013-01-20 18:13:41 +08:00
wang-bin
e4a64c0f0e
capture: error code, pause avthread if in main thread, rm dead code
2013-01-20 17:13:55 +08:00
wang-bin
617b8133df
capture video in main thread or another thread is selectable. api change
2013-01-20 16:25:58 +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
6098b07596
misc
2013-01-20 14:37:35 +08:00
wang-bin
056fd17785
add Changelog
2013-01-20 14:37:23 +08:00
wang-bin
6ad4e40c08
tests: shared renderer for 2 players
...
BUG: event filter only works for the last player
2013-01-20 14:36:29 +08:00
wang-bin
4c1c57fcc8
ignore if pause state not changed
2013-01-20 14:33:55 +08:00
wang-bin
8b0b083f69
renderer: black background. focus(key events), move/resize if no parent.
2013-01-20 14:32:33 +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
04235228e8
BlockingQueue: block for full/empty separately
2013-01-18 22:29:51 +08:00
wang-bin
a3e4207e90
version 1.1.5
...
changelog:
plannar audio support
g++ compile error fix
individual image converter
pause thread and shared output support
stream without audio support
no-audio
v1.1.5
2013-01-18 00:56:03 +08:00
wang-bin
1052d0453e
bug fixed: playNextFrame() not work
...
continue will never decode the next packet
2013-01-18 00:44:56 +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
e683ed7f37
always block the queue if only on queue(decoder/thread) is available
2013-01-18 00:03:30 +08:00
wang-bin
d78c675c0d
check AVDecoder.isAvailable() when running a decoder thread and decode()
...
if false, the decoder thread should not run, and decode() no nothing
2013-01-18 00:02:04 +08:00
wang-bin
7b075ceaef
Add external clock support
2013-01-17 23:30:41 +08:00
LucasWang
27b5c3f663
tryPause() return a boolean value for convenience
2013-01-17 17:16:14 +08:00
wang-bin
3d007c3c05
pause threads instead of output
...
an output may be shared by several players
2013-01-17 00:07:47 +08:00
wang-bin
d8e13ba0c6
use ImageConverter and remove useless code
2013-01-15 22:28:42 +08:00
wang-bin
ab2d7540d1
use mutex locker
2013-01-15 22:00:04 +08:00
wang-bin
b45c347181
unlock an unlocked mutex may result in crash in Qt5 win64
...
assert in Qt5
2013-01-15 21:38:51 +08:00
LucasWang
8d1d9709fb
update qmake pro. use the latest version
2013-01-14 12:50:15 +08:00
wang-bin
3a10f671e0
misc
2013-01-14 00:43:51 +08:00
wang-bin
1fce89c910
only g++ 4.7.2 can't compile
2013-01-14 00:42:49 +08:00
wang-bin
b9d196aba5
Add ImageConverter class so that we can use hwa support for convertion
...
Now only a converter based on FFMpeg swscale is implemented. Maybe the
interfaces are not good. It's ready for using ipp
TODO:
1. if in_fmt to out_fmt is not supported by hwa, then use ff(in base
class?)
2. move ImageConverter from decoder to video thread. decoder only do the
decoding
2013-01-14 00:41:26 +08:00
wang-bin
db15f9d17d
Add how to write compatible API
2013-01-12 01:13:54 +08:00
wang-bin
9700241cfb
README: add a picture from italian developers using QtAV with IP camera
2013-01-12 01:05:46 +08:00
LucasWang
d2110f5fd5
check a/v codec context before start a/v thread
2013-01-10 17:13:33 +08:00
wang-bin
01a594ac90
fix gcc 4.7.2 build error: taking address of temporary array
...
may be a libav/ffmpeg bug
2013-01-10 17:01:05 +08:00
wang-bin
12e9bcb685
Add some old ffmpeg apis. frome qmmp. TO be continue
2013-01-07 20:15:54 +08:00