Skip to content

Instantly share code, notes, and snippets.

View kerkenit's full-sized avatar

Kerk en IT kerkenit

View GitHub Profile
@ArneAnka
ArneAnka / gist:a1348b13fc291f72f862d92f35380428
Created January 5, 2020 13:54
FFmpeg: How to convert vertical video with black sides, to video 16:9, with blurred background sides
https://stackoverflow.com/questions/30789367/ffmpeg-how-to-convert-vertical-video-with-black-sides-to-video-169-with-blur
ffmpeg -i <input_file> -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" <output_file>
TAKES FOREVER!
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->