diff --git a/auto_editor/__init__.py b/auto_editor/__init__.py index 934753539..e5d7ca622 100644 --- a/auto_editor/__init__.py +++ b/auto_editor/__init__.py @@ -1 +1 @@ -__version__ = "25.1.0rc1" +__version__ = "25.1.0" diff --git a/auto_editor/formats/fcp11.py b/auto_editor/formats/fcp11.py index 64293fdd3..88e2874f8 100644 --- a/auto_editor/formats/fcp11.py +++ b/auto_editor/formats/fcp11.py @@ -133,7 +133,7 @@ def fraction(val: int) -> str: else: clips = [] - def make_clip(ref: str, clip: TlVideo | TlAudio, speed_warn: bool) -> bool: + def make_clip(ref: str, clip: TlVideo | TlAudio) -> None: clip_properties = { "name": proj_name, "ref": ref, @@ -147,7 +147,6 @@ def make_clip(ref: str, clip: TlVideo | TlAudio, speed_warn: bool) -> bool: # See the "Time Maps" section. # https://developer.apple.com/documentation/professional_video_applications/fcpxml_reference/story_elements/timemap/ - speed_warn = True timemap = SubElement(asset, "timeMap") SubElement(timemap, "timept", time="0s", value="0s", interp="smooth2") SubElement( @@ -157,19 +156,11 @@ def make_clip(ref: str, clip: TlVideo | TlAudio, speed_warn: bool) -> bool: value=fraction(src_dur), interp="smooth2", ) - return speed_warn - warn = False for my_ref in all_refs: for clip in clips: - warn = make_clip(my_ref, clip, warn) or warn + make_clip(my_ref, clip) - if resolve and warn: - log.warning( - "DaVinci Resolve may take a very long time when importing timelines with " - "speed effects. Consider switching to Premiere Pro, " - "Final Cut Pro, or ShotCut (free)" - ) tree = ElementTree(fcpxml) indent(tree, space="\t", level=0) tree.write(output, xml_declaration=True, encoding="utf-8") diff --git a/changelogs/2024.md b/changelogs/2024.md index 349623436..48de96f7a 100644 --- a/changelogs/2024.md +++ b/changelogs/2024.md @@ -1,3 +1,17 @@ +# 25.1.0 + +## Features + - Add the DaVinci Resolve FCP7 backend. It's not the default since their are known issues, but it is available if you're having other issues with the FCP11 backend. + - Add `--config` flag option. When set, it will look for `./config.pal`. If found, it allows extending auto-editor by adding new editing methods by defining new procedures. + +## Fixes + - Fix "divide by zero error" when editing subtitle streams when a speed is exactly 0. + - Removed the "speed" warning for the DaVinci Resolve FCP11 backend because it appears to not be true anymore for DaVinci Resolve 19 (maybe 18?) and newer. + - Allow including/excluding the Palet standard environment for applications like pyinstaller. + +**Full Changelog**: https://github.com/WyattBlue/auto-editor/compare/25.0.1...25.1.0 + + # 25.0.1 ## Fixes