Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,389 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: media_play on a Panel lags like hell [Re: Pappenheimer] #283356
08/07/09 11:30
08/07/09 11:30
Joined: May 2009
Posts: 37
S
shiznitIII Offline
Newbie
shiznitIII  Offline
Newbie
S

Joined: May 2009
Posts: 37
hi! i really need help, im trying to play a video file that is 640*480. it works well but when i change the screen_mode to fullscreen, the video does not play on the entire screen just probably half of it. what should i do?

Re: media_play on a Panel lags like hell [Re: shiznitIII] #292624
10/05/09 12:57
10/05/09 12:57
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline
Serious User
pegamode  Offline
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I have the same problem.

Everytime I use media_play there's a lag of about 1 or 2 seconds.

Has someone solved this problem?

Regards,
Pegamode.

Re: media_play on a Panel lags like hell [Re: pegamode] #292630
10/05/09 14:18
10/05/09 14:18
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Originally Posted By: pegamode
I have the same problem.

Everytime I use media_play there's a lag of about 1 or 2 seconds.

Has someone solved this problem?

Regards,
Pegamode.


You can't overcome this problem, its due to how the media is streamed. When you use media_play, the media has to be loaded from virtual memory and this of course takes some time, hence the delay. If you want to have an instant sound playing then use a pre-defined SOUND* object. This way the media source is already in memory.

If it seems more than just a simple delay, then it is probably a codec or hardware fault, not the engine.

Last edited by DJBMASTER; 10/05/09 14:22.
Re: media_play on a Panel lags like hell [Re: DJBMASTER] #292647
10/05/09 16:58
10/05/09 16:58
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline
Serious User
pegamode  Offline
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
It's an avi without sound (xvid) and it's not a delay it's a real lag. The complete game freezes for about 2 seconds.

Re: media_play on a Panel lags like hell [Re: pegamode] #292648
10/05/09 17:03
10/05/09 17:03
Joined: Oct 2008
Posts: 683
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 683
Germany
It works with 1024 x 768(same things->AVI, divx codec).
Up to 1024+ and down to 640 x 480.

Re: media_play on a Panel lags like hell [Re: Ayumi] #292650
10/05/09 17:38
10/05/09 17:38
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline
Serious User
pegamode  Offline
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Which codec exactly do you use?

We use the free Koepi xvid (avi is 1024x768px) and this 2 seconds lag occurs.


Re: media_play on a Panel lags like hell [Re: pegamode] #292652
10/05/09 17:46
10/05/09 17:46
Joined: Oct 2008
Posts: 683
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 683
Germany
I use "ffdshow video codec"(it s a package)
And VirtualDub 1.8.8 to convert and compress.

Page 3 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1