Skip to content

Instantly share code, notes, and snippets.

Cameron Browning camb416

Block or report user

Report or block camb416

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@camb416
camb416 / ffmpeg_x265_segfault
Created Apr 16, 2018
segfault when converting to H.265
View ffmpeg_x265_segfault
cam@DESKTOP-AJKAVAA:/mnt/c/Users/cam/Downloads$ ffmpeg -i bbb_sunflower_2160p_60fps_normal.mp4 -c:a copy -c:v libx265 out.mp4
ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-l
@camb416
camb416 / trigger-video.php
Created Jan 19, 2017
Sends a trigger to a network connected Brightsign player
View trigger-video.php
<?php
echo exec('whoami');
exec('echo -n "two" >/dev/udp/192.168.1.192/5001');
echo "purplebox working.";
@camb416
camb416 / sketch_160801a.pde
Last active Aug 1, 2016
Distance and easing decay
View sketch_160801a.pde
ArrayList<Ball> balls;
boolean doScale;
void setup() {
doScale = false;
size(1280, 720);
balls = new ArrayList<Ball>();
for (int i=0; i<width/20; i++) {
for (int j=0; j<height/20; j++) {
@camb416
camb416 / traffic-cameras.json
Last active Jun 23, 2016 — forked from kuanb/traffic-cameras.json
All traffic camera locations in NYC
View traffic-cameras.json
[{
"lat": "40.79142677512476",
"lng": "-73.93807411193848",
"name": "1 Ave @ 110 St",
"camera": "http://207.251.86.238/cctv261.jpg"
}, {
"lat": "40.800426144169315",
"lng": "-73.93155097961426",
"name": "1 Ave @ 124 St",
"camera": "http://207.251.86.238/cctv254.jpg"
View firstColorPattern_variation.pde
color[] colors = { #395273,
#395273,
#F2EDA0,
#D9A171,
#395273,
#395273,
#40211E,
#395273,
#40211E,
View firstColorPattern.pde
color[] colors = {#395273,
#405B73,
#F2EDA0,
#D9A171,
#40211E,
#40211E};
@camb416
camb416 / interactiveBezier.pde
Last active Jun 19, 2016
Interactive Draggable Bezier Path in Processing
View interactiveBezier.pde
Bezier b;
ArrayList<DraggablePoint> pts;
boolean isDragging;
int dragID;
float slope;
float t;
void setup(){
@camb416
camb416 / grabAllTheCameras.sh
Created Jan 29, 2016
Grab all the NYC DOT Traffic camera images and make a contact sheet with imagemagick
View grabAllTheCameras.sh
#!/bin/bash
wget http://207.251.86.238/cctv261.jpg
wget http://207.251.86.238/cctv254.jpg
wget http://207.251.86.238/cctv490.jpg
wget http://207.251.86.238/cctv263.jpg
wget http://207.251.86.238/cctv644.jpg
wget http://207.251.86.238/cctv696.jpg
wget http://207.251.86.238/cctv722.jpg
wget http://207.251.86.238/cctv200.jpg
wget http://207.251.86.238/cctv31.jpg
@camb416
camb416 / circles3.pde
Created Feb 28, 2016
Eased motion on tiled stage
View circles3.pde
import processing.core.PApplet;
import processing.core.PGraphics;
/**
* Created by cbrowning on 2/28/16.
*/
PGraphics tile;
int tileWidth;
int tileHeight;
View circles2.pde
import processing.core.PApplet;
import processing.core.PGraphics;
/**
* Created by cbrowning on 2/17/16.
*/
//public class ProcessingExample extends PApplet{
PGraphics tile;
int tileWidth;
You can’t perform that action at this time.