Skip to content

Instantly share code, notes, and snippets.

View maxkandler's full-sized avatar
👨‍💻

Max Kandler maxkandler

👨‍💻
View GitHub Profile
@paulrouget
paulrouget / ff.md
Last active May 14, 2024 02:30
Hacking Firefox
@staltz
staltz / introrx.md
Last active March 24, 2026 13:52
The introduction to Reactive Programming you've been missing
@pwaldhauer
pwaldhauer / make_webvideo.sh
Created September 15, 2014 15:45
Create HTML5 <video> tag-ready videos and a poster screenshot.
#!/bin/bash
echo "MP4"
#ffmpeg -i $1 -vcodec libx264 -vprofile slow -vprofile baseline -b:v 1500k -b:a 64k -g 30 $1.mp4
ffmpeg -i $1 -vcodec libx264 -vprofile slow -vprofile baseline -b:v 1500k -an -g 30 $1.mp4
echo "webm (VP8 / Vorbis)"
#ffmpeg -i $1 -b:v 1500k -b:a 64k -vcodec libvpx -acodec libvorbis -f webm -g 30 $1.webm
ffmpeg -i $1 -b:v 1500k -b:a 64k -vcodec libvpx -an -f webm -g 30 $1.webm