Commit Graph

72 Commits

Author SHA1 Message Date
Jonathan Thomas
4ee7ef9b6e Added experimental AudioBufferSource and refactored lots of audio code. 2014-01-28 17:17:38 -06:00
Duzy Chan
88aa9689b8 working around audio/video playback 2014-01-27 19:03:46 +08:00
Jonathan Thomas
1e7cd7ddbb Fixed bug in AddImage() method on a frame, to copy the image instead of just pointing to it. This fixed many issues in the FrameMapper as well, which copies images alot. 2013-11-04 15:16:19 -06:00
Jonathan Thomas
2b77da2fd0 Fixed some bugs with the Wipe effect, and am still trying to optimze the performance and make it add alpha channels correctly. 2013-10-14 18:18:34 -05:00
Jonathan Thomas
58090ef5fc Added license and copyright to all files. Improved many examples and documentation. Refactored the Coordinate() object, to move a few properties to methods. 2013-09-12 17:52:10 -05:00
Jonathan Thomas
234201743a Improved more documenation, and switched to @ syntax for doxygen. 2013-09-09 23:32:16 -05:00
Jonathan Thomas
14a61f9c5c Refactored a few methods, added new doxygen format, and improved the copyright, license, and comments & documentation for many classes and methods. 2013-09-08 23:09:54 -05:00
Jonathan Thomas
a280399f40 Fixing diverged branches... and bringing it all back together. =) 2013-06-06 23:19:48 -05:00
Jonathan Thomas
1466ac535b Changes made to the live greenscreen display at SCALE 11X. 2013-06-06 23:15:01 -05:00
Jonathan Thomas
6171abfe1a Added a Sleep.h header, which defines an OS specific sleep metho. 2013-06-06 12:12:08 -05:00
Jonathan Thomas
aa09fdc69b Fixed many, many blackmagic bugs, and have a pretty good demo built. 2013-02-15 00:23:55 -06:00
Jonathan Thomas
efc1ad47fe Added an OpenShot logo to the bottom of the screen (layer 4) 2013-02-12 02:56:59 -06:00
Jonathan Thomas
ca09838b0f Optimized the compositing of simple layers (with no transformation), by not resizing it's canvas to match the timeline. Also, improved the Decklink reader to wait for the frame to become available (if it's in the future), and to jump ahead on the timeline if it gets behind. Blackmagic program can now composite 4 layers in real time. 2013-02-12 02:42:18 -06:00
Jonathan Thomas
cc32bbf38a Made decklinkOutput keep scheduling the last successfull frame, if the queue runs out. Also, made the timeline multi-threaded, and improved the DecklinkInput.cpp to keep frames in order, by returning the correct frame based on the number. 2013-02-12 01:28:48 -06:00
Jonathan Thomas
0b4cd27f6b Tweeked some greenscreen settings 2013-02-10 23:09:27 -06:00
Jonathan Thomas
4a4d9e2a34 Improved the timeline compositing performance, fixed some blackmagic bugs, and finally have an actual chromakey demo working! 2013-02-10 21:16:46 -06:00
Jonathan Thomas
2a743123ee Improved DecklinkReader to be multi-threaded, using the OpenShot cache object to keep things in order. Performance is very smooth on the blackmagic test executable now. 2013-02-10 15:46:41 -06:00
Jonathan Thomas
09a02c0adf Adding the initial version of the decklink writer, and a fully working (full circle) blackmagic example executabe, which processes real-time HD video and output's it via HDMI. 2013-02-10 02:19:40 -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
fbf169a7fa Added a simple chroma key method to a frame object, and added multi-threaded optimizations to the black magic capture code. 2013-01-26 23:02:21 -06:00
Jonathan Thomas
b8d4b0b73d Fixed a big bug with the Swig wrapper, to correctly match the typemap of the tr1::shared_ptr, and then removed the GetFrameObject method, since it's no longer needed. 2013-01-12 12:45:55 -06:00
Jonathan Thomas
ad81fed72e Added alpha to all FFmpegReader source images, which is needed by the timeline class. Also, added alpha to the AddColor() method. Now even the background of the timeline can be transparent, along with all layers... even the bottom layer. 2012-12-04 02:21:01 -06:00
Jonathan Thomas
0d82a4e716 Made Keyframe objects thread safe, by generating the values as Points are added, and the Timeline's Open and Close logic was made thread safe, so a reader is not closed while it's still being accessed on another thread. Also removed some unneeded code and comments. 2012-12-03 22:55:46 -06:00
Jonathan Thomas
e264d4fcab Fixed a really huge audio issue, related to audio timestamps, gaps, and also mono vs stereo issues. This is the best audio support I've accomplished thus far. =) 2012-12-03 04:51:17 -06:00
Jonathan Thomas
8606ec2a6e Added wave_color attribute to the clip object, which now allows the audio wave form to animate it's color along a curve over time. Combined with the timeline background color curve, some cool combinations can be made! 2012-11-29 23:11:50 -06:00