pro_video_editor library
Classes
- EditorVideo
- A model that encapsulates various ways to load and represent a video.
- ExportTransform
- Represents a set of transformations to apply during video export.
- KeyFramesConfigs
- Configuration model for extracting key frames from a video.
- ProgressModel
- Model representing a progress update.
- ProVideoEditor
- An abstract class that defines the platform interface for the Pro Video Editor plugin.
- RenderVideoModel
- A model describing settings for rendering or exporting a video.
- ThumbnailConfigs
- Configuration model for generating video thumbnails.
- VideoMetadata
- A class that holds metadata information about a video.
Enums
- EditorVideoType
- Enum representing the type of source the video was loaded from.
- ThumbnailBoxFit
- Defines how the video content should be fit within the thumbnail bounds.
- ThumbnailFormat
- Supported image formats for video thumbnails.
- VideoOutputFormat
- Supported video output formats for export.
Functions
-
fetchVideoAsUint8List(
String videoUrl) → Future< Uint8List> - Fetches an video from a network URL as a Uint8List.
-
fetchVideoToFile(
String videoUrl, String filePath) → Future< File> - Fetches a video from a given URL and saves it to a specified file path.
-
loadAssetVideoAsUint8List(
String assetPath) → Future< Uint8List> - Loads an video asset as a Uint8List.
-
readFileAsUint8List(
File file) → Future< Uint8List> - Reads a file as a Uint8List.
-
writeAssetVideoToFile(
String assetPath, String filePath) → Future< File> - Writes a video asset to a file on the local file system.
-
writeMemoryVideoToFile(
Uint8List bytes, String filePath) → Future< File> - Writes a video file from memory to the specified file path.