kitereqop.blogg.se

Adroid ffmpeg compress video and add watermark
Adroid ffmpeg compress video and add watermark






adroid ffmpeg compress video and add watermark

Which would also come from input.mp4 but would point to the audio track instead of the video track in the mp4 file.

adroid ffmpeg compress video and add watermark

would mean we want the first imported audio track. :v just means we want the video track from these file sources. means that we want the first video file we import with -i, in our case input.mp4 or how ffmpeg sees it, video input file number 0, to be under video input file 1, in our case image.png. Overlay=25:25 means we want to position the image 25px to the right and 25px down, originating from the top left corner (0:0).Įnable='between(t,0,20)' means we want the image to show between second 0 and 20.

adroid ffmpeg compress video and add watermark

You can do a simple image overlay using the following syntax: ffmpeg -i input.mp4 -i image.png \








Adroid ffmpeg compress video and add watermark