AutoEditor class
Carries out an EditPlan on a project with the on-device AI features: silence detection, beat tracking, music synthesis and Whisper captions. Nothing leaves the device and no paid service is used.
Constructors
-
AutoEditor(VideoEditorController controller, {EditAgent? agent, Future<
List< transcribe(String path, String language)?})AutoCaptionCue> >
Properties
- agent → EditAgent
-
Understands requests, picks highlights and writes the post.
final
- controller → VideoEditorController
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transcribe
→ Future<
List< Function(String path, String language)?AutoCaptionCue> > -
Speech to timed lines; defaults to on-device Whisper. Tests pass one.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
EditPlan plan, {ValueChanged< String> ? onStatus, String captionLanguage = 'en', bool useSmartAi = true}) → Future<AutoEditReport> -
useSmartAilets the on-device model pick highlights and write the post (when it is downloaded); otherwise the offline rules do it. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited