Commit Graph

20 Commits

Author SHA1 Message Date
Jonathan Thomas
c53c9364f3 Added new CacheDisk class, which caches frames to the hard drive, dramatically speeding up preview speeds, at the expense of IO operations. New unittests for caching framework. Fixed a few bugs with Frame constructor, which was causing invalid # width & height. Integrated JSON into the cache framework, to quickly share the state of the cache (including ranges of cached frame numbers). Fixed a bug where some Timeline frames could have no audio samples. 2016-09-07 00:40:01 -05:00
Jonathan Thomas
98ccfb5ee1 Fixing cmake build scripts to support 64bit on Windows. Also refactoring some pointer handling to support 64bit on Windows (Linux and Mac have always supported it). Adding instructions for setting up a Windows 64 bit build environment using MSYS2. 2016-08-12 19:15:19 -05:00
Jonathan Thomas
d48ce2068e Refactored some audio thread code, and improved performance of timeline (by removing a 'omp ordered' statement that doesn't seem needed). Also added some performance improvements in Clip and FrameMapper classes (if the frame is the same as the source frame... just use the source frame) 2016-01-18 15:20:55 -06:00
Jonathan Thomas
121cfd342d Fixed a crash when stopping the QtPlayer class (the cache thread was not being correctly ended, and the audio timeslice thread was not being ended). Also fixed a crash when closing the openshot-player executable. 2015-12-04 01:10:40 -06:00
Jonathan Thomas
b612f3339d Replaced ImagMagick with QImage on almost all key methods and classes. Reprogrammed all effects and the entire rendering pipeline to use QImage and QTransforms, primarily for increases in speed and stability. libopenshot is more than 10X faster on many of the most CPU heavy tasks. This was a huge change, and still has a few minor issues relating to BlackMagick Decklink and Text rendering.... which should be resolved very soon.
Also, much work has been done on memory management / leak detection, and optimizations with multi-threading... including a new thread cacher class used by the video playback (which is smoother than ever).
2015-06-01 00:20:14 -07:00
Jonathan Thomas
891766ed29 Added new GetQImage method to get a Qt QImage object from an openshot:Frame object. Also refactored the video playback code to use this new method. 2015-03-16 13:59:11 -05:00
Jonathan Thomas
de1a30b6cb Tons of bug fixes to the Qt Player and video playback functionality
Improved AudioReaderSource to support pausing & fast forward
Video playback works very well now, across a large sampling of test videos
2015-02-04 23:56:43 -06:00
Jonathan Thomas
e135eb5738 Changed license to LGPLv3 for all libopenshot code. 2014-07-11 16:52:14 -05:00
Jonathan Thomas
55c52306cc Testing out some experimental audiothread changes. 2014-05-24 16:07:42 -05:00
Jonathan Thomas
6232a1bd41 Refactored and fixed many include paths (not sure how they worked before). Also, refactored SWIG bindings into separate folders, and added Ruby as the 2nd officially supported language for libopenshot. 2014-04-10 22:38:01 -05:00
Jonathan Thomas
e073ad89f5 Fixed many issues with the QtPlayer and related classes. Now the VideoRenderer can be passed through SWIG and connected to a PyQt application and handle display signals for each frame. Also, refactored some OpenMP settings into its own header. 2014-04-02 16:48:27 -05:00
Jonathan Thomas
6e65c36690 Refactored much of the Qt Player related code. Also, integrated the Qt Player code into Python bindings. This still needs some work, especially with using PyQt widgets instead of C++ Qt Widgets. 2014-03-30 23:21:30 -05:00
Jonathan Thomas
5010f6252a Replaced all copyright and licensing to reflect AGPLv3 license. Also, added a bad ass version header, which is now integrated into CMake as well. A single place to indicate version and ABI/API compatibility. 2014-03-29 18:49:22 -05:00
Jonathan Thomas
a77de842e4 Added pausing, rewind, fast forward, and playing (and different speeds). Still a bit buggy and experimental with fast forward and rewinding (due to seek bugs in readers). 2014-03-23 01:12:29 -05:00
Duzy Chan
7557a3aa37 QtPlayer: displaying the first frame of a reader 2014-01-26 03:35:38 +08:00
Duzy Chan
c67c1ae8c8 initial QtPlayer classes 2014-01-25 03:38:38 +08:00
Jonathan Thomas
ab56c207c6 Fixed Qt sample app on Mac... which was failing to include a few modules. 2013-12-21 01:58:18 -06:00
Jonathan Thomas
d2017dd459 Adding Qt5 Video player example, and currently the build files are failing due to moc issues with Qt5. Still looking into this. 2013-12-19 00:15:13 -06:00
Jonathan Thomas
4f8d27a147 Changed cmake for Qt5 2013-11-17 15:12:08 -06:00
Jonathan Thomas
d8175effdf Added Qt video player example code, although it is not working yet. 2013-11-11 17:42:31 -06:00