Releases: WyattBlue/auto-editor
21w50a
What's New
Dropping support for DaVinci Resolve
There was no consistency whether DaVinci could find the media when it imported the XML file. Along with the fact that it has absolutely no abilities to find missing clips or recover, unlike other editors, made it painfully hard to use and debug. Because of this, Auto-Editor is dropping official support for the DaVinci Resolve editor.
Renaming an option
--output_dir
's name was confusing so it was renamed to --download_dir
better communicate it's purpose: to point to the directory where the downloaded file is placed.
Changing video bitrate default
--video_bitrate
's default has been increased from 5m
to 10m
Full Changelog: 21w49a...21w50a
21w49a
What's New
Preserving Metadata is here
Auto-Editor can now preserve container metadata and some stream metadata like lang. It will now also copy data and attachment streams to the output file. This change also makes some subtitle types to display correctly now.
More information in the Info Subcommand
Info now displays the video tracks and checks for lang in more places. Info now also differentiates between data found in the container and data found in a stream.
Removing Old Options
The --force_fps_to
and --render
options were removed. Auto-Editor is always able to correctly get the media fps so having this option doesn't make sense. --render
didn't do anything of a long time so it also can safely be removed.
Disable directories as inputs
You can no longer use folders as inputs. Supporting this type of input was the cause of a lot of complexity and can easily be substituted with the more powerful. GLOB patterns. With glob patterns, you can select files that only end in .mp4
or start with a certain word. The best part about glob patterns is you can use them with any program instead of just auto-editor.
# Not Supported
auto-editor my_videos
# Do this instead
auto-editor my_videos/*
# Or
auto-editor my_video/*.mp4
Dev Stuff
- Windows should now get better error messages if an unknown codec is used.
- Auto-Editor should be able to render videos even if the video is not in the first stream. This configuration is very rare, so only a tiny sliver of people will see any difference.
- Pip is disallowed from installing this version of Auto-Editor if Python is 3.12 or greater. This is specified in setup.py
Full Changelog: 21w48a...21w49a
21w48a
What's New
Video Codec changes
Auto-Editor will now try to make the video output codec the same as the input video codec whenever it can. This behavior is activated when --video_codec
is auto
. If you would like to use the old behavior, set --video_codec
to uncompressed
.
Option Group Changes
- A group no longer has to specified to use a short.
Quality
- Changed default video bitrate from
unset
to5m
Preview improved
The output from --preview
has been condensed and new facts have been added like the percentage taken out.
OLD:
Old length: 42.4 secs (0:00:42)
New length: 17.6 secs (0:00:18)
Number of clips: 4
Smallest clip length: 0.9 secs (26/30 frames)
Largest clip length: 12.1 secs (0:00:12)
Average clip length: 4.4 secs (0:00:04)
Number of cuts: 4
Smallest cut length: 0.3 secs (8/30 frames)
Largest cut length: 22.3 secs (0:00:22)
Average cut length: 6.2 secs (0:00:06)
NEW:
length:
- change: (0:00:42) 100% -> (0:00:18) 41.48%
- diff: (-0:00:25) -58.52%
clips: 4
- smallest: 0.9 secs (0:00:01)
- largest: 12.1 secs (0:00:12)
- average: 4.4 secs (0:00:04)
cuts: 4
- smallest: 0.3 secs (0:00:00)
- largest: 22.3 secs (0:00:22)
- average: 6.2 secs (0:00:06)
Dev Stuff
- MacOS's FFmpeg has been upgraded from 4.3 to 4.4.1.
Full Changelog: 7433c55...21w48a
21w46b
What's New
Using the ProRes codec now works
Using the prores codec now works. Example:
auto-editor example.mp4 --video-codec prores -o out.mov
Note that we're exporting to a .mov
container. (.mp4
's don't support ProRes)
Also, the export options are always being applied when muxing instead of on the transitory video.
yt-dlp instead of youtube-dl
The youtube-dl python dependency has been replaced with yt-dlp because of a bug with youtube-dl that caused downloads to be painfully slow. This doesn't cause any other changes and users can upgrade without any manual intervention.
@ Notation
@ (at) notation is added. Conveniently set the quality of url video using https://url @[height]
Example:
auto-editor "youtube.com/watch?v=abcdefg @720"
Where 720 is the max height for the video. Much more easy to remember than the equivalent youtube-dl syntax.
The --format
option is removed because it is very inconvenient to type out and it's hard to combine with @ notation. It's also so verbose that you might as well use an external yt-dlp/youtube-dl instead!
Dev Stuff
- Change lower bound of Python to 3.7 or greater.
- Throw error if user requests a video/audio codec that is impossible to use with the new container.
- Use perf_counter instead of time.time to measure program length
- Tests now keep track of time
- audiotsm2 is now contained in auto-editor and is unit tested.
- pedantic: use:
-movflags faststart
instead of-movflags +faststart
Full Changelog: 21w46a...21w46b
21w46a
What's New
Improvements when exporting as an audio file
When exporting to an audio file. Export options like --audio_bitrate
and --audio_codec
always get applied, no matter the circumstances.
More containers supported
Auto-editor can now export to the .apng
, .h265
, .hevc
, .swf
, .wmv
, and .avi
containers, and choose sensible options.
Improves to Info
The info subcommand can now analyze subtitles without having them be contained in a video container.
Full Changelog: 21w45a...21w46a
21w45a
What's New
Smarter Exporting
Auto-Editor now knows what containers can support. This means if you exporting to a gif:
auto-editor example.mp4 -o out.gif
Auto-Editor knows not to make an audio track.
Bug Fix
Fixed audio bitrate not being applied.
Levels Subcommand
Instead of outputting to a file, levels
will now output directly to stdout.
New option --kind
to set what mode of analyze to look for. (audio
, motion
)
Full Changelog: 21w42a...21w45a
21w42a
What's New
Effects
Speed increases
Effects are now done with PyAv instead of opencv-python
New effect --circle
added.
It has the same parameters as the --rectangle
effect.
The --render
option and the opencv rendering method are now removed
Because maintaining many different ways of rendering effects is too labor intense, there will only be one rendering method going forward. Therefore, the render option will no longer do anything. To preserve backwards compatibility, the option is usable, but will not do anything.
Dev Stuff
- How effects are handled is now rewritten so that is more memory efficient
- Extraneous backslashes are now removed
- The progress bar class object is now reusable
- New dependency, Pillow, is now used to render effects instead of opencv
Bugs
{end_zoom}
is effectively always{start_zoom}
, even if changed by the user.- When the start parameter only is a boolean expression, the end parameter is effectively zero regardless of the actual value. This will be fixed in a later version, where the end parameter will "extend" the space wherever a start happens.
- The pypi Linux and Windows build both contain FFmpeg binaries that are not supposed to be there. (fixed in 21w45a)
- PyAV, one of Auto-Editor's dependencies still doesn't support Python 3.10
Full Changelog: 21w40a...21w42a
21w40a
What's New
Temp Dir Option Becomes Safer
If the --temp_dir
option is set, it will halt if there's a file in the directory you point the option at. This is important because temp dir is deleted after auto-editor is done. The help message has also been altered so that it's more clear that the temp dir itself is temporary.
New Command: desc
auto-editor desc
prints out a video's metadata description. This mainly used to on videos downloaded with youtube-dl with metadata added. Like all other subcommands (besides test
), it can be called with the ae prefix: aedesc
Python 2 is Gone
Python 2 support has been dropped. Please upgrade to 3.5 or greater. Ideally 3.9 or 3.10
Full Changelog: 21w39a...21w40a
21w39a
What's New
Reroute editing on a different drive
The --temp_dir
option can be used to put temporary on a different directory or different drive.
auto-editor myLongSummerTrip2021.mp4 --temp_dir "D://tmp"
This can solve the problem of that you have a big video in your external storage device but too little room on your main hard drive.
Subcommands can now be run as their own separate programs
Instead of writing:
auto-editor info example.mp4
auto-editor grep "pattern" file.mp4
auto-editor create black --width 1000 --height 1000 --duration 5 -o out.mp4
you can use:
aeinfo example.mp4
aegrep "pattern" file.mp4
aecreate black --width 1000 --height 1000 --duration 5 -o out.mp4
Full Changelog: 21w35a...21w39a
21w35a
What's New
Allow POSIX style options, ex --frame-margin
, --export-to-premiere
New subcommand: subdump
. Dump subtitles to the console.
Full Changelog: 21w34a...21w35a