| View previous topic :: View next topic |
| Author |
Message |
ChP Guest
|
Posted: Thu Jan 11, 2007 8:38 pm Post subject: AVI Video+Audio |
|
|
Hello everybody, (sorry for my bad english)
I intend to make a small application the aim is to rotate (90° right or
left) images of AVI files using "DELPHI 6" and the API's of the
"AVIFile32.dll".
I achieve to do so but my problem is about Audio. I am unenable to
include the audio stream picked into the source file to the output file.
Here is the structure of what I have done :
AVIFileOpen(..Output file..);
AVIFileCreateStream(..for the video..);
AVIStreamSetFormat(..for the video..);
for i:= 0 to Nb frames do
AVIStreamWrite(..each frame..);
VIStreamRelease(..video..);
....
AVIFileCreateStream(..for the audio..);
AVIStreamSetFormat(..for the audio..);
AVIStreamWrite(..audio stream..);
AVIStreamRelease(..audio..);
....
AVIFileRelease(..Output file..);
An analysis of the output file shows that it contains 2 streams. one
video and one audio. But when I play this file, I only see images but
there is no sound.
Thank you for your help.
Pierre |
|
| Back to top |
|
 |
Patrick Guest
|
Posted: Tue Jan 16, 2007 7:47 pm Post subject: Re: AVI Video+Audio |
|
|
Where's the AVIFile32.dll from??
BTW Don't ever again say "(sorry for my bad english)" |
|
| Back to top |
|
 |
ChP Guest
|
Posted: Wed Jan 17, 2007 2:23 am Post subject: Re: AVI Video+Audio |
|
|
Patrick a écrit :
| Quote: | Where's the AVIFile32.dll from??
|
Sorry, it is AVIFil32.dll. It is a Windows API (Windows\System32\..)
Anyway, my problem is solved. It was because I used WAVEFORMAT instead
of WAVEFORMATEX.
| Quote: |
BTW Don't ever again say "(sorry for my bad english)"
|
What BTW means ?
Pierre.
|
|
| Back to top |
|
 |
Patrick Guest
|
Posted: Wed Jan 17, 2007 4:21 am Post subject: Re: AVI Video+Audio |
|
|
By The Way
"ChP" <pr.chauveau (AT) free (DOT) fr> escribió en el mensaje
news:45ad3432$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Patrick a écrit :
Where's the AVIFile32.dll from??
Sorry, it is AVIFil32.dll. It is a Windows API (Windows\System32\..)
Anyway, my problem is solved. It was because I used WAVEFORMAT instead of
WAVEFORMATEX.
BTW Don't ever again say "(sorry for my bad english)"
What BTW means ?
Pierre.
|
|
|
| Back to top |
|
 |
|