Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, Aku_Aku, 7th_zorro, Ayumi), 1,080 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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