Re: Problem loading audio data with AVIStreamRead
- From: Kirk Johansen <kirk.johansen@xxxxxxxxx>
- Date: Mon, 20 Mar 2006 12:25:11 -0500
On Fri, 17 Mar 2006 07:12:19 +0100, "Alessandro Angeli [MVP::DS/MF]" <nobody@xxxxxxxxxxxxxxxxxx>
wrote:
duckman wrote:
Many of the waveformatextension stucturs for mp3 I have
opened from avi files don't look valid when inpected.
They all seam to work anyway though. I dont know why this
is.
That's new to me: it's the first time I see such an
apparently invalid structure.
IMHO the best test is to open the file in virtualdub. As
virtual dub only supports vfw filters you will know
strait away if the file is playable through the vfw
available on the system in question.
Unfortunately, that's not exactly true: VD can read far more
stuff than VFW can, because it uses its own AVI parsing code
instead of AVIFile. If VD can play an AVI, that only implies
the system contains WMM codecs to decode the AVI data, with
the exception of MJPEG, since VD has its own decoder. But
such a file may still be unplayable using VFW.
Another question about playing .avi files with vfw. Although the video plays
ok, I've noticed that the quality of the video is not as good as when I play it
with wxMediaCtrl or ffmpeg/sdl. It is not as sharp as it is using the other methods.
Perhaps what I'm seeing is call aliasing. I'm basically using the method in the NeHe
example to play the video. This example, doesn't play sound, so I'm trying to add that.
Is there a way to get the video to look better? I'm using AVIStreamGetFrame() to get the
next video frame and display it with calls to DrawDibDraw() and glTexSubImage2D().
Kirk
.
- Follow-Ups:
- Re: Problem loading audio data with AVIStreamRead
- From: duckman
- Re: Problem loading audio data with AVIStreamRead
- From: duckman
- Re: Problem loading audio data with AVIStreamRead
- References:
- Re: Problem loading audio data with AVIStreamRead
- From: The March Hare [MVP]
- Re: Problem loading audio data with AVIStreamRead
- From: Kirk Johansen
- Re: Problem loading audio data with AVIStreamRead
- From: Kirk Johansen
- Re: Problem loading audio data with AVIStreamRead
- From: Alessandro Angeli [MVP::DS/MF]
- Re: Problem loading audio data with AVIStreamRead
- From: Kirk Johansen
- Re: Problem loading audio data with AVIStreamRead
- From: Alessandro Angeli [MVP::DS/MF]
- Re: Problem loading audio data with AVIStreamRead
- From: Kirk Johansen
- Re: Problem loading audio data with AVIStreamRead
- From: Alessandro Angeli [MVP::DS/MF]
- Re: Problem loading audio data with AVIStreamRead
- From: duckman
- Re: Problem loading audio data with AVIStreamRead
- From: Alessandro Angeli [MVP::DS/MF]
- Re: Problem loading audio data with AVIStreamRead
- Prev by Date: Re: PlaySound() returns TRUE value but nothing happens.
- Next by Date: Re: Removed WinMM WDM Device; can not add back; no sound
- Previous by thread: Re: Problem loading audio data with AVIStreamRead
- Next by thread: Re: Problem loading audio data with AVIStreamRead
- Index(es):
Relevant Pages
|