ffmpeg - Ubuntu ffmepg watermark position -
so have command:
ffmpeg -i prepared/video.mp4 -i units/video_watermark.png -filter_complex overlay=main_w-overlay_w-10:main_h-overlay_h-10 -codec:a copy moved/video_test.mp4
which should describe watermark position on bottom right watermark appears on bottom center. i'm doing wrong?
also tried command:
ffmpeg -i prepared/video.mp4 -vf "movie=units/video_watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" moved/output.mp4
but watermark not added, video corrupted becouse of response:
[aac @ 0x3556540] encoder 'aac' experimental experimental codecs not enabled, add '-strict -2' if want use it.
where clue?
try code
ffmpeg –i inputvideo.avi -vf "movie=watermarklogo.png [watermark]; [in][watermark] overlay=(main_w-overlay_w-10)/2:(main_h-overlay_h-10)/2 [out]" outputvideo.flv
credits github user charlee
Comments
Post a Comment