Gamestudio Links
Zorro Links
Newest Posts
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
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
problem with media_play (avi files) #291047
09/23/09 06:42
09/23/09 06:42
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi,

we've got some avi files (xvid, 24bit, Koepi XviD 1.2.2 Codec).

When I try to play these files with media_play the engine crashes without any error message. In the logfile the last line printed is <avi-name> is opened.

Is it possible to play such avis with media_play or do we have to use another codec?

Regards,
Pegamode

Re: problem with media_play (avi files) [Re: pegamode] #291050
09/23/09 07:13
09/23/09 07:13
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
A crash of a CODEC can be considered a strong hint that you should better use another CODEC.

Re: problem with media_play (avi files) [Re: jcl] #291054
09/23/09 07:29
09/23/09 07:29
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Is there any free avi codec you would recommend?

By the way ... the avis are played in windows media player without any problem.

Last edited by pegamode; 09/23/09 09:04.
Re: problem with media_play (avi files) [Re: pegamode] #291383
09/24/09 19:50
09/24/09 19:50
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
MPEG?

Re: problem with media_play (avi files) [Re: Tobias] #292626
10/05/09 13:38
10/05/09 13:38
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I found out that the problem was not the video codec but the audio codec.

Currently I've got the problem that I have a lag of 1-2 secs when calling media_play ... in the manual a few milliseconds are mentioned, but not seconds :-(
and it's not a delay ... the whole game lags.

Any hints on that problem?

Regards,
Pegamode.

Re: problem with media_play (avi files) [Re: pegamode] #292739
10/06/09 13:42
10/06/09 13:42
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
What do you mean with "lag"? Just a bad frame rate when that movie is playing, or really a lag between video and audio?

Re: problem with media_play (avi files) [Re: jcl] #292745
10/06/09 15:14
10/06/09 15:14
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
The whole game hangs about 1-2 seconds when media_play is called (during that time the avi is not started at all) and then continues without any slowdown when the avi is played. It seems that the init of the codec freezes the whole game during that time. In window mode I see the display flickering two times black and then the avi starts ... maybe it's a problem between the codec and that graphic card driver.

Re: problem with media_play (avi files) [Re: pegamode] #292747
10/06/09 15:18
10/06/09 15:18
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
No, the CODEC has theoretically no access to the graphics card driver. So the problem is something else - maybe something hat happens when the CODEC loads the file, maybe the program that generated your movie file. But I don't think I can help here much. I've never written a CODEC and have not much experience with video file formats.

To be on the safe side, better use a standard format such as AVI/MPEG or WMV.

Re: problem with media_play (avi files) [Re: jcl] #293041
10/08/09 19:34
10/08/09 19:34
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
The file simply has to be loaded.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: problem with media_play (avi files) [Re: Superku] #293076
10/09/09 07:24
10/09/09 07:24
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Originally Posted By: H.F.Pohl
The file simply has to be loaded.


I don't understand what you want to tell us with that ?!?

Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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