Re: Problem loading audio data with AVIStreamRead

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • Re: Re: Re: Re: Windows Explorer Crash - need help
    ... Opening the file in some video editor (VirtualDub, ... I downloaded three avi ... having to restart Windows Explorer occurs, BUT it does play in MP. ... When I run Windows Explorer directly, and click on the three files, ...
    (microsoft.public.windowsxp.general)
  • Re: theres sound but no video
    ... AVI files is a Toshiba Notebook or Laptop, not sure one, and I am not ... texting her and asking her to say what WMP says on the menu ... video part of certain AVI files as well. ... found out that now I can play the AVI files that use to not work. ...
    (microsoft.public.windowsmedia.player)
  • 20% off Galaxy Tab Video Converter-Galaxy Tab play AVI files
    ... "Does Galaxy Tab play AVI files?" ... 264 video files. ...
    (microsoft.public.windowsmedia.player.mac)
  • Re: Xbox MCX and Video
    ... The fact that MCX cannot play AVI files is a huge shortcoming. ... digital camera records clips to AVI. ... >> shows an image of each video in the thumbnail. ...
    (microsoft.public.windows.mediacenter)
  • Re: ANYONE got any idea how to use Toast (version 8)?
    ... to record as mpeg or avi files. ... The limits are one video and one audio stream, ... not every program can play all ... It is important to note that this is a contest, codec developers are always ...
    (comp.sys.mac.apps)