Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video-Path is not generated in Android Real device. #82

Open
div-mobioxy opened this issue Apr 21, 2024 · 0 comments
Open

Video-Path is not generated in Android Real device. #82

div-mobioxy opened this issue Apr 21, 2024 · 0 comments

Comments

@div-mobioxy
Copy link

div-mobioxy commented 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,
),
),
);
})

@div-mobioxy 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant