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
- (id)init { | |
if (![NSThread isMainThread]) { | |
pool = [[NSAutoreleasePool alloc] init]; | |
} | |
self = [super init]; | |
if(self) { | |
self.playerView = [[[ofAVFoundationVideoPlayerView alloc] initVideoPlayerView] autorelease]; | |
self.player = [[[AVPlayer alloc] init] autorelease]; | |
[(ofAVFoundationVideoPlayerView *)self.playerView setPlayer:_player]; |
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
Process: AC PlayerDebug [9810] | |
Path: /Users/USER/Desktop/AC PlayerDebug_ofAVFoundationPlayer_GC_and_memory_fixes.app/Contents/MacOS/./AC PlayerDebug | |
Identifier: cc.openFrameworks.ofapp | |
Version: 1.0 | |
Code Type: X86 (Native) | |
Parent Process: bash [634] | |
Responsible: Terminal [597] | |
User ID: 501 | |
Date/Time: 2015-03-30 13:06:37.885 +0200 |
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
videoTestDebug: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/QXPScriptingAdditions.osax" cannot be used with the current OS because it has no OSAXHandlers entry in its Info.plist. | |
Append 1.mp4 | |
[ error ] 3.40: [1] 1.mp4 appended | |
Trigger | |
[ error ] 4.58: [1] 1.mp4 Force triggered | |
Append 2.mp4 | |
Trigger | |
[ error ] 5.67: [1] 2.mp4 Force triggered | |
2015-10-28 17:29:37.172 videoTestDebug[48559:3164685] video loaded at 640 x 360 @ 23.649729 fps | |
2015-10-28 17:29:37.244 videoTestDebug[48559:3164830] video loaded at 640 x 360 @ 23.649729 fps |
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
ffprobe version 2.5.3 Copyright (c) 2007-2015 the FFmpeg developers | |
built on Jan 19 2015 13:08:24 with llvm-gcc 4.2.1 (LLVM build 2336.11.00) | |
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect | |
libavutil 54. 15.100 / 54. 15.100 | |
libavcodec 56. 13.100 / 56. 13.100 | |
libavformat 56. 15.102 / 56. 15.102 | |
libavdevice 56. 3.100 / 56. 3.100 | |
libavfilter 5. 2.103 / 5. 2.103 | |
libswscale 3. 1.101 / 3. 1.101 | |
libswresample 1. 1.100 / 1. 1.100 |
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 "ofMain.h" | |
#include "ofApp.h" | |
//======================================================================== | |
int main( ){ | |
ofSetupOpenGL(1024,768,OF_WINDOW); // <-------- setup the GL context | |
// this kicks off the running of my app | |
// can be OF_WINDOW or OF_FULLSCREEN | |
// pass in width and height too: |
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
Section "ServerLayout" | |
Identifier "Default Layout" | |
Screen "Default Screen" 0 0 | |
EndSection | |
Section "Module" | |
Load "glx" | |
EndSection | |
Section "Monitor" |