Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/19/24 18:45
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, kzhao, 7th_zorro), 714 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Why are videos lagging #349816
12/11/10 11:15
12/11/10 11:15
Joined: Sep 2009
Posts: 496
P
Progger Offline OP
Senior Member
Progger  Offline OP
Senior Member
P

Joined: Sep 2009
Posts: 496
Hi i found out how to play a movie on a PAnel but my Problem s the video is lagging although wehen i play it with irfan view it plays fluently what can i do im using a .wmv video but the video is tottally hanging
THanks for ur help
and i also have 300 fps
WFG PRogger laugh


asking is the best Way to get help laugh laugh laugh
Re: Why are videos lagging [Re: Progger] #349933
12/12/10 13:46
12/12/10 13:46
Joined: Sep 2009
Posts: 496
P
Progger Offline OP
Senior Member
Progger  Offline OP
Senior Member
P

Joined: Sep 2009
Posts: 496
what can i do against it?


asking is the best Way to get help laugh laugh laugh
Re: Why are videos lagging [Re: Progger] #350450
12/16/10 03:55
12/16/10 03:55
Joined: Jan 2006
Posts: 245
PA
Garrettwademan Offline
Member
Garrettwademan  Offline
Member

Joined: Jan 2006
Posts: 245
PA
My only suggestion is to look at what I have below...my video is on a panel and I see no latency at all, the video is crisp, clear and streaming perfectly.
Code:
ENTITY* video_in_panel;

function control_streaming_video_window(){
	my.pan += 270;
	my.x = 50;
	my.y = 1;
	my.z = -11;
	my.ambient = 25;
	my.shadow = on;
	
	while(1){
		//CHECK FOR CHANGES FOR THIS HTML WINDOW
		wait(1);
	}
}

function main(){
//Some code
video_in_panel = ent_create("streaming_video_holder.mdl",vector(0,0,0),control_streaming_video_window);
streaming_video_handle = media_loop("streaming_video.mpg",bmap_for_entity(video_in_panel,0),100);
//Some code
}




Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com

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