skip to Main Content

Flutter – how i can save overlay text box with a video in gallery by using ffmpeg?

final escapedOverlayText = overlayText.replaceAll(''', '''); final command = '-i $videoPath -vf "drawtext=text='$escapedOverlayText':x=10:y=10:fontsize=24:fontcolor=white" -c:a copy $outputPath'; print('Executing command: $command'); final session = await FFmpegKit.execute(command); final returnCode = await session.getReturnCode(); print('here is errror Return code: $returnCode'); that those section of code where…

VIEW QUESTION
Back To Top
Search