Ffmpeg. How to replace black bars by zoomed image
In some videos there zoomed part of the same video instead of black bars. Like this one:
Let's say your final canvas resolution is WxH, then you would run
ffmpeg -i video -filter_complex "[0]scale=W:H,boxblur=15:15,setsar=1[bg];[bg][0]overlay=(W-w)/2:(H-h)/2" -c:a copy out.mp4