madhavanmalolan / ffmpegandroidlibrary

One line integration for FFMPEG Library in Android
MIT License
90 stars 15 forks source link

Adding Watermark over video #25

Open jitendar7 opened 6 years ago

jitendar7 commented 6 years ago

Hi,

I'm trying to add watermark over a video. Below is the command i'm using

String[] temp = new String[]{ "-y", "-i", "/storage/emulated/0/Download/input.mp4", "-i", "/storage/emulated/0/Download/watermark.png", "-filter_complex", "\"overlay=10:10\"", "/storage/emulated/0/Download/output.mp4" };

Controller.getInstance().run(temp);

I get the below logs, i'm clueless what went wrong

05-31 11:09:01.918 14533-17872/com.test.app I/Videokit: start run in main. register_exit 05-31 11:09:01.954 14533-17872/com.test.app I/Videokit: term_init & parse options. 05-31 11:09:02.179 14533-17872/com.test.app D/Videokit: ERROR OCCURED

Can you please point me in the right direction.

HBiSoft commented 6 years ago

This is not a issue regarding the library. Look at the ffmpeg documentation - https://ffmpeg.org/ffmpeg.html