Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
!! Found NAL at offset 51203 (0xC803), size 14 (0x000E)
XX 00 00 00 01 27 64 00 20 AC 2B 40 28 02 DD 00 F1
==================== NAL ====================
forbidden_zero_bit : 0
nal_ref_idc : 1
nal_unit_type : 7 ( Sequence parameter set )
======= SPS =======
profile_idc : 100
@jvcleave
jvcleave / PipeReader.h
Last active August 29, 2015 13:56
PipeReader
#pragma once
#include "ofMain.h"
extern "C"
{
#include <fcntl.h>
#include <stdio.h>
#include <sys/stat.h>
@jvcleave
jvcleave / VideoSource.h
Created July 7, 2014 18:27
VideoSource
#pragma once
#include "ofMain.h"
class VideoSource
{
public:
ofVideoGrabber camera;
ofVideoPlayer videoPlayer;
ubuntu@tegra-ubuntu:~/TEMP/eglinfo$ locate libGL
/usr/lib/arm-linux-gnueabihf/libGLU.so.1
/usr/lib/arm-linux-gnueabihf/libGLU.so.1.3.1
/usr/lib/arm-linux-gnueabihf/mesa/libGL.so.1
/usr/lib/arm-linux-gnueabihf/mesa/libGL.so.1.2.0
/usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2
/usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so.2.0.0
/usr/lib/arm-linux-gnueabihf/tegra/libGL.so.1
/usr/lib/arm-linux-gnueabihf/tegra-egl/libGLESv1_CM.so.1
/usr/lib/arm-linux-gnueabihf/tegra-egl/libGLESv2.so.2
@jvcleave
jvcleave / Makefile
Created July 9, 2014 18:43
Nvidia simpleGL for CUDA Jetson (from ~/NVIDIA_CUDA-6.0_Samples/2_Graphics/simpleGL)
################################################################################
#
# Copyright 1993-2013 NVIDIA Corporation. All rights reserved.
#
# NOTICE TO USER:
#
# This source code is subject to NVIDIA ownership rights under U.S. and
# international Copyright laws.
#
# NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE
root@laptop-kubuntu:/home/jvcleave# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
@jvcleave
jvcleave / gist:a9e8d7cee4cdd74fb5b1
Last active August 29, 2015 14:03
Jetson TK1 OF 0.8.3 diff
Only in openFrameworks/apps/myApps/emptyExample: bin
Only in openFrameworks/apps/myApps/emptyExample: obj
Only in openFrameworks/examples/utils/conversionExample/bin: conversionExample
Only in openFrameworks/examples/utils/conversionExample/bin: conversionExample_debug
Only in openFrameworks/examples/utils/conversionExample/bin: libs
Only in openFrameworks/examples/utils/conversionExample/bin: readMe.txt
Only in openFrameworks/examples/utils/conversionExample: obj
Only in openFrameworks/examples/utils/fileOpenSaveDialogExample: obj
Only in openFrameworks/examples/utils/windowExample/bin: libs
Only in openFrameworks/examples/utils/windowExample/bin: readMe.txt
@jvcleave
jvcleave / gist:afc11d445ffc1167ef13
Created July 19, 2014 03:39
ldd 3DPrimitivesExample Udoo
debian@udoo:~/openFrameworks/apps/udooApps/3DPrimitivesExample/bin$ ldd 3DPrimitivesExample
libEGL.so.1 => /usr/lib/libEGL.so.1 (0x2ac7c000)
libGLESv2.so.2 => /usr/lib/libGLESv2.so.2 (0x2ab1f000)
libGLESv1_CM.so.1 => /usr/lib/libGLESv1_CM.so.1 (0x2ab87000)
libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0x2ac92000)
libgstapp-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstapp-1.0.so.0 (0x2aad3000)
libgstvideo-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstvideo-1.0.so.0 (0x2abc2000)
libgstbase-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstbase-1.0.so.0 (0x2ac01000)
libgstreamer-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstreamer-1.0.so.0 (0x2ad7a000)
libudev.so.1 => /lib/arm-linux-gnueabihf/libudev.so.1 (0x2aae4000)
@jvcleave
jvcleave / YouTube info in OF
Last active August 29, 2015 14:13
Get YouTube urls for download/streaming in openFrameworks
struct YouTubeVideo
{
string url;
int itag;
map<string, string> valueMap;
vector<string> valueMapNames;
YouTubeVideo()
{
url = "";
itag = -1;
@jvcleave
jvcleave / emptyExample_compile.log
Created January 23, 2015 19:46
emptyExample_compile.log
=================== config.mk platform detection ================
PLATFORM_ARCH=armv6l
PLATFORM_OS=Linux
PLATFORM_VARIANT=default
PLATFORM_LIB_SUBPATH=linuxarmv6l
=================== config.mk paths =============================
OF_ADDONS_PATH=../../../addons
OF_EXPORT_PATH=../../../export
OF_EXAMPLES_PATH=../../../examples
OF_APPS_PATH=../../../apps