Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 2.6.0 Release Into Master #720

Merged
merged 770 commits into from
Aug 25, 2021
Merged

Merge 2.6.0 Release Into Master #720

merged 770 commits into from
Aug 25, 2021

Conversation

JacksonRG
Copy link
Collaborator

No description provided.

ferdnyc and others added 30 commits January 27, 2021 05:48
When using the ObjectDetection effect, it's now possible to select one detected object and update it's properties through it's transform handler.
Removed the necessity to append the detected object index (related to the frame) to the effect JSON - which makes the JSON smaller and the performance better.
Updated "attached_id" to "parentObjectId", "attachedObject" to "parentTrackedObject", and "attachedClip" to "parentClipObject"
Add class constructors taking STL container types, primarily for Python use
Effect GetFrame(): Use std::make_shared
… resolutions, for cases where the default size is smaller than the Timeline size (or preview size). Now SVG files are rescaled/re-rasterized larger when needed, and otherwise cached.
SVG Scaling Improvements (especially if scaling SVG larger than Timeline)
3 New OpenCV Effects (Tracker, Stabilization, and Object Detection)
Add Exceptions.h include to new effects
Add Protobuf and OpenCV to CI preinstalls
KeyFrame.h: Avoid shadowing SWIG templates
The Python code expects __str__() on a Fraction to return a
"{num}:{den}" representation, which __repr__() no longer does.
Add Exceptions.h back to OpenShot.h
Tweak the Python bindings for KeyFrame, Fraction
The bug made Openshot crash if two or more ObjectDetection effects were added to the any clip on the timeline.
The bug was solved by removing the static int kf_count variable from KalmanTracker. This variable was being incremented even if the ObjectDetection effect was removed from the clip, that caused the wrong Tracked Objects indexes to be added to the trackedObjects map.
Moved the functions IsPointBeforeX(), InterpolateLinearCurve() , InterpolateBezierCurve() and InterpolateBetween() from KeyFrameBase files to KeyFrame files
…g the AutoTransform property correctly handle exif metadata (flipping and orientation of images)
Support for auto-rotation of Image Exif metadata
ferdnyc and others added 27 commits July 3, 2021 18:50
…s that need to be set in newer versions of FFmpeg. This is also compatible with FFmpeg 3+.
Only get rotation from metadata if 0 keyframes
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](codecov/codecov-action@v1...v2.0.2)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Previously 'av_make_error_string' was defined in FFmpegUtilities.h
  for the sole purpose of redefining `av_err2str()` as a call to that
  function. `av_err2str()` was then used in our code, often in string
  contexts where its output was cast to `std::string`.
- Since that was excessively circular, instead the function is named
  `av_err2string()`, and it's used directly in contexts where a
  std::string is expected.
- `av_err2str()` is still #defined as `av_err2string(...).c_str()`
…OpenShot changes the preview window size during editing, the SCALE_NONE clips should always be scaled to the ratio: preview / timeline... so they stay relative sized to the timeline size.

For example, if an SVG is 500px wide, and the project is 1000px wide... the SVG in SCALE_NONE mode should always be 50% with width of the video, regardless of how small you make the preview window.
SCALE_NONE was incorrectly sizing SVG, Image, and Video files.
Newer versions of Catch2 require C++14 to compile, a requirement
that won't be propagated to the object library unless we link it
to the IMPORTED Catch2::Catch2 target.
@codecov
Copy link

codecov bot commented Aug 25, 2021

Codecov Report

Merging #720 (73b009d) into master (d0e884d) will increase coverage by 3.01%.
The diff coverage is 53.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #720      +/-   ##
==========================================
+ Coverage   43.22%   46.24%   +3.01%     
==========================================
  Files         130      182      +52     
  Lines       12932    16725    +3793     
==========================================
+ Hits         5590     7734    +2144     
- Misses       7342     8991    +1649     
Impacted Files Coverage Δ
src/AudioBufferSource.cpp 2.32% <0.00%> (+2.32%) ⬆️
src/AudioDeviceInfo.h 0.00% <ø> (ø)
src/AudioReaderSource.cpp 0.86% <ø> (+0.86%) ⬆️
src/AudioReaderSource.h 0.00% <ø> (ø)
src/AudioResampler.cpp 1.88% <ø> (+1.88%) ⬆️
src/CVObjectDetection.cpp 0.00% <0.00%> (ø)
src/CVObjectDetection.h 0.00% <0.00%> (ø)
src/CacheBase.cpp 70.00% <ø> (+1.25%) ⬆️
src/CacheBase.h 75.00% <ø> (ø)
src/CacheMemory.cpp 90.20% <ø> (+0.13%) ⬆️
... and 315 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0e884d...73b009d. Read the comment docs.

@JacksonRG JacksonRG merged commit 3275251 into master Aug 25, 2021
@JacksonRG JacksonRG deleted the release-20210819 branch August 25, 2021 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants