Commit Graph

17 Commits

Author SHA1 Message Date
Jonathan Thomas
363cb8f257 Commented out unused error string, which breaks ffmpeg 53 2012-08-06 17:13:05 -05:00
Jonathan Thomas
67dba0cd67 Fixed the audio resampling by adding a new class called AudioResampler, which maintains state between calls to the JUCE resampler. Maintaining state allows JUCE to remove the discontinuities between the frames, and removes all the pops and crackles.
This is a major commit, and changes many things, including build scripts, new classes, and how the encoder works.
2012-08-05 15:17:37 -05:00
Jonathan Thomas
41fe027f6d Cleaned up the encoder code quite a bit, optimized lots of things, and fixed tons of memory leaks. 2012-08-04 01:11:12 -05:00
Jonathan Thomas
1f1540f7b6 Added initial support for AVOptions, and added video encoding support. Still needs lots of cleaning up, and custom exceptions, etc... but it's working now! 2012-08-03 03:23:10 -05:00
Jonathan Thomas
566295d46f Added some new audio sample scaling code, and fixed a huge bug with scoping the AVPacket in the correct spot, which was breaking many audio codecs... Also added a new mono audio test file. 2012-08-02 17:19:55 -05:00
Jonathan Thomas
9b28da8457 More audio refactoring, and resampling issues 2012-08-01 03:17:02 -05:00
Jonathan Thomas
80ca5e8315 Fixed audio resampling to now use JUCE instead of FFmpeg. Removed lots of debug code. 2012-07-30 11:05:36 -05:00
Jonathan Thomas
efb38cc9d8 Added in JUCE audio resampling, and have lots of resampling debug code still in place. 2012-07-30 02:37:19 -05:00
Jonathan Thomas
8387f503a6 Added new exceptions for invalid sample rates and channel layouts, and fixed a bug that added video streams for some formats for no good reason. 2012-07-27 17:44:18 -05:00
Jonathan Thomas
ae3b8594d2 Successfully got resampling integrated into the audio encoder. 2012-07-27 13:48:58 -05:00
Jonathan Thomas
506aa19017 Fixed many audio encoding / resampling bugs... 2012-07-27 02:35:43 -05:00
Jonathan Thomas
bb69ce22a8 Restrctured lots of audio encoding code, and dynamically set the sample_fmt based on valid sample_fmts in the codec. 2012-07-25 17:20:02 -05:00
Jonathan Thomas
7125b26357 checking stuff in. 2012-07-24 12:50:17 -05:00
Jonathan Thomas
0248a60e99 Replaced printf commands with custom exceptions, refactored the exceptions, and did some more testing. 2012-07-20 00:13:16 -05:00
Jonathan Thomas
cac43bdc17 Added the ability to include either audio or video streams (or both), and refactored a bit. 2012-07-19 17:10:40 -05:00
Jonathan Thomas
f5bd9ed1bf Added the initial encoder files, still not working though. 2012-07-19 15:03:55 -05:00
Jonathan Thomas
1e5cffd6db Added the initial API of the FFmpegWriter class, and tweaked the build scripts and reader class. 2012-07-12 15:55:41 -05:00