I want to Add words like headsup game in video when video is shared to someone these words also add to the video I wrote these methods for this purpose but these did not work for me. I am using flutter_ffmpeg: ^0.4.2 package,for video editing , can anyone help me to build that methods that I may successful to achieve my desired results??????
2
Answers
these method is written
final arguments = [
‘-y’, // Overwrite existing files
‘-i’, // Input file
inputVideoPath,
‘drawtext=fontfile=Montserrat-Regular.ttf: text="Pak"’,
outputVideoPath, // Output file
];
I when i pass the ‘drawtext=fontfile=Montserrat-Regular.ttf: text="Pak"’ then exitcode=1 comes while without using ‘drawtext=fontfile=Montserrat-Regular.ttf: text="Pak"’ result comes exitcode=0 , as I already talked that i want to add text over the video, for this purpose ‘drawtext=fontfile=Montserrat-Regular.ttf: text="Pak"’ is mandatory , can anyone help me