Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

ofVideoPlayer in linux/osx, getCurrentFrame()

$
0
0

@icq4ever wrote:

Hi.

I just found that ofVideoPlayer::getCurrentFrame() is something wrong.
(it's starting with negative value)
I'm not sure it's related with OF. but definitely different result with windows environment.

for example. ..

ofVideoPlayer player
player.load("test.mp4");
...
player.update();
if(player.getCurrentFrame() == player.getTotalNumFrames()){
         // video ended
         // this block is never run on osx / linux but windows.
}

video codec : H.264, mp4 file.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles