Skip to content

Instantly share code, notes, and snippets.

@ferristseng
ferristseng / gist:b27393be3e813b5ee48beb23d08f49c0
Created February 22, 2017 19:03
Joining MP4 videos / Converting to WebM
ls Movie_Part_1.mp4 Movie_Part_2.mp4 | perl -ne 'print "file $_"' | ffmpeg -f concat -i - -c copy Movie_Joined.mp4
ffmpeg -i input.mp4 -ss 00:00:30.0 -c copy -t 00:00:10.0 output.mp4
ffmpeg -i in.mp4 out.webm
@ferristseng
ferristseng / bailbloc-linux.sh
Last active December 12, 2017 13:42
Contribute to bailbloc from linux
# In the bailbloc repo, you can find the prebuilt XMRig binaries in:
#
# bailbloc/desktop/miner_binaries/
#
# This command is derived from the file:
#
# bailbloc/miner.js
#
# Donate level is automatically set to 5% if not specified, but you can reduce it
# to 1% if you want the maximum amount of time going towards bailbloc.