Unhandled Exception: PlatformException(video_processing_failed, video processing is failed., null, null)
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(video_processing_failed, video processing is failed., null, null)
StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:177:18)
VideoEditor.writeVideofile (package:tapioca/src/video_editor.dart:14:5)
Getting this error after selection of file and send "Cup" for Video editing.
try {
var tempDir = await getTemporaryDirectory();
final path = '${tempDir.path}/result2.mp4';
final tapiocaBalls = [
TapiocaBall.filter(Filters.pink),
//TapiocaBall.imageOverlay(imageBitmap, 300, 300),
TapiocaBall.textOverlay("text", 100, 10, 100, const Color(0xffffc0cb)),
];
final cup = Cup(Content(video.path), tapiocaBalls);
cup.suckUp(path).then(() async {
print("finished");
print(path);
GallerySaver.saveVideo(path).then((bool? success) {
print(success.toString());
});
setState(() {});
});
} on Exception {
print("error!!!!");
}
Unhandled Exception: PlatformException(video_processing_failed, video processing is failed., null, null)
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(video_processing_failed, video processing is failed., null, null)
StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:177:18)
VideoEditor.writeVideofile (package:tapioca/src/video_editor.dart:14:5)
Getting this error after selection of file and send "Cup" for Video editing.
try {
var tempDir = await getTemporaryDirectory();
final path = '${tempDir.path}/result2.mp4';
final tapiocaBalls = [
TapiocaBall.filter(Filters.pink),
//TapiocaBall.imageOverlay(imageBitmap, 300, 300),
TapiocaBall.textOverlay("text", 100, 10, 100, const Color(0xffffc0cb)),
];
final cup = Cup(Content(video.path), tapiocaBalls);
cup.suckUp(path).then(() async {
print("finished");
print(path);
GallerySaver.saveVideo(path).then((bool? success) {
print(success.toString());
});