Make sure ffmpeg is up-to-date:
brew update
brew upgrade ffmpeg
Convert a MOV into frames. Tweak the 2/1 if you want more or fewer frames.
Make sure ffmpeg is up-to-date:
brew update
brew upgrade ffmpeg
Convert a MOV into frames. Tweak the 2/1 if you want more or fewer frames.
| var multiCrowbar = (function() { | |
| /* | |
| * SVG Export | |
| * converts html labels to svg text nodes | |
| * will produce incorrect results when used with multi-line html texts | |
| * | |
| * Author: Gregor Aisch | |
| * based on https://github.com/NYTimes/svg-crowbar/blob/gh-pages/svg-crowbar-2.js | |
| */ |
| license: gpl-3.0 |
| function tomp3() { for f in "$@"; ffmpeg -i $f -acodec libmp3lame -aq 4 "`basename $f .m4a`.mp4"; } |
| border: no |
| #!/usr/bin/env node | |
| var cmds = []; | |
| if (process.argv.length < 3) { | |
| console.log('You need to provide a commit message required!'); | |
| process.exit(-1); | |
| } | |
| cmds.push('git add -A'); | |
| cmds.push('git add -u'); |
| var fs = require('fs'), | |
| cheerio = require('cheerio'), | |
| fn = process.argv[2]; | |
| cleanSVGArtboard(fn); | |
| function cleanSVGArtboard(svgFileName, svg_embed_images) { | |
| if (!fs.existsSync(svgFileName)) return; | |
| var svgText = fs.readFileSync(svgFileName, 'utf-8'); |
Compiled from this source code using these very helpful intructrions
To download the binary using curl run
curl -o x13ashtml -k https://gist.githubusercontent.com/gka/3b200d57b0db14d058f3/raw/364844106fb8edc0f1fc194c60dc2998aa9723d4/x13ashtml
chmod +x x13ashtml