bravobit / FFmpeg-Android

FFMpeg/FFprobe compiled for Android
https://bravobit.nl/
MIT License
740 stars 176 forks source link

Error when handling commands with spaces #113

Open Cotel opened 5 years ago

Cotel commented 5 years ago

I'm trying to place some text on a video with a command like -i input.mp4 -filter_complex [0:v]drawtext=fontfile=bla_bla.ttf:text=My Name output.mp4 and it fails with Invalid argument because it splits the command at the space character and Name output.mp4 is obviously nothing valid.

I've tried to place ' around the text but the result is the same.

I'm using version 1.1.5 of this library.

Thank you for your amazing work! 😄