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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -