Skip to content

Instantly share code, notes, and snippets.

@bjnix
bjnix / GStreamer-1.0 some strings.sh
Created August 13, 2018 23:17 — forked from strezh/GStreamer-1.0 some strings.sh
GStreamer-1.0 personal cheat sheet
#!/bin/bash
# play YUV444 FULL HD file
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \
videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \
videoconvert ! \
autovideosink
# play YUV422 FULL HD file
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \
@bjnix
bjnix / c++ header cheat sheet
Created April 27, 2014 21:39
for those times when I don't want to re-find something on stackoverflow
#ifdef _WIN64
//define something for Windows (64-bit)
#elif _WIN32
//define something for Windows (32-bit)
#elif __APPLE__
#include "TargetConditionals.h"
#if TARGET_IPHONE_SIMULATOR
// iOS Simulator
#elif TARGET_OS_IPHONE
// iOS device
@bjnix
bjnix / Helpful tutorials
Created April 27, 2014 21:36
Tutorials that I find to be helpful related to programming
freeGLUT for windows: http://www.cs.uregina.ca/Links/class-info/315/WWW/Lab1/GLUT/windows.html
@bjnix
bjnix / Software List
Created April 27, 2014 21:25
Software that I use ( I find myself hunting down things every time I install them)
glc_player: http://www.glc-player.net/download.php?PHPSESSID=7af8aae2aa8108721236cdc67b6a729c