Last updated:
0 purchases
flutter media info
FlutterMediaInfo #
Library for use LibMediaInfo in flutter with support for macos, windows, linux.
Get started #
Minimal system requirements #
Ubuntu 20.04 x64
Windows 7 x64
macOS 10.10 x64
Add dependency #
dependencies:
flutter_media_info: ^0.0.3
copied to clipboard
Example: #
import 'package:flutter_media_info/flutter_media_info.dart';
void printVideoDuration() {
final mi = Mediainfo.init();
mi.quickLoad("/home/user/myVideo.mp4");
final movieDuration = mi.getInfo(MediaInfoStreamType.mediaInfoStreamVideo, 0, "Duration/String2");
mi.close();
print('Duration: ${movieDuration}');
}
copied to clipboard
License #
This product uses MediaInfo library, Copyright (c) 2002-2023 MediaArea.net SARL.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.