I have a 720 x 1280 pixels video. How do I extend and scale it to 1920 x 1080 such that the aspect ratio is being kept and the black borders are a blurry version of the vide
Use
ffmpeg -i video720x1280.mp4 -filter_complex "[0]scale=hd1080,setsar=1,boxblur=20:20[b]; [0]scale=-1:1080[v];[b][v]overlay=(W-w)/2" video1920x1080.mp4
Adjust the two values in the boxblur filter for blur strength. Higher = more blurring.