Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to play video with steady speed

$
0
0

@Jhovarie_Guiang wrote:

My codes looks like this…

#include “ofApp.h”

ofVideoPlayer video;

void ofApp::setup() {
video.loadMovie(“fight1.mp4”);
video.play();
}

void ofApp::update(){
video.update();
}

void ofApp::draw(){
video.draw(0,0,1024,768);
}

Whats wrong with this code? it play video but the speed of player always change some times the sound stops and play again the video frames change quickly and sometimes it is delay… I want to make it play with steady speed… any help?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles