|
@@ -1,14 +1,10 @@
|
|
|
-# vid
|
|
|
+# flutter_vid
|
|
|
|
|
|
-A new Flutter package project.
|
|
|
+This is a VID(VINNO Image Data) read/write library for flutter.
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
|
-This project is a starting point for a Dart
|
|
|
-[package](https://flutter.dev/developing-packages/),
|
|
|
-a library module containing code that can be shared easily across
|
|
|
-multiple Flutter or Dart projects.
|
|
|
-
|
|
|
-For help getting started with Flutter, view our
|
|
|
-[online documentation](https://flutter.dev/docs), which offers tutorials,
|
|
|
-samples, guidance on mobile development, and a full API reference.
|
|
|
+var imageData = new VidUsImageData(vidData.buffer.asUint8List());
|
|
|
+var frameRate = imageData.probe.frameRate;
|
|
|
+var vidImage = imageData.getImage(i);
|
|
|
+var image = Image.memory(vidImage.imageData);
|