Commit Graph

  • 08d7f3354b Add compatibility with FFMPEG 7.0 Robert-André Mauchin 2024-05-08 12:16:41 +02:00
  • a9e34a9bce Merge pull request #950 from OpenShot/invalid-tracker-region Jonathan Thomas 2024-03-26 13:49:53 -05:00
  • 5a0a6a69a8 Add new "Display All Boxes" Object Detector property, since it can be difficult to turn off each individual box. Made "visible" property read-only on Tracker & Object Detector effects. Improve Keyframe::SetJsonValue method to accept an object or a float. Jonathan Thomas 2024-03-05 10:41:06 -06:00
  • ffb63f55fa Fixing aspect ratio of tracked objects, since the tracked object often is of varying aspect ratios (since the parent clip and tracked object can change over time). Clips which are parented to tracked objects now respect the scale_type (i.e. best fit, stretch, etc...). Jonathan Thomas 2024-03-03 16:49:26 -06:00
  • 8b47373c1e Fix race condition causing clip to clip parents not to work. Adding a late-bound check, to ensure we have attached the clip on first call. Jonathan Thomas 2024-03-01 21:40:55 -06:00
  • 620e894409 Fixing parentClipObject and parentTrackedObject transform, so the parent clip can be scaled and moved without breaking the tracking. Also refactoring out unneeded complex code left over. Jonathan Thomas 2024-03-01 16:47:52 -06:00
  • 3351b52e77 Clear previous parent selection, when switching between Clip and Tracked object Jonathan Thomas 2024-02-28 15:29:35 -06:00
  • 698e6f474d Fix bug with 'Display Box Text' logic being flipped (yes was no, no was yes) Jonathan Thomas 2024-02-27 23:21:59 -06:00
  • 07e4458c03 Removing "ChildClipId" property, no longer used for attaching clips to tracker or object detection effects: Use clip->Parent to attach clips to tracked objects now. Jonathan Thomas 2024-02-26 16:45:30 -06:00
  • f15c91db90 Change Object Detector to display the class name: object id, instead of the confidence score. This is way more useful, so you can find the object in the properties menu. Also, output the visible class names as well, so the property editor can display them in a context menu. Jonathan Thomas 2024-02-26 16:06:36 -06:00
  • 8f3c324b0b Set range of background corner radius to 150.0 (which is essentially a circle in my testing). Also, ignoring case of class_filter on Object Detection effect. Jonathan Thomas 2024-02-26 10:47:38 -06:00
  • 15be792564 Refactor of clip caching, to prevent caching flattened images with previous layers, replace std::shared_ptr<openshot::Frame> with QSize for a few arguments to make it much more clear what is happening. Jonathan Thomas 2024-02-25 23:38:57 -06:00
  • a1f67a9716 Fix class_filter to allow for clearing, and trimming extra spaces Jonathan Thomas 2024-02-25 23:37:19 -06:00
  • 04ec0232cb Make x1,x2,y1,y2 properties read only in properties window Jonathan Thomas 2024-02-24 16:38:07 -06:00
  • 4594cf85b6 Fix Tracker/ObjectDetector unit tests, due to new default values Jonathan Thomas 2024-02-22 21:17:24 -06:00
  • 98383fdddd Refactor of ObjectDetection effect: - Draw bounding boxes using QPainter and support corner radius (and faster drawing performance by drawing directly on the frame) - Draw child clips with correct aspect ratio - Adding "Yes/No" option for "Draw Text" - default to fully opaque stroke Jonathan Thomas 2024-02-22 20:47:21 -06:00
  • 3af6e1f672 Refactor of Tracker effect and TrackedObjectBBox: - Draw Tracker boxes using QPainter and support corner radius (and faster drawing performance by drawing directly on the frame) - Draw child clips with correct aspect ratio - Adding "Yes/No" options for "Visible" and "Draw Box" Tracked Object Box keyframes - default to invisible background - default to 12 corner radius - default to 50% stroke alpha Jonathan Thomas 2024-02-22 16:22:48 -06:00
  • 284904d41b Merge pull request #949 from OpenShot/copy-ttf-fonts-appimage Jonathan Thomas 2024-02-18 11:06:22 -06:00
  • 4e517a6d96 Updating RESVG windows build instructions, and removing unit tests from 32-bit windows Jonathan Thomas 2024-02-17 15:58:40 -06:00
  • d98b5f2f0e Merge pull request #938 from OpenShot/audio-pop-refactor Jonathan Thomas 2024-02-10 21:40:21 -06:00
  • 41171772ed Reverting experimental c++17 mode (mac build failures with Catch code). Disabling GitHub windows builders for now - since they are using bleeding edge opencv and protobuf, which is incompatible with my old Cmake and old Opencv installs. Jonathan Thomas 2024-02-10 21:26:10 -06:00
  • c7620c9d2d Experimental change to use C++17, since our MSYS windows packages have upgraded OpenCV and Protobuf, and this has introduced a crash. Jonathan Thomas 2024-02-10 20:39:15 -06:00
  • d87e9e49c8 Un-reverting previous commit, removing queuing from FFmpegWriter for simplicity. Increasing margin on webm unit tests, when checking pixel color. Jonathan Thomas 2024-02-10 20:28:47 -06:00
  • 038dd175ec Reverting changes to FFmpegWriter to test unit tests on GitHub builder Jonathan Thomas 2024-02-10 20:02:13 -06:00
  • 511e1ff2d4 Adding new cppzmq windows github build dependency, required for zmq.hpp Jonathan Thomas 2024-02-10 17:43:29 -06:00
  • 43addf1445 retrigger checks Jonathan Thomas 2024-02-10 17:09:59 -06:00
  • 9a66704ec3 Fixing a few regressions, writing audio trailer, crashes due to writing audio trailer, etc... Jonathan Thomas 2023-10-08 19:56:02 -05:00
  • 2034f45d27 Merge pull request #942 from OpenShot/fix-null-nodes-json Jonathan Thomas 2023-10-07 16:18:13 -05:00
  • 4af80925b2 Ignore NULL nodes in JSON arrays (clips, effects). This can happen sometimes (for an unknown reason), and it currently crashes OpenShot when attempting to Export a video. Jonathan Thomas 2023-10-07 15:19:36 -05:00
  • 080ee736bb Bump fsfe/reuse-action from 1.2.0 to 2.0.0 dependabot[bot] 2023-07-24 11:05:30 +00:00
  • 48f11e92f0 Remove queuing and spooling support from FFmpegWriter to reduce complexity. Most codecs handle the multi-tasking themselves, making this code mostly useless. Jonathan Thomas 2023-07-18 18:21:57 -05:00
  • e17c2a3f14 Fixes test file collisions with high concurrency builds Fix by Ninpo <ninpo@qap.la> Ninpo 2023-07-10 00:01:52 +01:00
  • 9aa3713651 Large refactor of FFmpegReader ProcessAudioPacket to allow FFmpeg to convert sample values into floats (AV_SAMPLE_FMT_FLTP), each channel in it's own data buffer, which makes it easy to pass to Frame::AddAudio. Jonathan Thomas 2023-06-27 18:12:59 -05:00
  • 95eccafc85 Merge pull request #932 from OpenShot/effect-sequencing Jonathan Thomas 2023-06-11 10:31:39 -05:00
  • d5a7998aec Removing duplicate JSON property for Mask effect, causing double Yes,No properties Jonathan Thomas 2023-06-05 17:03:23 -05:00
  • 1a22dd1fee Bump codecov/codecov-action from 3.1.1 to 3.1.4 dependabot[bot] 2023-06-05 11:56:39 +00:00
  • b1104d89ee Merge pull request #926 from jeffski/qt-readers-sample-count Jonathan Thomas 2023-06-02 16:21:09 -05:00
  • a6bcd42557 Merge pull request #901 from ashotjanibekyan/doc-pyopengl Jonathan Thomas 2023-06-02 15:55:23 -05:00
  • 887b993333 Merge pull request #929 from kxxt/fix/test/CVStabilizer/Stabilize_Video Jonathan Thomas 2023-06-02 15:53:28 -05:00
  • 919f2aae83 Merge pull request #930 from kxxt/fix/Frame/GetSamplesPerFrame Jonathan Thomas 2023-06-02 15:21:53 -05:00
  • a204512593 Merge pull request #896 from bkmgit/patch-1 Jonathan Thomas 2023-06-02 15:20:18 -05:00
  • 6314b3f529 Merge pull request #865 from OpenShot/dependabot/github_actions/eps1lon/actions-label-merge-conflict-2.1.0 Jonathan Thomas 2023-06-02 15:17:59 -05:00
  • 3da05da4c0 Merge pull request #850 from OpenShot/dependabot/github_actions/codecov/codecov-action-3.1.1 Jonathan Thomas 2023-06-02 15:17:38 -05:00
  • 56b92a9b0c Merge pull request #839 from OpenShot/dependabot/github_actions/fsfe/reuse-action-1.2.0 Jonathan Thomas 2023-06-02 15:17:10 -05:00
  • bc73ede578 Fix Frame::GetSamplesPerFrame when channels = 0 kxxt 2023-05-30 11:45:07 +08:00
  • e6f6b64a0f Fix Stabilize_Video test for platforms that doesn't use fast color space conversion kxxt 2023-05-28 12:28:33 +08:00
  • f831cc2685 Move "parent_effect_id" to EffectBase JSON method, and add auto-resize capability to Crop effect. Jonathan Thomas 2023-05-25 16:10:57 -05:00
  • 339a2b2293 Applying BasePropertiesJSON to all effects in libopenshot, to reduce code duplication Jonathan Thomas 2023-05-25 15:22:01 -05:00
  • c5bf0cb9b0 Refactor base JSON properties into EffectBase - to reduce duplication in code Jonathan Thomas 2023-05-24 17:27:03 -05:00
  • 26c18fd76c Refactor of effect handling, to allow effects to be applied BEFORE or AFTER a clip's keyframes are applied. For example, this allows for a mask to apply after an animation/movement is applied to the clip image, like an animated scrolling credits to be masked/faded in a static location. Jonathan Thomas 2023-05-24 17:12:15 -05:00
  • e91bd82727 Merge pull request #928 from OpenShot/audio-resample-pop-05-22-2023 Jonathan Thomas 2023-05-22 16:47:43 -05:00
  • 7d70bd5da5 When EXTRA_INPUT_SAMPLES is less than 64, we get a pop/crackle when downsampling from 48000 to 44100 sample rate. Jonathan Thomas 2023-05-22 16:14:44 -05:00
  • 431d335aa9 Merge pull request #927 from OpenShot/caption-regex-for-numbers Jonathan Thomas 2023-05-19 01:21:55 -05:00
  • a3ead041e0 Fixing caption regex to support numeric-only captions Jonathan Thomas 2023-05-18 17:39:42 -05:00
  • 3b0f1d29b5 Add GetSamplesPerFrame to QtTextReader and QtHtmlReader Jeff Shillitto 2023-05-07 16:35:26 +10:00
  • 42c84e7a97 Merge pull request #924 from OpenShot/revert-878-new-linux-appimage Jonathan Thomas 2023-05-01 15:56:11 -05:00
  • a4d9e64ee9 Update Fraction.cpp Jonathan Thomas 2023-05-01 15:41:44 -05:00
  • 3adb3b703b Update .gitlab-ci.yml Jonathan Thomas 2023-05-01 15:40:49 -05:00
  • 64f9bb8524 Revert "Support for New Linux Build Server + glibc Wrapping" Jonathan Thomas 2023-05-01 15:39:49 -05:00
  • 8ab0cb4c7e Merge pull request #923 from OpenShot/release-20230417 Jonathan Thomas 2023-04-21 13:59:20 -05:00
  • 7100dc7a94 Adding lock around SetCache method, which causes some crashes. Detected in Sentry: OPENSHOT-1Q v0.3.2 Jonathan Thomas 2023-04-19 17:01:02 -05:00
  • f544d84f48 Fixing memory leak on Clips, where we were not clearing cache on Close, or forcing Close on destruction. Especially noticeable on projects with a ton of clips. Tweaking unit tests to prevent crash due to new Clip destructor behavior when using stack variables. Jonathan Thomas 2023-04-19 16:08:36 -05:00
  • 639e8460e9 Add additional logging to audio device init Jonathan Thomas 2023-04-17 16:54:34 -05:00
  • e422cf4ddc Add logging into Audio thread initialization - to add more clarity into which audio device is tested and found Jonathan Thomas 2023-04-17 16:40:54 -05:00
  • 0cd485a5b5 Bumping version to 0.3.2, SO 25 (min libopenshot-audio set to range 0.3.0...0.3.2) Jonathan Thomas 2023-04-17 09:30:57 -05:00
  • 96650934fb Merge pull request #915 from OpenShot/sentry-invalid-property-data Jonathan Thomas 2023-04-16 16:12:16 -05:00
  • 5174608ea5 Merge pull request #921 from OpenShot/audio-background-transparent Jonathan Thomas 2023-04-16 11:46:01 -05:00
  • 89714b67b3 Small refactor to ensure that audio files have no image data - and allow videos below them to show through... Jonathan Thomas 2023-04-16 01:50:11 -05:00
  • b21a686b18 Merge pull request #917 from OpenShot/webm-packet-retry Jonathan Thomas 2023-04-14 18:54:23 -05:00
  • fe281509a4 Fix webm packet reading, to correctly retry packets. Sometimes we must send more packets before receiving decoded data, and sometimes we need to receive more decoded data before sending more packets. We had a logic error in this code. Jonathan Thomas 2023-04-14 18:46:49 -05:00
  • e72168fe93 Merge pull request #916 from OpenShot/normalize-zero-samples Jonathan Thomas 2023-04-14 18:00:24 -05:00
  • a961d98ab3 Do not divide by zero when normalizing audio waveforms full of 0.0 values Jonathan Thomas 2023-04-14 17:35:06 -05:00
  • 2715d1c37e Clean-up of whitespace Jonathan Thomas 2023-04-14 14:35:46 -05:00
  • 5fdb3acfaf - Removed possible black background from Tracker and Object Detector effects when using a child clip - Small refactor to Tracker and Object Detector drawImage code when drawing a Child Clip ID - Some light code clean-up Jonathan Thomas 2023-04-14 14:32:48 -05:00
  • 38ab27e22e Allow clearing of the child_clip_id property Jonathan Thomas 2023-04-13 17:11:11 -05:00
  • 5869eb83e9 Removing magick++ library, as it conflicts with catch2 library Jonathan Thomas 2023-04-13 16:44:34 -05:00
  • d15b0d8a6f Experimental catch2 install for github Linux builders Jonathan Thomas 2023-04-13 16:12:06 -05:00
  • d5db77f011 Experimental catch2 install for github Linux builders Jonathan Thomas 2023-04-13 16:05:13 -05:00
  • 32556d5167 Protect calls to ParentClipProperties Jonathan Thomas 2023-04-13 16:04:50 -05:00
  • b6c07d3bee Attempting to upgrade to the latest catch2 package Jonathan Thomas 2023-04-13 15:40:32 -05:00
  • 6bb46c1a15 Updating old github action target to use new Ubuntu builder Jonathan Thomas 2023-04-13 15:11:53 -05:00
  • def438dd0a Protect child_clip_id from accessing NULL parentClip property Jonathan Thomas 2023-04-13 15:03:25 -05:00
  • c472a2488d Merge pull request #910 from OpenShot/release-20230321 Jonathan Thomas 2023-04-07 16:04:26 -05:00
  • 1832899526 Removing debug code v0.3.1 Jonathan Thomas 2023-03-27 13:48:43 -05:00
  • b37ec87d3e Updating windows x86 unit test values to align with Windows x86 Jonathan Thomas 2023-03-27 12:52:21 -05:00
  • 01c3c62c99 Adding additional debugging code for an x86 Windows issue with font rendering Jonathan Thomas 2023-03-27 11:16:10 -05:00
  • 44d318949a Small windows unit test regression Jonathan Thomas 2023-03-27 01:27:39 -05:00
  • 2b07f93e51 Fixing unit tests with correct Linux and Windows pixel coordinates - since default font sizes have been adjusted. Jonathan Thomas 2023-03-27 01:07:45 -05:00
  • c34fa59b8f Switching Caption effect from font "Points" to "Pixels", so fonts are scaled correctly in High DPI environments. Jonathan Thomas 2023-03-27 00:24:09 -05:00
  • 9daf04f14e Take 2: Adjust caption scaling logic, to keep different resolution projects from having dramatically different font sizes. More debug code for Windows. Jonathan Thomas 2023-03-26 23:22:12 -05:00
  • 7095e4f8aa Adjust caption scaling logic, to keep different resolution projects from having dramatically different font sizes Jonathan Thomas 2023-03-26 17:36:26 -05:00
  • c250151c33 Adjust Caption margins and fix unit tests, which have changed the text position. Adding Debug output to unit test for Windows troubleshooting. Jonathan Thomas 2023-03-25 18:10:33 -05:00
  • 301279aca4 Fix Caption font size to no longer scale with preview window scale - and instead scale it with the screen devicePixelRatio (to support High DPI screens). Also change the default font size to a little smaller, and wider margins Jonathan Thomas 2023-03-24 22:57:14 -05:00
  • 337900ed4f Changing min libopenshot-audio version to range: 0.3.0 to 0.3.1, since both versions work fine. Jonathan Thomas 2023-03-21 18:28:21 -05:00
  • 6906c258a1 Bumping version to 0.3.1 (SO 24). Also bumping min libopenshot-audio version to 0.3.1. Jonathan Thomas 2023-03-21 18:02:40 -05:00
  • f0b44c5124 Merge pull request #909 from OpenShot/memory-leak-mar-20-2023 Jonathan Thomas 2023-03-20 17:31:29 -05:00
  • 59e0862eec Fix regression from time re-mapping changes, which added an infinite Clip cache on accident - causing a large memory leak. Also fixing a small logic regression in FrameMapper, designed to skip audio sample re-distribution, if all settings are the same as the source file. Jonathan Thomas 2023-03-20 16:23:10 -05:00
  • 78a194c368 Fixing long running memory leak related to AVFRAME init in FFmpegReader.cpp Jonathan Thomas 2023-03-20 16:06:45 -05:00
  • ec0c0b1c2d Merge pull request #905 from OpenShot/improved-timemapping-feb-27-2023 Jonathan Thomas 2023-03-18 17:01:55 -05:00
  • 823832845d Removing unneeded ReverseAudio() call, and adding some initial silience to the time-mapping resampler, to prevent some strange waveform issues at the beginning of a time-mapped clip Jonathan Thomas 2023-03-17 16:50:51 -05:00