1811 Commits

Author SHA1 Message Date
Jonathan Thomas
264205da9f Bumping version to 0.3.0, SO 23, and minimum libopenshot-audio dependency to 0.3.0. 2022-12-01 16:04:03 -06:00
Jonathan Thomas
49d02bad19 Prevent divide by zero in Fraction 2022-11-28 16:31:20 -06:00
Jonathan Thomas
520446c5e4 Fix whitespace 2022-11-26 22:47:28 -06:00
Jonathan Thomas
d8ff69c6ed Fix a huge regression which invokes the avcodec_open() method twice for every call to FFmpegReader::Open(), leaving many threads running and never joined/closed. Also, adding some additional error message when attempting to call avcodec_open(). 2022-11-26 22:47:04 -06:00
Jonathan Thomas
5a380485da Fixing whitespace 2022-11-23 14:01:43 -06:00
Jonathan Thomas
1bd1fdcb2a Silence audio data if repeating last frame in FFmpegReader (to prevent audio glitch for files with invalid durations) 2022-11-23 13:56:57 -06:00
Jonathan Thomas
70db06947d Prevent seeking past end of stream, which causes a huge # of Seeks once EOF is reached, if we try and request frame #s too large for the file 2022-11-23 12:45:10 -06:00
Jonathan Thomas
2b4bcc1e5f Prevent divide by zero error 2022-11-18 00:55:16 -06:00
Jonathan Thomas
fc7575b60e Implementing a fix for mask contrast proposed by GitHub user xotmatrix 2022-11-18 00:32:48 -06:00
Jonathan Thomas
20e7fba572 Fixing white space 2022-11-18 00:25:05 -06:00
Jonathan Thomas
553dcc64e1 Fixing regression with mask effect caused by contrast being adjusted after we modulate the brightness (sort error) 2022-11-18 00:24:43 -06:00
Jonathan Thomas
fdcf9b9118 Renaming variable in FFmpegReader to make more sense 2022-11-16 15:17:03 -06:00
Jonathan Thomas
58dc99d1f9 Fixing whitespacae 2022-11-15 14:52:13 -06:00
Jonathan Thomas
e9aa87c3f3 Experimental refactor around sending/receiving packets with the decoder in FFmpegReader. 2022-11-15 10:57:33 -06:00
Jonathan Thomas
ab8cae8368 Additional FFmpegReader decoding logging for AV1 2022-11-14 15:48:16 -06:00
Jonathan Thomas
107918b7ad Adding more debugging / logging to hardware acceleration 2022-11-10 16:33:22 -06:00
Jonathan Thomas
b874e91579 Always decode frames in GetAVFrame() method, even if send fails 2022-11-10 14:39:45 -06:00
Jonathan Thomas
7a1e7bd0b6 Always try and receive an AVFrame even if the sending fails (FFmpegReader) - to support some types of multi-threaded video codecs (AV1) 2022-11-10 12:45:14 -06:00
Jonathan Thomas
17eaca652e Add additional decoding logging inside GetAVFrame method - failing on Windows and trying to debug 2022-11-10 11:46:38 -06:00
Jonathan Thomas
854a3aa3f8 Merge pull request #869 from OpenShot/audio-waveformer
AudioWaveformData: Adding protection from divide by zero + more unit tests
2022-11-03 16:18:30 -05:00
Jonathan Thomas
bdb161dc93 AudioWaveformData: Adding protection from divide by zero and readers with no audio, including additional unit tests and a faster zero() function 2022-11-03 11:37:14 -05:00
Jonathan Thomas
d7ab1c61ec Merge pull request #868 from OpenShot/audio-waveformer
New AudioWaveformer Class (for generating fast, graph-friendly audio datasets)
2022-11-02 21:54:45 -05:00
Jonathan Thomas
4265d84ff9 Some performance optimizations. to reduce # of calls to GetAudioSamples() 2022-11-01 16:48:37 -05:00
Jonathan Thomas
c838c126ad Improvements to AudioWaveformer to use RMS (Root Mean Square), and return both average RMS and max RMS for graphing, including some new unit tests. 2022-11-01 15:17:03 -05:00
Jonathan Thomas
ea8ffb5bc1 Add fallback for AVFrame.pkt_dts, which is only used on certain codecs (AV1) 2022-10-31 18:57:51 -05:00