Jump to content

Recommended Posts

I was playing around with the setObjectTexture and ctrlSetText functions, and after some time I made this, a kind of video player (actually it isn't a video just around 3000 frames running very fast). It works pretty well, only if you are stuck on 60FPS. The screen gets pretty bugged if you have a change of 3-4 fps but it doesn't apply for dialogs. Here's the mission if you want to test it. If the video and audio aren't synced just play with the sleep inside the functions. I converted the video to frames using VLC.

Share this post


Link to post
Share on other sites

We have BIS_fnc_playVideo. We can already play actual videos. You can see it in the Arma Campaigns.

No need to trick around with playing a fast diashow.

Share this post


Link to post
Share on other sites

You made 3000 pictures to setObjectTexture? That’s just waste of resources. You can play .ogv on both control and object texture regardless of frame rate as they use own thread

Share this post


Link to post
Share on other sites
9 hours ago, Dedmen said:

We have BIS_fnc_playVideo. We can already play actual videos. You can see it in the Arma Campaigns.

No need to trick around with playing a fast diashow.

I was searching something like that for 1 hour and didn't found anything xD so I tried another way.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×