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
3 registered members (ozgur, degenerate_762, 7th_zorro), 1,081 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Playing video #43253
03/27/05 04:05
03/27/05 04:05
Joined: Jan 2003
Posts: 710
T
Templar Offline OP
Developer
Templar  Offline OP
Developer
T

Joined: Jan 2003
Posts: 710
Hi,

I have some problems when trying to play a video with media_play. When I use the media player to play it, it looks nice and runs really smooth. When I play the same file with media_play in A6, the quality is worse and it plays jerky. I think that the engine plays the files basicaly the same way media player does so why the difference?

Re: Playing video [Re: Templar] #43254
03/27/05 04:55
03/27/05 04:55
Joined: Jul 2001
Posts: 1,269
Hopewell Jct, NY
Yulor Offline
Senior Developer
Yulor  Offline
Senior Developer

Joined: Jul 2001
Posts: 1,269
Hopewell Jct, NY
can you paste in your code? then we can help you more.

Re: Playing video [Re: Yulor] #43255
03/27/05 06:11
03/27/05 06:11
Joined: Jan 2003
Posts: 710
T
Templar Offline OP
Developer
Templar  Offline OP
Developer
T

Joined: Jan 2003
Posts: 710
thanx Yulor, but it's not about the code.

Lets say I have 640x480 "intro.avi" and play it in media player fullscreen. It plays smoothly and looks fine.

When I do this (and have higher resolution than 640x480)

media_play("intro.avi",null,100)

the quality is much worse and jerks appear, because the cpu can't handle the bitrate. The strange thing is that it obviously can when played in media player (and the bitrate is really low - say 2500kbps).

I remember JCL said something like "files played by media_play are actualy just handed over to DX" (that's the reason why you can't have them in resource) - so I wouldn't expect media player to behave differently from the engine.

Re: Playing video [Re: Templar] #43256
04/05/05 10:12
04/05/05 10:12
Joined: Oct 2003
Posts: 2,628
IL,US
FeiHongJr Offline
Expert
FeiHongJr  Offline
Expert

Joined: Oct 2003
Posts: 2,628
IL,US
i would think the problem is that the video is being projected full screen and its only 640x480 open a picture file thats 640x480 then blow it up to full screen it becomes pixelated. I would think the same thing is happening here. try to make the video a higher resolution or the same as your screen size. I havent had any problems playing movie files. When you run your game at 640x480 does it look messed up? if no then that is most likley your problem.


http://www.freewebs.com/otama_syndicate/index.htm - Each master to his own technique.

- Not me said the bee, Nor I said the fly.
Re: Playing video [Re: FeiHongJr] #43257
06/05/05 14:03
06/05/05 14:03
Joined: Jun 2005
Posts: 13
Lithuania,Vilnius
W
wendy Offline
Newbie
wendy  Offline
Newbie
W

Joined: Jun 2005
Posts: 13
Lithuania,Vilnius
I have 700MHz PC with 32MB video card and i had the same problem when i tried to play a video in my game, but i have found that reducing fps_max helps alot.


Moderated by  HeelX, Spirit 

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