Allegro Video Addon Resolution Cap?
When programming my game, I have a splash that shows up on startup. I've converted the 1080p 60fps avi file into an ogv file using ffmpeg2theora. When viewing the result, it is obvious it is in 1080p and 60 fps.
Below is the relevant code for the video.
4//begin 60 iterations per second ALLEGRO_TIMER
splash, ALLEGRO_VIDEO_POSITION_ACTUAL) > 11
, 1920 *
multiplyer, 1080 *
The problem is when I use a 1080p 60 fps video. It plays as if a 30fps video is put in, where it plays twice as fast with glitches. If I input a 720p 60fps video, it works just fine. Does ALLEGRO_VIDEO cap at 1080p 30fps? I'm just confused as to why the 720 version works while the 1080p version does not.
Do you by any chance have the video available somewhere? Allegro has no caps but perhaps there's some weird interaction between the file and the code. I tried with a 60FPS, 1080p file on my machine and it seemed to work ok (I've attached a copy for you to try, it's just a short video from some video game I nicked from the internet).
I tried to attach the video to this reply. Let's see how that goes.
EDIT: I also tried the code with your video as well. It also seemed to play at twice the speed.
Thread #616498. Printed from Allegro.cc
I'll look through it some more. Worst case scenario: the game starts with a 720p splash. It's not too big of an issue.
Thanks for the help.