You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried so many times to generate the video with Logo and text as watermark in Android Real device, but it stuck and doing long process and It could not generated any video path in Android real device. I used latest package.
Yeah It's working fine in iOS device but not Android real device. Any solution ? please help.
Below my code:
final generatedDestinationPath = await getOutputVideoPath();
final tapiocaBalls = [
TapiocaBall.textOverlay(timeStamp, 20, 35, 24, Colors.orange),
];
final cup = Cup(Content(outputVideoPath), tapiocaBalls);
await cup.suckUp(generatedDestinationPath).then(() async {
if (await File(outputVideoPath).exists()) {
await File(outputVideoPath).delete();
}
Navigator.of(GlobalVariable.navigatorState.currentContext!)
.pop(); // Dismiss the dialog.
Navigator.of(GlobalVariable.navigatorState.currentContext!).push(
MaterialPageRoute(
builder: (_) => VideoAndPhotoPreviewScreen(
filePath: generatedDestinationPath,
isTypeVideo: true,
),
),
);
})
The text was updated successfully, but these errors were encountered:
div-mobioxy
changed the title
Not generated video with any logo or text in android
Video-Path is not generated in Android Real device.
Apr 21, 2024
I have tried so many times to generate the video with Logo and text as watermark in Android Real device, but it stuck and doing long process and It could not generated any video path in Android real device. I used latest package.
Yeah It's working fine in iOS device but not Android real device. Any solution ? please help.
Below my code:
final generatedDestinationPath = await getOutputVideoPath();
final tapiocaBalls = [
TapiocaBall.textOverlay(timeStamp, 20, 35, 24, Colors.orange),
];
final cup = Cup(Content(outputVideoPath), tapiocaBalls);
await cup.suckUp(generatedDestinationPath).then(() async {
if (await File(outputVideoPath).exists()) {
await File(outputVideoPath).delete();
}
Navigator.of(GlobalVariable.navigatorState.currentContext!)
.pop(); // Dismiss the dialog.
Navigator.of(GlobalVariable.navigatorState.currentContext!).push(
MaterialPageRoute(
builder: (_) => VideoAndPhotoPreviewScreen(
filePath: generatedDestinationPath,
isTypeVideo: true,
),
),
);
})
The text was updated successfully, but these errors were encountered: