Commit Graph

23 Commits

Author SHA1 Message Date
Jonathan Thomas
3193ee9701 Wrapping AudioDeviceManager in singleton wrapper, to ensure only a single instance can be created. This solves lots of weird issues with the preview dialog. 2017-03-21 10:56:19 -05:00
Jonathan Thomas
e084f65315 Adding TODO for libopenshot related to audioDeviceManager 2017-03-21 00:45:11 -05:00
Jonathan Thomas
85ac4bf6d2 Updating references to frame number / position to long int, there were still quite a few old "int" declarations, which limits the length of frame number. Also, updated precision of KeyFrames to use double (instead of float) for higher precision, which fixed lots of issues with very long videos (since our FrameMapper used a KeyFrame object to create a map to new frames) 2017-01-24 18:39:17 -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
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
2f8c4161df Improved changing Reader() on the QtPlayer class, and made many thread safety improvements for the FrameMapper.GetFrame method. Also improved the destructors and Close() methods of FFmpegReader and FrameMapper. Some audio-related bug fixes also, related to audio playback. 2015-12-24 16:44:45 -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
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
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
Jonathan Thomas
2ba83486c9 Made some dramatic improvements to the QtPlayer classes, especially audio / video sync. All of my test files now work correctly, with no audio or video issues! Also, now audio only files also work, and image only files. 2014-03-21 01:25:17 -05:00
Duzy Chan
6464aa091d coordinate video playback with audio frame number 2014-02-14 10:19:50 +08:00
Duzy Chan
606c3e1c6d combine audio and video playback 2014-02-11 15:53:19 +08:00
Jonathan Thomas
1635ab06c2 Fixed bug in initialization of AudioReaderSource, and a bug in the AudioPlaybackThread which was causing the thread to prematurely end. 2014-02-10 17:16:33 -06:00
Duzy Chan
1caf0cfbe7 comment out video playback code 2014-02-02 02:20:30 +08:00
Duzy Chan
ea517194f8 still working around AudioReaderSource integration 2014-01-31 23:07:36 +08:00
Duzy Chan
8d2064ad05 trying to integrate with AudioReaderSource 2014-01-31 16:27:16 +08: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
Duzy Chan
88aa9689b8 working around audio/video playback 2014-01-27 19:03:46 +08:00