flutter_widget_recorder 0.0.1 copy "flutter_widget_recorder: ^0.0.1" to clipboard
flutter_widget_recorder: ^0.0.1 copied to clipboard

A Flutter plugin for recording widget animation using RepaintBoundary widget and sending it to the platform plugin for conversion to video

Changelog #

[Unreleased] #

Fixed #

  • Corrected pixel buffer alignment for iOS video recording: now frames are padded to sizes compatible with H.264 codec requirements (multiples of 16).
  • Fixed stride handling for incoming pixel data to support non-standard row sizes from Flutter.
  • Eliminated errors related to mismatched frame and buffer sizes, preventing crashes and black frames.
  • Improved error diagnostics and logging for frame capture and writer failures.

Changed #

  • Now uses pixelWidth and pixelHeight (aligned sizes) for all AVAssetWriter and buffer operations.
  • Fills extra buffer space (right and bottom) with black pixels to match codec requirements.
  • Simplified and clarified the logic for copying and converting pixel data from Flutter to native iOS buffers.

Added #

  • Additional error messages for invalid stride and buffer creation failures.
  • Comments and documentation in the Swift code for easier maintenance.

[Older versions] #

  • See previous commit history for earlier changes.
5
likes
0
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for recording widget animation using RepaintBoundary widget and sending it to the platform plugin for conversion to video

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_widget_recorder

Packages that implement flutter_widget_recorder