Skip to content

Instantly share code, notes, and snippets.

View romain-h's full-sized avatar

Romain Hardy romain-h

View GitHub Profile
@romain-h
romain-h / ffmpeg.md
Created November 11, 2019 19:56 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@romain-h
romain-h / my.cnf
Created June 5, 2017 08:10 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
[mysqld]
max_allowed_packet=64M
@romain-h
romain-h / osx-settings.sh
Last active August 29, 2015 14:26 — forked from wtw/osx-settings.sh
OSX Settings
#!/usr/bin/env sh
## Set some nice Mac OS system defaults
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#