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

command to draw text on video #15

Open
developer-- opened this issue Apr 19, 2018 · 1 comment
Open

command to draw text on video #15

developer-- opened this issue Apr 19, 2018 · 1 comment

Comments

@developer--
Copy link

developer-- commented Apr 19, 2018

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?

@madhavanmalolan
Copy link
Owner

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?

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

2 participants