Commit Graph

536 Commits

Author SHA1 Message Date
Jonathan Thomas
9839899a60 Big memory leak fixes in FFmpegReader and FrameMapper, and fixed logic in Frame Mapper with regards to special framerate conversions (24, 25, and 30)... which were causing some inadvertent audio drift. 2016-07-27 13:18:55 -05:00
Jonathan Thomas
92a9db2aa3 Improved detection of missing audio frames, and missing video frames. Also improved logic for giving up on missing frames in general. Also removed some deadlocks related to Seeking (Close() and Open() were deadlocking). The end result is much improved compatability with reading video files. 2016-06-29 02:42:00 -05:00
Jonathan Thomas
4808be25ff Added 4 new clip keyframes (channel mapping, channel filter, has_video, and has_audio). These are a bit different though, as they are evaluated as boolean (-1 = ignored, 0 = disabled, 1 = enabled). Also fixed some issues with video playback (where it gets stuck in fast forward), and fixed some race conditions when opening FFmpegReader. Also added more debug output. 2016-04-24 15:37:47 -05:00
Jonathan Thomas
37f1894300 Fixed a race condition in video playback thread! Also, added new method to get the average magnitude of a range of audio samples. 2016-04-22 02:43:06 -05:00
Jonathan Thomas
179d091005 Moved AppendDebugMessage to ZmqLogger, and updated 100+ references to use this new function. Removed debug var from readers/writers, and moved it to ZmqLogger.Enable(true/false). This allows debug output from all classes and functions, without any duplicate code. Also added some additional debug output for video playback and audio readers. 2016-04-21 01:39:17 -05:00
Jonathan Thomas
30648360c7 Adding some additional locks around adding images to a frame in FFmpegReader 2016-04-14 09:41:10 -05:00
Jonathan Thomas
7c49628d93 Added new optional file logging abilities to ZmqLogger, which are guaranteed to write to disk (even if a crash happens immediately after logging) 2016-04-12 16:42:36 -05:00
Jonathan Thomas
9503483a5d Added a lock around adding missing frame images (in FFmpegReader), which might be causing crashes, and fixed a log issue inside the FrameMapper, which also might be affecting performance and/or causing crashes. 2016-04-11 17:43:56 -05:00
Jonathan Thomas
f71550b014 Updated instruction PDF 2016-04-04 23:57:04 -05:00
Jonathan Thomas
723bd24e5c Adding new dependency: libzmq (ZeroMQ). Adding a new debug logging class powered by sockets and ZeroMQ, to allow a threadsafe way to communicate debug messages to a client application (i.e. openshot-qt). Also, removing unneeded Sleep.h functions. There will be lots more code utilizing ZeroMQ soon. 2016-04-04 23:09:18 -05:00
Jonathan Thomas
6d2d342719 Updating libopenshot instruction PDF 2016-03-30 14:36:02 -05:00
Jonathan Thomas
1109e399ec Bumping version to 0.1.1-8, New Release v0.1.1 2016-03-27 23:12:21 -05:00
Jonathan Thomas
042c0967b3 Add ENABLE_PYTHON and ENABLE_RUBY arguments for CMAKE, so the user can disable either one (or both). They are defaulted to TRUE (if detected) 2016-03-21 16:03:25 -05:00
Jonathan Thomas
38b7516b50 When a seek fails, disable seeking with FFmpegReader. This fixes lots of issues with image sequences, but needs more testing to see if it causes issues with normal video files. 2016-03-08 23:11:56 -06:00
Jonathan Thomas
ac774b4e3b Fixed a memory corruption issue, where AddImage was being called multiple times (at the same time). Added a lock, and I can no longer reproduce the crash. 2016-03-08 00:38:06 -06:00
Jonathan Thomas
4439131a82 Fixed regression for ImageMagick enabled builds 2016-02-23 10:04:07 -06:00
Jonathan Thomas
b8246f1800 Fixing SWIG bindings when ImageMagick is not found 2016-02-23 01:24:13 -06:00
Jonathan Thomas
45f1b8c5ac Making ImageMagick completely optional. This will simplify packaging on Windows and Mac. Also, reprogrammed Display, DisplayWaveform, Save, and Thumbnail methods, which are much faster now (using Qt). 2016-02-23 00:27:03 -06:00
Jonathan Thomas
6f1bee9b65 Fixing version # bug with 0.0.10... Apparently my build system can't handle 2 digit #s, haha. Bumping version to 0.1.0, and fixing a documentation bug. v0.1.0 2016-02-08 21:52:25 -06:00
Jonathan Thomas
ca39286d5a Bumping version to 0.0.10-7 v0.0.10 2016-02-08 10:58:55 -06:00
Jonathan Thomas
1e76b0b6e9 Smoother translation of scaled images, and much smoother aliasing of edges of scaling (i.e. zooming in / out, panning across) 2016-02-03 00:43:27 -06:00
Jonathan Thomas
276aae35b3 Improvements to exception handling, including using std::exception base class, and better general purpose exception handling in SWIG with Python. Also fixed an error when thowing exceptions inside OMP regions. 2016-02-02 01:09:02 -06:00
Jonathan Thomas
054175ddaa Fixed some audio popping issues related to audio buffer size and also resampling issues inside the FrameMapper class. Also made the Timeline more hardened, if a reader returns an error requesting a frame. 2016-01-30 17:12:41 -06:00
Jonathan Thomas
43fd4fccb1 Fixing an audio popping / video frame flashing issue with the Timeline calculating the incorrect frame from a Clip. Now the timeline correctly rounds the time diff, and determines the correct frame. 2016-01-30 02:10:40 -06:00
Jonathan Thomas
45a4269a1e Added a better example app which demonstrates crashing in the Mask effect 2016-01-27 22:34:31 -06:00