Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 06/30/24 02:01
Lapsa's very own thread
by Lapsa. 06/26/24 12:45
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (bigsmack), 1,009 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 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: 681
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 681
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: 681
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 681
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 | chip programmers | 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