57 Commits

Author SHA1 Message Date
FeRD (Frank Dana)
76fb7c8013 Rename AudioSampleBuffer to AudioBuffer<float>
For a long time now, juce::AudioSampleBuffer has been nothing but an
alias for its true (templated) type, AudioBuffer<float>.
2021-08-24 13:11:00 -04:00
FeRD (Frank Dana)
b39ff359ad Exceptions: Add py_message() for Python
- Most exceptions are now based on two new base classes,
  FileExceptionBase and FrameExceptionBase.
- All exception classes now export a `py_message()` method
  (inherited or defined) which constructs a message for Python
  that includes **all** arguments to the exception, not just
  the why() text.
- Python's exception handling is updated to catch
  openshot::ExceptionBase and display py_message() instead of why()
- (I didn't modify why() because it returns char*; py_message()
  returns a std::string.)
2021-07-12 22:47:43 -04:00
Frank Dana
09eb807507 CMake: USE_SWIG_DEPENDENCIES for CMake 3.20+ (#691) 2021-06-25 01:05:59 -04:00
FeRD (Frank Dana)
5df3f8aef0 Add TrackedObjectBBase to Python SWIG 2021-06-04 20:05:32 -04:00
Brenno
2e8ff3b982 Added TrackedObjectBBox to python bindings 2021-05-17 11:38:45 -03:00
FeRD (Frank Dana)
0fe84d36f6 Keyframe: Get rid of vector aliases, Coord ctor 2021-01-29 03:42:56 -05:00
FeRD (Frank Dana)
37bb2f6f9f Fraction: Restore __str__ for Python
The Python code expects __str__() on a Fraction to return a
"{num}:{den}" representation, which __repr__() no longer does.
2021-01-29 03:41:54 -05:00
FeRD (Frank Dana)
00d458210e KeyFrame.h: Avoid shadowing SWIG templates 2021-01-29 01:08:50 -05:00
Jonathan Thomas
47afa205c7 Merge pull request #585 from OpenShot/opencv
3 New OpenCV Effects (Tracker, Stabilization, and Object Detection)
2021-01-28 17:28:15 -06:00
FeRD (Frank Dana)
72e09dc033 Fraction: Implement dict type methods 2021-01-27 05:48:06 -05:00
Frank Dana
dbaac4debd Merge branch 'develop' into frac-python-types 2021-01-27 03:50:45 -05:00
FeRD (Frank Dana)
d1019f204e Merge branch 'fix-swig-flags' into opencv_build_config 2021-01-13 11:16:10 -05:00
FeRD (Frank Dana)
3a0d88adcf Property fixes for bindings 2021-01-13 10:59:13 -05:00
FeRD (Frank Dana)
0cb9286da3 Merge branch 'fix-swig-flags' into opencv_build_config 2021-01-13 09:20:35 -05:00
FeRD (Frank Dana)
b445d6df6c Propagate library defs to swig 2021-01-13 08:31:34 -05:00
FeRD (Frank Dana)
1b82a3c97a Fraction: Restore __string__ for Python
The Python code expects __string__() on a Fraction to return a
"{num}:{den}" representation, which __repr__() no longer does.
2021-01-02 18:33:39 -05:00
FeRD (Frank Dana)
5cfe52b9f7 CMake: Add ENABLE_OPENCV option, use targets 2020-12-24 10:07:08 -05:00
Brenno
5b5763eebb Merge remote-tracking branch 'origin/develop' into opencv 2020-12-17 22:19:10 -03:00
FeRD (Frank Dana)
b280fbd082 Bindings: Add template specializations 2020-12-04 11:28:59 -05:00
FeRD (Frank Dana)
2a9cf280f5 Merge branch 'develop' into frac-python-types 2020-12-04 09:34:55 -05:00
Jonathan Thomas
ac73bd965d Fixing an issue caused by timeline::GetClip returning a ClipBase instead of a Clip (broke waveform generation).
Also adding a swig definition for the Caption effect.
2020-12-03 10:52:27 -06:00
FeRD (Frank Dana)
762f0e716d Fraction: New ctors accept STL container args 2020-11-21 15:17:18 -05:00
FeRD (Frank Dana)
1c8a67333e Fraction: Update Python __repr__ 2020-11-21 15:15:30 -05:00
Brenno
4c6f9ff75b Fixed binding issues for opencv effects 2020-10-27 21:29:52 -03:00
Brenno
1626e1eeba Merge branch 'clip-refactor-keyframes' into opencv 2020-10-19 22:29:48 -03:00