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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -