This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cut | |
ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4 | |
# ffwd video and audio 10x | |
ffmpeg -i input.mkv -filter:v "setpts=0.1*PTS" -filter:a "atempo=10.0" output.mkv | |
# ffwd video only | |
ffmpeg -i input.mkv -filter:v "setpts=0.1*PTS" -an output.mkv | |
# convert to DNxHD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sips -z 1425 1425 "$1" -s format jpeg --out "00_1425.jpg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sips -z 300 300 "$1" -s format jpeg --out "00_300.jpg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ffmpeg -i "$1" -vn -ar 44100 -ac 2 -b:a 256k -f mp3 "44100_${1}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for filename in *.mp3 | |
do | |
ffmpeg -i "$filename" -vn -ar 44100 -ac 2 -f wav "$filename.wav" | |
done | |
for filename in *.ogg | |
do | |
ffmpeg -i "$filename" -vn -ar 44100 -ac 2 -f wav "$filename.wav" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ffmpeg -i "$1" -vn -ar 44100 -ac 2 -f wav "44100_${1}.wav" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Better Watch2Gether | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description try to take over the world! or atleast improve watch2gether usability a bit | |
// @author ps | |
// @match http://www.watch2gether.com/rooms/* | |
// @match https://www.watch2gether.com/rooms/* | |
// @downloadURL https://gist.github.com/psenough/65a990c7c845c31a8e128577fb78850b/raw/ | |
// @require https://code.jquery.com/jquery-2.1.4.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://quiz.pixels.camp/challenge/2017-1-tick-tock-8e50a5ab-d59e82c126ab7660/steps/0-start.html | |
myst | |
ubik | |
grim fandango | |
foundation | |
street fighter alpha | |
contact | |
jet set willy | |
solaris |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function init() { | |
//Find our div containers in the DOM | |
var dataContainerOrientation = document.getElementById('dataContainerOrientation'); | |
var dataContainerMotion = document.getElementById('dataContainerMotion'); | |
//Check for support for DeviceOrientation event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void mainImage( out vec4 O, vec2 U ) | |
{ | |
U *= 1./iResolution.xy; | |
if ((0.5*cos(iTime*5.0+U.x) - U.y+ 0.5) > 0.0) { | |
O = texture( iChannel0, U); | |
} else if ((0.5*cos(iTime*2.0+U.y) - U.x+ 0.5) > 0.0){ | |
O = texture( iChannel1, U); | |
} else { | |
O = texture( iChannel2, U); |
OlderNewer