try {
final String path = await _getTempPath();
log('applyFiltersToVideo Filter Index ${state.filterIndex}');
Cup cup = Cup(
Content(state.videoFile!.path), tapiocaBalls[state.filterIndex]);
log('cup created');
await cup.suckUp(path).then((value) => log('suckUp value: $value'));/////// stucks here /////
log('return value');
return path;
} catch (e) {
log("error on filter applying ==================$e");
}
}
try {
final String path = await _getTempPath();
log('applyFiltersToVideo Filter Index ${state.filterIndex}');
Cup cup = Cup(
Content(state.videoFile!.path), tapiocaBalls[state.filterIndex]);
log('cup created');
await cup.suckUp(path).then((value) => log('suckUp value: $value'));/////// stucks here /////
log('return value');
return path;
} catch (e) {
log("error on filter applying ==================$e");
}
}