android - Image overlay fails using FFMPEG4Android -


i trying watermark video using ffmpeg4android. using app on android market here.

the command used

ffmpeg -i /sdcard/videokit/in.mp4 -i /sdcard/videokit/logos/1.png -i /sdcard/videokit/logos/2.png -i /logos/3.png -filter_complex "[0:v][1:v] overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,0,1)' [tmp]; [tmp][2:v] overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,2,3)' [tmp2]; [tmp2][3:v] overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,4,5)'" /sdcard/videokit/output.mp4

but everytime run command app fails

opening output file: overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,0,1)'. no such filter: '' error configuring filters. exit_program: 1

can same?

you need use complex command, check ffmpeg4android blog examples


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -