Skip to content

Instantly share code, notes, and snippets.

View hohhots's full-sized avatar

brgd hohhots

  • malqin
  • hohhot china
View GitHub Profile
@hohhots
hohhots / html5_video_conv.bash
Created June 13, 2017 11:01 — forked from zpea/html5_video_conv.bash
little shell script to convert video files to the various HTML5 video formats/codecs using ffmpeg. Also generates the line for embedding the video using the videoJS plugin for wordpress.
#!/bin/bash
#
# video conversion script for publishing as HTML 5 video, via videojs (with hd button extension)
# 2011 by zpea
# feel free to use as public domain / Creative Commons CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/)
#
FFMPEG=/usr/bin/ffmpeg
HD_SUFFIX='_hd'