Browse Source

Update README.md

justin.xing 3 years ago
parent
commit
2d3876c1f7
1 changed files with 6 additions and 10 deletions
  1. 6 10
      README.md

+ 6 - 10
README.md

@@ -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);