thumblr 0.0.4 copy "thumblr: ^0.0.4" to clipboard
thumblr: ^0.0.4 copied to clipboard

A federated Flutter plugin for generating video thumbnails on desktop platforms

thumblr #

A federated Flutter plugin for generating video thumbnails on desktop platforms

Supported platforms #

  • macOS
  • Windows
  • Linux

Usage #

macOS Setup #

You will need to add an entitlement for either read-only access:

<key>com.apple.security.files.user-selected.read-only</key>
<true/>

or read-write access:

<key>com.apple.security.files.user-selected.read-write</key>
<true/>

depending on your use case. It may also be necessary to turn off the app-sandbox entitlement.

Examples: #

Generate a thumbnail for a local video file

final thumbnailBytes = await generateThumbnail(
  filePath: 'path/to/video.mp4',
);

...

Center(
  child: Image.memory(
    thumbnailBytes,
    height: 350,
    width: 350,
  ),
);
4
likes
140
pub points
80%
popularity

Publisher

verified publishergroovinchip.dev

A federated Flutter plugin for generating video thumbnails on desktop platforms

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, thumblr_macos, thumblr_platform_interface, thumblr_windows

More

Packages that depend on thumblr