Commit Graph

195 Commits

Author SHA1 Message Date
Jonathan Thomas
663e0d4129 Fixed a big memory leak on the FFmpegReader while processing audio packets. 2014-09-22 00:40:21 -05:00
Jonathan Thomas
348ff39e87 Fixed another seek bug, and resolved some memory leaks with removing av_frames and av_packets. 2014-09-15 00:24:46 -05:00
Jonathan Thomas
f6b9ba4fa3 More tweaks to the seeking code, to increase stability while seeking. 2014-09-13 18:05:15 -05:00
Jonathan Thomas
7eb25b54fc Fixed a bad seek bug, where the FFmpegReader would read until the end of stream looking for a frame. Also refactored a bit of cmake code. 2014-09-13 16:35:11 -05:00
Jonathan Thomas
cc7a0f41e8 Added new debug methods, and refactored the ReaderBase and WriterBase to better utilize the base class constructor. Also fixed some FFMpegReader issues related to seeking and determining when frames are actually ready. 2014-08-27 09:44:27 -05:00
Jonathan Thomas
e135eb5738 Changed license to LGPLv3 for all libopenshot code. 2014-07-11 16:52:14 -05:00
Jonathan Thomas
b224d7d8fa Adjusted ImageMagick code to dynamically calculate the quantum depth, and bitshift between that depth and the 8bit colors for FFmpeg. 2014-07-03 12:26:02 -05:00
Jonathan Thomas
39a67529fa Removed partially implemented SDL player. 2014-06-20 15:05:24 -05:00
Jonathan Thomas
ac4988e92b Renamed new Save method to Thumbnail 2014-05-20 00:57:27 -05:00
Jonathan Thomas
e0c428c347 Added new awesome thumbnail method, which can resize very accurately, add masks, add overlays, set background colors, pad and center image, etc... 2014-05-20 00:34:20 -05:00
Jonathan Thomas
7f6c50db71 Improved JSON error handling with complex nested JSON objects. 2014-05-16 14:48:25 -05:00
Jonathan Thomas
00722192d9 ApplyJsonDiff now clears the internal timeline cache (since things might have changed), and the timelines GetFrame always resorts the clips, to be sure they are in the correct order... not ideal, but better than out of order. 2014-05-14 23:04:35 -05:00
Jonathan Thomas
7de37cf1a6 Fixed a bug in the Seek method, which was reseting the seek_target on each recursive seek. 2014-04-05 10:19:20 -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
bc4e58c601 1) Reduced all openmp to use /2 the available CPUs (for performance reasons)
2) Improved detection of pixel format (enabled GIF support.. although it is still flawed a bit)
3) Improved error reporting when video encoding issues happen
2014-03-29 15:39:43 -05:00
Jonathan Thomas
74abf40932 Fixed bugs in new AudioReaderSource class. Also fixed a few small issues in the FFmpegReader class. 2014-01-29 00:18:40 -06:00
Jonathan Thomas
118fe9113a Fixed RendererBase to correctly use writePixels, instead of iterating through PixelPackets. Fixed Audio Crash caused by not initializing a JUCE background audio thread. Added an OutOfBoundsFrame exception on the FFmpegReader, when the end-of-stream is detected. 2014-01-28 02:41:15 -06:00
Jonathan Thomas
dfe96b638c Added Profile class, which can load profile data from a text file, and generate Json from the profile. 2014-01-09 17:37:04 -06:00
Jonathan Thomas
3c99e53dad Added JSON change method, which accepts a diff / sync JSON array, and applies the changes to a timeline and timeline associated properties and items. Also fixed many bugs on JSON type checking. 2014-01-08 01:43:58 -06:00
Jonathan Thomas
e2f5ca8a69 Removed Framerate class, since its functionality is already represented in the Fraction class. Also, corrected a few unittests, and updated some documentation. 2014-01-05 23:12:56 -06:00
Jonathan Thomas
edcb05784a Completed clip Json output, with all keyframes and properties. 2014-01-04 19:04:21 -06:00
Jonathan Thomas
0e037a389e Fixed many Windows build issues 2014-01-01 22:50:41 -06:00
Jonathan Thomas
4af6916338 Fixed polymorphism / inhereted Json methods, and added a new IsOpen() method on all readers. Fixed other misc Json bugs. 2013-12-18 21:55:43 -06:00
Jonathan Thomas
cd7743fb88 Improved Json methods to correct work with swig and inheritance. 2013-12-07 21:09:55 -06:00
Jonathan Thomas
d8da4cb807 Added Json() methods to many methods, for loading and saving properties. 2013-12-06 00:40:26 -06:00