![]() |
|
Avi files |
superstar4410
Member #926
January 2001
![]() |
Does allegro have any commands that will Thanks Don't take yourself too seriously, but do take your responsibilities very seriously. |
livewire
Member #1,083
March 2001
|
Yes...isn't there?? An addon I mean? |
Matt Smith
Member #783
November 2000
|
There are so many different CODECS used with avis. It is unlikely that an AVI lib could play many of them. I can see 2 choices, 1) your allegro program (windows only) calls the Windows Media Control to play any AVI 2) Use a Windows Video Editing program to convert to a simple format which the player code can handle. |
superstar4410
Member #926
January 2001
![]() |
do you have any code for this Don't take yourself too seriously, but do take your responsibilities very seriously. |
Xaron
Member #447
June 2000
|
Go to your favorite search-engine and find some example-code on calling the media-player. It works most likely with OLE-embedding or something like that. Perhaps you're better off converting the avi to flic: IIRC a flic-player is available under allegro. Note that this program won't be portable! (OLE is AFAICT only available under windows(-emulators) and that goes for the afore-mentioned media-player too). Xaron |
superstar4410
Member #926
January 2001
![]() |
how do I convert the avi file and whats the code to play it using that other stuff Don't take yourself too seriously, but do take your responsibilities very seriously. |
Bob
Free Market Evangelist
September 2000
![]() |
The code example is in allegro/examples/exfli.c The conversion can be done with (almost) any video editing software, including VirtualDub -- |
|