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
#include "testApp.h" | |
//-------------------------------------------------------------- | |
void testApp::setup(){ | |
int dimensions = 256; | |
mesh.setMode(OF_PRIMITIVE_POINTS); | |
float direction = dimensions * 0.5 - 0.5; | |
for (int r=0; r<dimensions; r++) | |
{ |
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
window.setGlutDisplayString("rgba double samples>=6 depth"); |
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
pi@raspberrypi /dev/v4l/by-id $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 30 | |
MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team | |
mplayer: could not connect to socket | |
mplayer: No such file or directory | |
Failed to open LIRC support. You will not be able to use your remote control. | |
Playing tv://. | |
TV file format detected. | |
Selected driver: v4l2 | |
name: Video 4 Linux 2 input |
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
pi@raspberrypi /opt/vc/src/hello_pi/hello_video $ mediainfo test.h264.org | |
General | |
Complete name : test.h264.org | |
Format : AVC | |
Format/Info : Advanced Video Codec | |
File size : 29.6 MiB | |
Video | |
Format : AVC | |
Format/Info : Advanced Video Codec |
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
//------------------------------------------------------------ | |
bool ofAppEGLWindow::setupRPiNativeWindow(int w, int h, int screenMode){ | |
#ifdef TARGET_RASPBERRY_PI | |
bcm_host_init(); | |
//boolean force HDMI vs. composite | |
int32_t success = 0; |
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
/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so (0x40391000) | |
libudev.so.0 => /lib/arm-linux-gnueabihf/libudev.so.0 (0x400af000) | |
libGLESv2.so => /opt/vc/lib/libGLESv2.so (0x40087000) | |
libEGL.so => /opt/vc/lib/libEGL.so (0x40050000) | |
libopenmaxil.so => /opt/vc/lib/libopenmaxil.so (0x4001c000) | |
libbcm_host.so => /opt/vc/lib/libbcm_host.so (0x401ff000) | |
libvcos.so => /opt/vc/lib/libvcos.so (0x40041000) | |
libvchiq_arm.so => /opt/vc/lib/libvchiq_arm.so (0x400c4000) | |
libfreeimage.so.3 => /usr/lib/libfreeimage.so.3 (0x40100000) | |
libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0x40218000) |
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 | |
#assumes script is in openFrameworks/scripts/linux | |
#assumes using distcc setup by https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Raspberry-Pi-Cross-compiling-guide | |
export LC_ALL=C | |
export DISTCC_FALLBACK=0 | |
cd ../../examples | |
for category in $( ls . ) | |
do |
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
find ./ -mtime +5 -exec rm -f {} \; |
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
Playing fingers.mov. | |
libavformat version 53.21.0 (external) | |
Mismatching header version 53.19.0 | |
libavformat file format detected. | |
[lavf] stream 0: video (h264), -vid 0 | |
VIDEO: [H264] 320x240 24bpp 30.099 fps 258.9 kbps (31.6 kbyte/s) | |
Clip info: | |
major_brand: qt | |
minor_version: 512 | |
compatible_brands: qt |
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
pi@raspberrypi ~/openFrameworks/apps/devApps/videoPlayerExample/bin $ export GST_DEBUG=2 | |
pi@raspberrypi ~/openFrameworks/apps/devApps/videoPlayerExample/bin $ ./videoPlayerExample_debug | |
ofAppEGLWindow constructor | |
in ofAppEGLWINDOW: setupOpenGL | |
succes=0 | |
REQUESTED SCREEN SIZE w=1280 and h=720 | |
HARDWARE SCREEN SIZE IS sw=1280 and sh=720 | |
CREATING A SCREEN THAT IS w=1280 and h=720 | |
[ofAppEGLWindow::setupEGL:notice] setting EGL Display | |
[ofAppEGLWindow::setupEGL:notice] setting default Display |