This plugin generates thumbnail from video file or URL. It returns image in memory or writes into a file. It offers rich options to control the image format, resolution and quality. Supports iOS and Android.
I am currently using the ^0.2.5+1 version, and I am making a silent camera.
I am working on extracting thumbnails from short videos taken with the camera package. 4 out of 5 works fine, but sometimes I get an error saying that the thumbnail cannot be created.
code
await controller.startVideoRecording();
Future.delayed(Duration(milliseconds: 300), () async {
final videoFile = await controller.stopVideoRecording();
final image = VideoThumbnail.thumbnailData(video: videoFile.path);
});
device info
platform: iOS
device model: iPhone8
device version: 14.4.1
Thanks for making the package.
I am currently using the ^0.2.5+1 version, and I am making a silent camera. I am working on extracting thumbnails from short videos taken with the camera package. 4 out of 5 works fine, but sometimes I get an error saying that the thumbnail cannot be created.
code
device info platform: iOS device model: iPhone8 device version: 14.4.1
screenshot