0
votes

I'm looking for the command to edit a video with ffmpeg according to instructions below.

The original video can be any type in any size or resolution (mp4,avi,wmv etc) and needs to be converted to mp4

  • Convert video to .mp4
  • Add a watermark at the right bottom
  • Set a Bitrate (accepted values between 1500 - 2000 )
  • Resize width to 1280px (keep aspect ratio)
1

1 Answers

1
votes

Basic command is:

ffmpeg -i video.mp4 -i logo.png -filter_complex "[0]scale=1280:-2[bg];[bg][1]overlay=main_w-overlay_w-10:main_h-overlay_h-10" -b:v 1500k output.mp4