Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (AndrewAMD, EvanTJ, Dbat), 5,483 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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