New answers tagged

2

To overlay a half-sized version of a video in the center of an image, use ffmpeg -loop 1 -i image -i video -filter_complex "[1]scale=iw/2:-1[ovrl]; [0][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1[v]" -map "[v]" -map 1:a -c:v libx264 -c:a copy output.mp4 To frame the video: ffmpeg -loop 1 -i image -i video loop 1 ...


2

Had the same problem. Put a black solid in the background. It worked for me.



Top 50 recent answers are included