Commit Graph

31 Commits

Author SHA1 Message Date
wang-bin 0ccdff3eb6 remove deprecated apis 2016-03-10 18:22:17 +08:00
wang-bin 9d21299314 capture: fix raw HW VideoFrame save to a file 2015-10-26 17:40:03 +08:00
wang-bin 665f1d9bd6 qstring optimize & QT_NO_CAST_FROM_ASCI build error part2
QLatin1String:
- QString has override function && no implicitly convert to QString:
indexof,contains,==,insert,append,prepend,
+=,replace,compare,<,startswith,endswith
- not from a raw string
2015-08-08 20:49:22 +08:00
wang-bin a0e831691c bits()=>constBits() to avoid potential copy 2015-07-29 01:26:02 +08:00
wang-bin 617c12cbf0 capture video frames from hw decoder support 2015-06-05 15:04:46 +08:00
wang-bin 7beba2089f add missing VideoCapture.capture() 2015-05-08 09:52:36 +08:00
wang-bin f03d953afb misc. delete capture task. 2015-01-16 22:55:48 +08:00
wang-bin 23f5a8bb43 add methods for VideoFrame to get a image or frame with another format
old convertTo() is a bad idea because VideoFrame now is explicitly
shared and will be removed
2015-01-08 23:04:06 +08:00
wang-bin d0f6df7a62 videocapture: check frame data. fix qimage not created if no sav 2014-12-21 15:55:06 +08:00
wang-bin 6dc6fc7733 videocapture: wait for done if app is exiting. 2014-12-21 14:36:13 +08:00
wang-bin cac9ecdc83 videocapture: add convenience signal to get QImage 2014-12-21 13:27:17 +08:00
wang-bin ad59257089 videocapture: capture current displayed frame. code clean up. api change
old implemention was the next frame will be captured.
2014-12-20 20:09:55 +08:00
wang-bin d55591a5e0 bgra format. issue 254 2014-10-24 09:45:30 +08:00
wang-bin 74cba4bb09 fix wrong logging logic etc
log level takes affect for ffmpeg and libass log
TODO:
remove qDebug() in headers
2014-10-16 12:28:44 +08:00
wang-bin 53dd80e9d1 set correct stride to construct QImage from VideoFrame. issue 252 2014-08-01 21:19:27 +08:00
wang-bin a5e4e8d8d1 video capture clone the frame as soon as available to avoid crash. add
getImage.
2014-03-05 23:50:51 +08:00
wang-bin de792ce334 video capture supports yuv 2014-03-05 00:46:51 +08:00
wang-bin 3bbc11528d fix include 2013-11-27 22:56:11 +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 b3dda821e2 let video capture work. can capture without saving 2013-11-12 19:00:03 +08:00
wang-bin ddebb180eb player: tooltip show correct capture dir 2013-11-07 00:30:10 +08:00
wang-bin 332b143855 save captures to system standard picture path if available 2013-07-28 01:03:03 +08:00
wang-bin 2a480038a7 remove some finished TODO 2013-07-08 23:41:01 +08:00
wang-bin d7a334da5a caputre should only supply a default capture configuration 2013-06-29 00:06:40 +08:00
wang-bin d4c178dd4e License change to LGPL v2.1 2013-02-04 01:45:42 +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 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 99fc9986ac update copyright date 2013-01-20 15:04:25 +08:00
wang-bin f573e5083c Qt5 2012-12-23 20:37:03 +08:00
wang-bin c861d4298f capture in a new thread
BUG: the image may not which we see when click
2012-12-16 19:10:11 +08:00