Skip to content

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

@div-mobioxy

Description

@div-mobioxy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions