3412 Commits
Author SHA1 Message Date
Jonathan Thomas bfc05d507d Fixed bug on Image processing, with no video or audio present. Play() and DisplayWaveform() methods now handle not having any audio samples. 2011-10-27 11:27:44 -05:00
Jonathan Thomas 28b9fbabd1 Fixed some bugs related to audio only files. Now audio only files are correctly divided into frames (30 fps), and seek correctly. 2011-10-27 09:40:03 -05:00
Jonathan Thomas 324887e381 Added additional unit tests for the Cache object, to verify it's cleaning up old items correctly. 2011-10-26 16:52:22 -05:00
Jonathan Thomas 26083f27b7 Fixed a rounding error on mapping audio samples to frames. Also adjusted the sample rate on the frame.Play() method to 48khz. 2011-10-26 14:34:14 -05:00
Jonathan Thomas e4f95d8a99 Reworked the cache object to use a double sided queue, so I can iterate through it to find the smallest frame, and remove specific frames from the cache. Also, fixed some additional audio bugs, and I finally have the audio being correctly distributed between frame objects. 2011-10-26 00:34:48 -05:00
Jonathan Thomas fa62b307c3 Fixed more audio bugs related to dividing samples between frames. 2011-10-25 17:07:51 -05:00
Jonathan Thomas 7db9136efb Fixed some bugs in the audio decoding. 2011-10-25 00:20:26 -05:00
Jonathan Thomas 81941041e3 Added a DisplayWaveform method on a frame, to help debug audio issues. It uses ImageMagick to draw each channel and all samples in each channel. 2011-10-24 17:32:26 -05:00
Jonathan Thomas 43fd6c33d0 Some major refactoing of the FFmpegReader, to allow for audio and video packets that are out of order. 2011-10-24 08:22:21 -05:00
Jonathan Thomas 1faa168fb3 Began to refactor the FFmpegReader to correctly save the audio samples with the correct frame. 2011-10-14 09:47:05 -05:00
Jonathan Thomas 4646aea99f Fixed a bug with the SDL YUV420p color conversion. Locally scoped Image was going out of scope, before I could get the colors completly out of it. Race condition. 2011-10-11 23:20:26 -05:00
Jonathan Thomas 161e8923af Initial check-in of OpenShot Library 2011-10-11 08:44:27 -05:00