compress_video 1.0.0 copy "compress_video: ^1.0.0" to clipboard
compress_video: ^1.0.0 copied to clipboard

Compress phone-recorded video to a smaller MP4 that plays everywhere, on Android, iOS and macOS, with typed media info and thumbnails. The drop-in successor to video_compress.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'src/main_screen.dart';

void main() {
  runApp(const CompressVideoExampleApp());
}

/// The `compress_video` example app.
///
/// A single Dart widget tree ([MainScreen]) shared, unmodified, by Android, iOS and macOS
/// (BULD-04). The only theming here is Flutter's stock Material 3 default -- no `colorScheme`
/// or `textTheme` override -- switching light/dark via [ThemeMode.system]
/// (03-UI-SPEC.md Design System).
class CompressVideoExampleApp extends StatelessWidget {
  /// Creates the example app.
  const CompressVideoExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'compress_video example',
      theme: ThemeData(useMaterial3: true, brightness: Brightness.light),
      darkTheme: ThemeData(useMaterial3: true, brightness: Brightness.dark),
      themeMode: ThemeMode.system,
      home: const MainScreen(),
    );
  }
}
0
likes
160
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Compress phone-recorded video to a smaller MP4 that plays everywhere, on Android, iOS and macOS, with typed media info and thumbnails. The drop-in successor to video_compress.

Repository (GitHub)
View/report issues

Topics

#video #compression #transcoding #media #video-compression

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on compress_video

Packages that implement compress_video