Vid data reader/writer for flutter.

gavin.chen 1feed8528e Merge branch 'master' of http://git.ius.plus/Project-Wing/flutter_vid 7 ماه پیش
.vscode f7a77eec14 First commit. 3 سال پیش
lib 1feed8528e Merge branch 'master' of http://git.ius.plus/Project-Wing/flutter_vid 7 ماه پیش
.gitignore f7a77eec14 First commit. 3 سال پیش
.metadata f7a77eec14 First commit. 3 سال پیش
CHANGELOG.md f7a77eec14 First commit. 3 سال پیش
LICENSE f7a77eec14 First commit. 3 سال پیش
README.md a13b962a4c Update README.md 2 سال پیش
pubspec.yaml b38bb1b5a4 Add support for dynamic chunk size. 2 سال پیش

README.md

flutter_vid

This is a VID(VINNO Image Data) read/write library for flutter.

Only support read VID file, not support write VID file. Carotid3D extended data is not support for now. Only support CanvasKit engine while running on web.

Getting Started

Add dependency in pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  vid:  
    git:
      url: http://git.ius.plus:88/Project-Wing/flutter_vid
var imageData = new VidUsImageData(vidData.buffer.asUint8List());
var frameRate = imageData.probe.frameRate;
var vidImage = imageData.getImage(i);
var image = Image.memory(vidImage.imageData);

Now, support using async way downloading and playing images from remote vid file.

var vidData = HttpVidUsImageData('https://localhost/test.vid');
//Must call initialize before geting data from HttpVidUsImageData.
await vidData.initialize();
var frameRate = imageData.probe.frameRate;
var vidImage = await data.getImage(index);
var image = Image.memory(vidImage.imageData);