Commit Graph
789 Commits
Author SHA1 Message Date
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
wang-bin 28239842f8 AudioFormat static members 2013-11-10 08:17:52 +08:00
wang-bin d51cd4927d use VideoFrame instead of QByteArray in pipe line. XV may not work
TODO: remove convertData() etc, use frame.width()/height()
2013-11-10 08:16:32 +08:00
wang-bin 70a810817a fix wrong video format. add image format 2013-11-10 14:47:06 +08:00
wang-bin 047ab99557 Merge branch 'master' into dev 2013-11-09 21:40:19 +08:00
wang-bin 5673c164c9 use VideoFormat in VideoFrame. All parameters are computed by FFmpeg 2013-11-09 21:35:42 +08:00
wang-bin 5f87499e5c add api to get plane data ptr and line size from ImageConverter 2013-11-09 18:47:07 +08:00
wang-bin 6795a1054b add VideoFormat 2013-11-09 01:44:05 +08:00
wang-bin ddebb180eb player: tooltip show correct capture dir 2013-11-07 00:30:10 +08:00
wang-bin 07ce96c3fa misc 2013-11-03 22:05:46 +08:00
wang-bin 691b972096 more renderer related controls in VideoOutputEventFilter 2013-11-03 18:29:32 +08:00
wang-bin 3bc6b2683d player: translation. lager toolbar size 2013-11-03 17:25:28 +08:00
wang-bin 0cc359a521 player: online tv list widget 2013-11-03 17:15:09 +08:00
wang-bin a2c7f853d1 remove dead code. the can keep in 1.2 branch 2013-11-02 22:55:04 +08:00
wang-bin 81ed10da38 fix bpp error. add ffmpeg pixel format convertion 2013-11-02 22:44:06 +08:00
wang-bin db6616811b add videoframe api for gpu. fix compile error 2013-10-30 20:18:15 +08:00
wang-bin 02a83efede frame api and internal. special enum values to compute bpp fast. 2013-10-30 02:07:35 +08:00
wang-bin 1f70076dad fix compile error etc 2013-10-29 17:06:44 +08:00
wang-bin 2a2846e61b audio/video frame prototype. will be used in decoding/filter/rendering pipeline 2013-10-29 00:18:24 +08:00
wang-bin 7b34edd4ce player: use opengl by default if opengl in Qt is enabled 2013-10-28 22:22:21 +08:00
wang-bin 783a537a43 fix dylib search issue on mac. reorder rpath to avoid depend lib version conflict.
for linux, executable_path > executable_path/lib
for mac, execautable_path/PlugIns
TODO: ios, android
2013-10-27 21:56:50 +08:00
wang-bin 614e1c9182 fix a potential crash
don't know why it happens
2013-10-27 00:22:27 +08:00
wang-bin c256987799 fix crash when open/close decoder is called.
open and close codec with ffmpeg api is not thread safe unless we enable
lock manager. av_find_stream_info will call open. shall we enable lock
mgr?
2013-10-26 14:41:35 +08:00
wang-bin a9d67e257b fix crash if flush a decoder not open 2013-10-26 07:57:21 +08:00
wang-bin 2a36aa689b fix decode error if a frame should be decoded multiple times
ffplay continue instead of break
2013-10-26 07:49:07 +08:00
WangBin a3727e915b Merge pull request #100 from e3c/master
Fix corrupt initial frames https://github.com/wang-bin/QtAV/issues/70
2013-10-25 23:14:52 -07:00
Dimitri E. Prado 8892d0ee9c Fix corrupt initial frames https://github.com/wang-bin/QtAV/issues/70
There is a race condition where AVDemuxThread starts queueing packets
before AVThread::resetState is called from VideoThread. When AVThread::
resetState gets called, all collected frames get dropped. This patch
waits on a conditional variable for AVThreads to start properly.
2013-10-25 12:31:55 -07:00
wang-bin 96682bf373 avoid emitting stopped() multiple times
TODO:
still twice if stop manually, why
2013-10-24 17:45:55 +08:00
wang-bin cd77f814aa stop AVThread as soon as possible. reduce lock scope
split long time operations and check stop condition
2013-10-23 18:00:57 +08:00
wang-bin e902e52f9f remove AVClocek in demuxer. remove unnecessary seek functions 2013-10-19 15:57:32 +08:00
wang-bin 94fa7113d7 codec open/close move from demuxer to decoder is more reasonable
TODO:
remove AVCodecContext var in AVDemuxer to avoid misunderstand
remove AVClock in AVDemuxer
2013-10-19 15:02:36 +08:00
wang-bin 6bdfb1aecd player: fix crash if no audio stream 2013-10-19 14:19:43 +08:00
wang-bin 33c1341bce Q_EXPORT=>QTAV_EXPORT to avoid confliction that used in another lib 2013-10-19 00:42:51 +08:00
wang-bin a6f98cf73f decode ac3, mpeg2 audio correct. skip undecoded packet 2013-10-18 11:16:13 +08:00
wang-bin 75f7d7040c new AVDecoder api 2013-10-18 00:59:40 +08:00
wang-bin 32b94c4ae9 move some event handling to video renderer widget's filter
bug: videogroup example can not handle key event
2013-10-17 23:34:20 +08:00
wang-bin 1b16535090 gl: upload full texture and render part(roi) of it 2013-10-17 00:09:10 +08:00
WangBin f4221a82a3 update README: ROI 2013-10-15 13:04:10 +08:00
wang-bin f1eebc828c region of interest example for videogroup 2013-10-15 12:50:45 +08:00
wang-bin 5eeaa98faf gl region of interest support 2013-10-15 01:08:40 +08:00