3412 Commits
Author SHA1 Message Date
Jonathan Thomas ed6b50709d More OpenMP debug code 2012-07-02 01:25:32 -05:00
Jonathan Thomas fde25cec5a Lots of experimental changes with the FFmpegReader, and caching of packets. 2012-07-02 00:51:10 -05:00
Jonathan Thomas 815204d235 1) Successfully got OpenMP working with the video processing method.
2) Added new "processing" flag, to help determine if a frame is being worked on in a thread
3) Added a new cache Display() method, for debugging reasons
2012-07-01 01:43:06 -05:00
Jonathan Thomas 311c04de23 Another openmp tweak 2012-06-29 02:32:19 -05:00
Jonathan Thomas 40680f7201 Fixed a few openmp bugs in the FFmpegReader, but there are still many issues 2012-06-29 02:02:12 -05:00
Jonathan Thomas d2e3285099 Fixed cmake dependency for JUCE on Windows 2012-06-28 15:58:39 -05:00
Jonathan Thomas bae7226481 Updated project plan 2012-06-28 03:49:30 -05:00
Jonathan Thomas c6c011a5b9 Make SDL method private, so Python bindings still work 2012-06-22 00:26:01 -05:00
Jonathan Thomas 361653c703 Added project plan for libOpenShot, to help schedule my time 2012-06-20 01:26:30 -05:00
Jonathan Thomas 62df1bc7ac openmp changes 2012-06-18 09:26:14 -05:00
Jonathan Thomas e9e1b86f5c Fixed audio code to work with the newest version of JUCE (v2.0), and removed sample programs 2012-06-17 23:15:47 -05:00
Jonathan Thomas b775fff325 Got ffmpeg and juce compiling and mostly everything working again. FFmpeg is the newest version, and so is JUCE. 2012-06-16 02:12:48 -05:00
Jonathan Thomas 57520f0ba3 Removed juce files to their own library 2012-06-15 17:46:13 -05:00
Jonathan Thomas 87da6faa92 Added initial juce source code (generated from Introjucer) 2012-06-15 10:25:28 -05:00
Jonathan Thomas 063c1481bd Fixed a bug calculating # of samples per frame, to use FPS instead of video time base. 2012-02-26 17:22:24 -06:00
Jonathan Thomas eae0c0bbfb FIxed a bug related to the CheckFPS method, if a video is too short to use this method, it needed to exit the function, and seek back to frame 1. 2012-02-26 16:45:50 -06:00
Jonathan Thomas 403c7e512e Fixed 2 bugs related to audio samples. Each frame can now determine it's own # of samples, due to some sample rates not being divisible evenly into some frame rates. Also, a bug was fixed that injected a bad sample into a frame's samples, when a frame received samples from multiple audio packets. 2012-02-26 16:40:53 -06:00
Jonathan Thomas ba0245ac82 fixed a bug where resampled audio was not completly copied into the audio buffer. 2011-12-21 16:49:33 -06:00
Jonathan Thomas da289f93bf Fixed a bug where audio was not being resampled to the correct sample format. Also fixed a bug where the audio buffer was not being incremented correctly, and it was duplicating audio samples. There are still a few audio bugs, but it's mostly working now. 2011-12-18 02:29:34 -06:00
Jonathan Thomas b4c7a6ce81 Removed some invalid code to handle interlaced frames. Improved the CheckFPS() algorithm to check for 1/2 the detected frame rate first, and then fallback to the "average frame rate". 2011-12-17 16:16:59 -06:00
Jonathan Thomas f00c4206be Added a method to get the average # of frames over the initial 5 seconds of video, and adjust an invalid framerate, which sometimes FFmpeg detects. Also, a Reader only initializes it's default values 1 time, and only checks frame rate 1 time, regardless of how many times your Open() and Close() the reader. 2011-12-15 16:11:48 -06:00
Jonathan Thomas ade29c7d68 Fixed tons of issues related to video timebase being different than the video framerate. Also, added new properties for interlaced video, correctly detect pixel ratio, and fixed Display() to adjust for pixel ratio. Also added sample_rate to a frame, so it can playback audio at the correct rate. Refactored FFmpegReader to make most methods private, and only expose the important methods publicly. 2011-12-11 20:42:50 -06:00
Jonathan Thomas e911c8cc00 Adjusting the FFmpegReader to correctly handle video timebase's that are different than the inverse framerate. 2011-11-07 17:12:25 -06:00
Jonathan Thomas dccc014941 Fixed a bug with seeking the audio stream, to avoid missing samples on the first 2 frames returned. 2011-10-27 15:37:20 -05:00
Jonathan Thomas 44ed83b25c Fixed bug in Display() method for audio only files (i.e. files with no images) 2011-10-27 11:38:58 -05:00