Skip to content

Instantly share code, notes, and snippets.

View geenloop's full-sized avatar
🏠
Working from home

GeenLoop geenloop

🏠
Working from home
View GitHub Profile
@geenloop
geenloop / macFFmpeg.md
Created September 19, 2019 08:52 — forked from docPhil99/macFFmpeg.md
Mac webcam FFmpeg

#Capture and stream a webcam To capture using the iSight camera on a Mac, or infact any other webcam connected to the Mac, we can use FFmpeg. First get a list of the devices installed.

ffmpeg -f avfoundation -list_devices true -i "" 

This will list the aviable video and audio devices.

The below will capture at 30fps and the set video size to a file. fmpeg -f avfoundation -framerate 30 -video_size 640x480 -i "0:none" out.avi

@geenloop
geenloop / behringer.cmd.pl-1.custom.js
Created March 3, 2019 00:43 — forked from ademilsonfp/behringer.cmd.pl-1.custom.js
Behringer CMD PL-1 / Mixxx controller mapping
function myCustomDeck(channel, deck) {
var forceScratch = false;
// CONTROLLER SETUP
deck.e1.setup = deck.e1.release = encoderWiper(deck.e1);
deck.e2.setup = deck.e2.release = encoderWiper(deck.e2);
deck.e3.setup = deck.e3.release = encoderWiper(deck.e3);
deck.e4.setup = deck.e4.release = encoderWiper(deck.e4);