Skip to content

Instantly share code, notes, and snippets.

@dmongeau
dmongeau / mp4.sh
Created December 1, 2017 19:28
Bash scripts to convert MOV video to mp4 or Webm
#!/bin/bash
SOURCE_PATH="$1"
DEST_PATH="$2"
SOURCE_EXTENSION=".mov"
CONSTANT_RATE_FACTOR=24
convert_mp4 () {
ffmpeg -y -i "$1" \
-codec:v libx264 \
@dmongeau
dmongeau / audiowaveform.config
Created May 22, 2018 14:24
Install audiowaveform on Amazon Elastic Beanstalk
packages:
yum:
make: []
cmake: []
gcc-c++: []
gd-devel: []
boost-devel: []
sources:
/opt/src/audiowaveform: https://github.com/bbc/audiowaveform/archive/master.zip
/* eslint-disable jsx-a11y/anchor-is-valid */
import React, { Fragment } from 'react';
import PropTypes from 'prop-types';
import useSound from './useSound';
const propTypes = {
};