pro_video_editor 1.6.0
pro_video_editor: ^1.6.0 copied to clipboard
A Flutter video editor: Seamlessly enhance your videos with user-friendly editing features.
1.6.0 #
- FIX(iOS, macOS): Fixed portrait mode videos being rotated incorrectly after export. The video rotation was being applied twice (once via layer instruction transform and again via orientation correction), causing portrait videos to appear with incorrect pixel orientation despite correct dimensions.
- DEPRECATED(metadata):
originalResolutionis now deprecated. UserawResolutioninstead. - FIX(android): Video metadata now returns display dimensions (after rotation correction), consistent with iOS/macOS. Previously, Android returned raw dimensions while iOS/macOS returned display dimensions.
- FEAT(metadata): Add
rawResolutiongetter to retrieve the raw video dimensions before rotation is applied.
1.5.2 #
- FIX(iOS, macOS): Fixed color filters (
colorMatrixList), blur, and flip effects being incorrectly applied to overlay images whenimageBytesWithCroppingis enabled. These effects are now applied only to the video before compositing the overlay.
1.5.1 #
- FIX(android): Fixed semi-transparent overlay layers appearing darker than expected during video rendering. The issue was caused by double alpha premultiplication — Android's BitmapFactory produces premultiplied pixels while Media3's overlay shader applies alpha again. Pixel data is now converted to straight alpha before uploading to the GPU.
1.5.0 #
- FEAT(android, iOS, macOS): Add
imageBytesWithCroppingoption toVideoRenderData. When enabled, the image overlay is applied before cropping and gets cropped together with the video instead of being scaled to the final cropped size.
1.4.2 #
- FIX(android): Fixed black edges appearing around transparent overlay layers during video rendering by using proper ARGB_8888 bitmap configuration and correct alpha blending.
1.4.1 #
- FIX(iOS, macOS): Fix Swift compiler type-check error by breaking up complex bit-shift expression into sub-expressions.
1.4.0 #
- FEAT(android, iOS, macOS): Add
shouldOptimizeForNetworkUserender option to enable progressive streaming by placing moov atom at file start (fast start). Enabled by default. - FEAT(android, iOS, macOS): Add
isOptimizedForStreamingmetadata property to detect if a video has moov before mdat for streaming compatibility. - FEAT(android, iOS, macOS): Add optional
checkStreamingOptimizationparameter togetMetadata()for on-demand MP4 atom analysis.
1.3.0 #
- FEAT(android, iOS, macOS): Add waveform generation with
getWaveformmethod to extract audio peak data for visualization. - FEAT(android, iOS, macOS): Add streaming waveform generation with
getWaveformStreamfor progressive real-time waveform display. - FEAT(widgets): Add
AudioWaveformwidget for static waveform visualization with playback position indicator and seek support. - FEAT(widgets): Add
AudioWaveform.streamingconstructor for animated progressive waveform rendering during generation. - FEAT(android, iOS, macOS): Add WAV format support for audio extraction.
1.2.3 #
- PERF(android): Improves render performance on Android when mixing with a custom audio track.
1.2.2 #
- FIX(trim): Improved global trim precision by adding frame compensation to prevent encoder overshoot.
1.2.1 #
- CHORE: Adjusted code style to comply with lint rules.
1.2.0 #
- FEAT(android, iOS, macOS): Add
hasAudioTrackmethod to check if a video contains an audio track before attempting extraction. - FEAT(android, iOS, macOS): Add
NO_AUDIOerror code andAudioNoTrackExceptionfor better error handling when videos have no audio track during extraction.
1.1.0 #
- FEAT(android, iOS, macOS): Add audio extraction feature with
extractAudioandextractAudioToFilemethods. Supports MP3, AAC, and M4A formats with optional trimming and bitrate configuration.
1.0.0 #
- FEAT(android, iOS, macOS): Add video concatenation with
videoClipsparameter for merging multiple videos. - FEAT(android, iOS, macOS): Add audio mixing with
customAudioPath,originalAudioVolume, andcustomAudioVolumeparameters for enhanced audio control. - FEAT(android, iOS, macOS): Add
jpegQualityparameter toThumbnailConfigswhich allows setting the JPEG quality for thumbnails. - BREAKING refactor(video_model): Rename
RenderVideoModeltoVideoRenderData.
0.4.0 #
- FEAT(android, iOS, macOS): Add
ProVideoEditor.instance.cancel(taskId)for cancelling started export tasks.
0.3.0 #
- FEAT(presets): Add video quality presets for simplified export configuration. Details in PR #55.
0.2.4 #
- CHORE(android): Update Media3 dependencies to version 1.8.0.
0.2.3 #
- FIX(windows): Resolve issue of crashing when reading metadata on Windows.
0.2.2 #
- FEAT(metadata): Add
originalResolutionto metadata and auto-correctresolutionbased on video orientation.
0.2.1 #
- FIX(android): Resolved issue where metadata returned incorrect resolution for rotated videos. This resolves issue #42.
0.2.0 #
- FEAT: Add
renderVideoToFileto return the file path instead of a Uint8List, preventing RAM overload on older devices or when handling larger videos.
0.1.8 #
- FIX(android): Fixed crash during video export when applying overlay effects. The issue was caused by using
ImmutableList.of(bitmapOverlay)instead of a Kotlin-compatible list. This has been resolved by usinglistOf(bitmapOverlay)instead. - CHORE(android): Updated
media3dependencies to the latest stable versions for better compatibility and stability.
0.1.7 #
- FIX(iOS, macOS): Resolved a crash that occurred when setting playback speed below 1x. This resolves issue #29.
0.1.6 #
- FIX(iOS, macOS): Fixed rotation transforms not properly swapping render dimensions for 90°/270° rotations, resolving squeezed video output with black bars.
0.1.5 #
- FIX(window, linux, iOS, macOS): Correct bitrate extraction from metadata.
- FIX(android): Remove unsupported WebM output format; Android only supports MP4 generation.
- TEST: Add integration tests for all core functionalities.
0.1.4 #
- FIX(iOS, macOS): Fixed AVFoundation -11841 "Operation Stopped" errors when exporting videos selected via image_picker package
- FIX(iOS, macOS): Fixed video rotation metadata not being properly handled, causing incorrect orientation in exported videos
- FIX(iOS, macOS): Fixed random video loading failures from image_picker package due to complex transform metadata
- FIX(iOS, macOS): Enhanced video composition pipeline to properly process iPhone camera orientation transforms
0.1.3 #
- FIX(iOS, macOS): Resolved multiple issue where, in some Swift versions, a trailing comma in the constructor caused an error.
0.1.2 #
- FIX(iOS, macOS): Resolved an issue where, in some Swift versions, a trailing comma in the constructor caused an error.
0.1.1 #
- DOCS: Updated README with new examples and images.
0.1.0* #
- FEAT(iOS): Added render functions for iOS.
- FEAT(macOS): Added render functions for macOS.
0.0.14 #
- FIX: Resolve various crop and rotation issues.
- REFACTOR(android): Improve code quality.
- FEAT(example): Add video-editor example.
0.0.13 #
- FIX(crop): Resolve issues that crop not working.
0.0.12 #
- FIX(layer): Fixed incorrect layer scaling caused by misinterpreted video dimensions.
0.0.11 #
- FIX(rotation): Resolve various issues when video is rotated.
0.0.10 #
- FEAT(native-code): Remove the ffmpeg package and start implementing native code.
0.0.9 #
- REFACTOR(encoding): Export encoding models for easier import from main package
0.0.8 #
- FEAT(audio): Add enable audio parameter
0.0.7 #
- FEAT(iOS, macOS): Add video generation support for macOS and iOS
0.0.6 #
- FIX(crop): Ensure crop dimensions are even to avoid libx264 errors
0.0.5 #
- FEAT: Add support for color 4x5 matrices
0.0.4 #
- FEAT: Add video parser functions for android
0.0.3 #
- FIX: Resolve thumbnail generation on web.
0.0.2 #
- FEAT: Add
getVideoInformationandcreateVideoThumbnailsfor all platforms.
0.0.1 #
- CHORE: Initial release.