pro_video_editor 0.0.12 copy "pro_video_editor: ^0.0.12" to clipboard
pro_video_editor: ^0.0.12 copied to clipboard

A Flutter video editor: Seamlessly enhance your videos with user-friendly editing features.

๐Ÿšง Under Development ๐Ÿšง #

pro_video_editor is an upcoming Flutter package designed to provide advanced video editing capabilities. This package will serve as an extension for the pro_image_editor.

Platform Support #

Method Android iOS macOS Windows Linux Web
Metadata โœ… โŒ โœ… โœ… โŒ โœ…
Thumbnails โœ… โŒ โœ… โŒ โŒ โœ…
KeyFrames โœ… โŒ โŒ โŒ โŒ โœ…
Rotate โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Flip โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Crop โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Scale โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Trim โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Playback-Speed โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Remove-Audio โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Overlay Layers โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Multiple ColorMatrix 4x5 โœ… โŒ โŒ โŒ โŒ ๐Ÿšซ
Blur background ๐Ÿงช โŒ โŒ โŒ โŒ ๐Ÿšซ
Censor-Layers "Pixelate" โŒ โŒ โŒ โŒ โŒ ๐Ÿšซ

Legend

  • โœ… Supported with Native-Code
  • ๐Ÿงช Supported but visual output can differs from Flutter
  • โŒ Not supported but planned
  • ๐Ÿšซ Not supported and currently not planned

Metadata #

VideoMetadata result = await VideoUtilsService.instance.getVideoInformation(
    EditorVideo(
        assetPath: 'assets/my-video.mp4',
        /// byteArray: ,
        /// file: ,
        /// networkUrl: ,
        ),
);

Thumbnails #

List<Uint8List> result = await VideoUtilsService.instance.getThumbnails(
    ThumbnailConfigs(
        video: EditorVideo(
            assetPath: 'assets/my-video.mp4',
            /// byteArray: ,
            /// file: ,
            /// networkUrl: ,
        ),
        outputFormat: ThumbnailFormat.jpeg,
        timestamps: const [
            Duration(seconds: 10),
            Duration(seconds: 15),
            Duration(seconds: 22),
        ],
        outputSize: const Size(200, 200),
        boxFit: ThumbnailBoxFit.cover,
    ),
);

Keyframes #

List<Uint8List> result = await VideoUtilsService.instance.getKeyFrames(
    KeyFramesConfigs(
        video: EditorVideo(
            assetPath: 'assets/my-video.mp4',
            /// byteArray: ,
            /// file: ,
            /// networkUrl: ,
        ),
        outputFormat: ThumbnailFormat.jpeg,
        maxOutputFrames: 20,
        outputSize: const Size(200, 200),
        boxFit: ThumbnailBoxFit.cover,
    ),
);

Render #

var video = EditorVideo(
    assetPath: 'assets/my-video.mp4',
    /// byteArray: ,
    /// file: ,
    /// networkUrl: ,
);

/// Every option except videoBytes is optional.
var data = RenderVideoModel(
    videoBytes: await video.safeByteArray(),

    /// A image "Layer" which will overlay the video.
    imageBytes: imageBytes,
    outputFormat: VideoOutputFormat.mp4,
    transform: const ExportTransform(
        flipX: true,
        flipY: true,
        x: 10,
        y: 20,
        width: 300,
        height: 400,
        rotateTurns: 3,
        scaleX: .5,
        scaleY: .5,
    ),
    colorMatrixList: [
         [ 1.0, 0.0, 0.0, 0.0, 50.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0 ],
         [ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0 ],
    ],
    enableAudio: false,
    playbackSpeed: 2,
    startTime: const Duration(seconds: 5),
    endTime: const Duration(seconds: 20),
    blur: 10,
);

Uint8List result = await VideoUtilsService.instance.renderVideo(data);
65
likes
0
points
8.95k
downloads

Publisher

verified publisherwaio.ch

Weekly Downloads

A Flutter video editor: Seamlessly enhance your videos with user-friendly editing features.

Repository (GitHub)
View/report issues

Topics

#video-editor #video #movie #editor

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, http, mime, plugin_platform_interface, web

More

Packages that depend on pro_video_editor

Packages that implement pro_video_editor