Skip to content

Instantly share code, notes, and snippets.

View mel-florance's full-sized avatar

Mel Florance mel-florance

  • France
View GitHub Profile
@grenade
grenade / geoparse-contour-mp4.js
Last active November 27, 2016 09:45
Extract geo data from Contour GPS mp4 files using NodeJS and ffmpeg
var fs = require('fs');
var util = require('util');
var files = ['FILE0502', 'FILE0503', 'FILE0504'];
var dir = '/home/rob/Pictures/2015/03/01';
/** Extend Number object with method to convert numeric degrees to radians */
if (Number.prototype.toRadians === undefined) {
Number.prototype.toRadians = function() { return this * Math.PI / 180; };
}