Commit Graph

1899 Commits

Author SHA1 Message Date
Jonathan Thomas
08e863d757 Fix thread syntax for JUCE 7.0.8 2024-12-08 14:01:57 -06:00
Jonathan Thomas
2a958bc802 Adding audio device type to debug 2024-12-07 12:16:17 -06:00
Jonathan Thomas
b2a96cca77 Adding debug for audio device initialization for debugging on Windows 11 2024-12-07 11:29:15 -06:00
Jonathan Thomas
6998177d6a Adding new Save() method to Profile class, and fix a bug with "description" getting dropped in Json() method. Added new unit tests for JSON and Save methods. 2024-10-09 16:18:35 -05:00
Jonathan Thomas
bc6174fc9a Ensure SetJson() method recalculates project duration (min/max times) 2024-10-01 14:54:24 -05:00
Jonathan Thomas
959947a3f8 Adding GetMinTime/GetMinFrame functions to timeline, to find the "start" position of a timeline, if it's not 0.0. 2024-09-30 16:23:30 -05:00
Jonathan Thomas
118810f160 Do not add +1 to GetMaxFrame() calculation. This is incorrect math for calculating the max frame of a timeline, and not correct. For example, 1 second long timeline at 30 FPS, should have exactly 30 frames (not 31). 2024-09-24 12:40:37 -05:00
Jonathan Thomas
5be0f4a32b Removing an unneeded avcodec encoder flush, which was breaking many encoders on newer versions of FFMPEG. This would result in failed hardware acceleration and videos with no video frames. 2024-09-06 17:41:49 -05:00
Jonathan Thomas
b89bc5f006 Adding in support for WAV channel layouts, that newer versions of FFMPEG no longer attempt to guess. Support for MONO and STEREO layouts added back in. 2024-09-06 17:40:52 -05:00
Jonathan Thomas
3170768e0c Bump version to 0.3.3, SO Version 26 2024-06-19 20:25:10 -05:00
Jonathan Thomas
c8899963fd Add experimental support for Java bindings for libopenshot. This generates the *.class and *.java files, and a JNI library (libopenshot-java.so) to invoke the actual C++ openshot library, and a openshotJNI.jar which contains all of these files. 2024-06-08 14:56:30 -05:00
Jonathan Thomas
5305e77586 Update FFmpegWriter.cpp
attempt #3 on GitHub editor, build error fix
2024-05-10 18:07:48 -05:00
Jonathan Thomas
a188a4d378 Update FFmpegWriter.cpp
2nd Attempt to fix this in the GitHub file editor, lol
2024-05-10 17:51:16 -05:00
Jonathan Thomas
eed38ba706 Update FFmpegWriter.cpp
Moving variable init and fixing build error
2024-05-10 17:43:08 -05:00
Robert-André Mauchin
08d7f3354b Add compatibility with FFMPEG 7.0
channel_layout has been replaced with ch_layout

Fix #953
2024-05-09 12:56:48 +02:00
Jonathan Thomas
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. 2024-03-05 10:41:06 -06:00
Jonathan Thomas
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...). 2024-03-03 16:49:26 -06:00
Jonathan Thomas
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. 2024-03-01 21:40:55 -06:00
Jonathan Thomas
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. 2024-03-01 16:47:52 -06:00
Jonathan Thomas
3351b52e77 Clear previous parent selection, when switching between Clip and Tracked object 2024-02-28 15:29:35 -06:00
Jonathan Thomas
698e6f474d Fix bug with 'Display Box Text' logic being flipped (yes was no, no was yes) 2024-02-27 23:21:59 -06:00
Jonathan Thomas
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. 2024-02-26 16:45:30 -06:00
Jonathan Thomas
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. 2024-02-26 16:06:36 -06:00
Jonathan Thomas
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. 2024-02-26 10:47:38 -06:00
Jonathan Thomas
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. 2024-02-25 23:38:57 -06:00