Quantcast
Channel: arm - openFrameworks
Viewing all articles
Browse latest Browse all 147

Openframeworks CPU used 99%

$
0
0

Neiron wrote:

Raspberry Pi + rasbian + ofxOMXPlayer

Manual exec "make run" is good, CPU load ~27-36%

But if you use
Autostart exec for crontab or use any other method of startup

@reboot /usr/bin/startvideo

cat /usr/bin/startvideo

#!/bin/bash
cd /home/pi/openFrameworks/addons/ofxOMXPlayer/example-playlist/
make run

Result: CPU load ~97-99%

In main.ccp use code:

ofSetFrameRate(60);
ofSetVerticalSync(true);

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 147

Trending Articles