Lucas Vieites .com Logo
Lucas Vieites .com
«I intend all my puns»

Convert vertical video to horizontal with ffmpeg

 
ffmpeg -i inputfile.mp4 -filter_complex '[0:v]scale=ih*16/9:-1,boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,crop=h=iw*9/16'  outputfile.mp4

Author:   ✦  Published:   ✦  Updated:   ✦