Commit Graph

163 Commits

Author SHA1 Message Date
Jonathan Thomas
642bfc659d Completed the effects integration into the Timeline class. An effect is limited to a single layer on the timeline, but can affect many clips (based on it's position and duration) 2013-10-06 18:11:33 -05:00
Jonathan Thomas
ffe3be756e Fixed bug in clip and effect sorting by multiple attributes. They are now sorted by Position(), and then Layer(), and then Order(). 2013-10-06 16:55:38 -05:00
Jonathan Thomas
1127a0f3ba Refactored Clips into a base class called ClipBase. Effects and Clips use this base class, which allows them to be positioned and layered on the timeline. Also fixed a regression in Coordinate, which was not properly setting instance variables. 2013-10-01 15:22:25 -05:00
Jonathan Thomas
3596f75abc Added extra start frame to each chunk in the ChunkWriter and ChunkReader, to make sure every chunk can "stoke" the audio samples from the previous chunk. Also, added additional example code for an openshot::Frame. 2013-09-15 22:21:19 -05:00
Jonathan Thomas
97a4f903c2 Added copyright and licensing to the rest of the source code in libopenshot, including the CMake build scripts, the SWIG configuration file, and even updated copyright in the README files. All files are now correctly attributed and protected now. 2013-09-12 23:41:49 -05:00
Jonathan Thomas
cbed47ea5f Changed / Refactored many enums and structs, to better standardize the naming of everything. Improved some more descriptions and briefs. 2013-09-10 12:59:06 -05:00
Jonathan Thomas
a42e257521 Many small improvements, bug fixes, and build system fixes for newer systems that have both qt4 and qt5. 2013-09-08 16:08:56 -05:00
Jonathan Thomas
12ca79ce0b Fixed bug on JSON output on a ChunkWriter. Also, moved some ChunkWriter defaults into the header. 2013-08-28 17:00:57 -05:00
Jonathan Thomas
ae8552fdb3 Completed the ChunkReader, new exceptions for ChunkNotFound, and correctly locates and uses the chunk readers to get the requested frame. 2013-08-28 15:28:19 -05:00
Jonathan Thomas
fb9edb15b5 Hooked up the ChunkReader, integrated into cmake, and have it successfully "loading" the JSON info file and validating the chunk folder path. 2013-08-28 13:51:22 -05:00
Jonathan Thomas
b3c6b79793 Added 3 video streams in a chunk (final, preview, and thumb) at 3 different quality versions. 2013-08-27 16:57:49 -05:00
Jonathan Thomas
1e2d93721d Improved ChunkWriter to create chunk folder and write JSON meta data 2013-08-27 13:37:00 -05:00
Jonathan Thomas
75cda958d3 Fixing Qt build instructions... so it works on Windows and Linux. 2013-08-02 10:03:41 -05:00
Jonathan Thomas
d9942b38b9 Added Qt example to main executable... to test build scripts on all platforms. 2013-08-02 09:42:45 -05:00
Jonathan Thomas
5e3c0717b1 Added more defintion to the ChunkWriter class, and added in the license file to jsoncpp. 2013-08-01 13:45:09 -05:00
Jonathan Thomas
b8baaef658 Incorporated JSON library (http://jsoncpp.sourceforge.net/) into project, and tweaked build rules and headers to successfully integrate it. licensed under MIT license. 2013-07-31 16:18:54 -05:00
Jonathan Thomas
bcfbe60a4a initial chunck readers/writers 2013-07-31 12:45:47 -05:00
Jonathan Thomas
5ce6add42f Added gravity to the TextReader, so text can be easily anchored to the corners. 2013-03-06 23:36:28 -06:00
Jonathan Thomas
55aa8225eb Added a demo with the presentation background and waveforms, for the credits. 2013-02-19 01:29:32 -06:00
Jonathan Thomas
124675ce84 Fixed bug in timeline which always reversed audio. Added a new timecurve demo. 2013-02-19 00:51:07 -06:00
Jonathan Thomas
f04e821f0d Refactored blackmagic capture example into DecklinkCapture.cpp, and added it into libopenshot. Also, added a new, Main_Blackmagic.cpp example program, which invokes the DecklinkCapture.cpp class.
Also, built in a 20 frame buffer into the DecklinkCapture.cpp class, to discard old frames, to keep the memory from filling up.
2013-02-06 02:09:21 -06:00
Jonathan Thomas
d0556bc33f Fixed a big audio regression, with a buggy isnear() function, which did not take into account the amount of frames between the sample locations. 2013-01-25 02:24:18 -06:00
Jonathan Thomas
ebf3bad263 Increased the number of samples to look for gaps (based on the samples per frame value) 2013-01-13 10:54:53 -06:00
Jonathan Thomas
615be6603d Changed the main() example code 2013-01-12 14:51:59 -06:00
Jonathan Thomas
425ac04b1a Commented out some code, to prevent some regressions on the timeline 2012-12-06 17:58:51 -06:00