ffmpegandroidlibrary icon indicating copy to clipboard operation
ffmpegandroidlibrary copied to clipboard

command to draw text on video

Open developer-- opened this issue 7 years ago • 1 comments

I'm using this commands to draw the text, but don't got any success String[] args = new String[]{ "-i", filePath, "-vf", "format=yuv444p", "drawtext=fontfile="+font.getAbsolutePath()+":text='Title of this Video'", "format=yuv420p", "-c:v", "libx264", "-c:a", "copy", "-movflags", destinationPath+"/output_file.mp4" };

any advice?

developer-- avatar Apr 19 '18 08:04 developer--

What do you mean by

"don't got any success"

Does the app crash? If yes, can you share the logs? Do you not get the desired output? If yes, what is it that you expect, what is it that you got?

madhavanmalolan avatar May 08 '18 10:05 madhavanmalolan