Re: AVI file format documentation

2008-04-12 Thread Andrew Talbot
While we are on the subject of AVI files: could someone please take a look
at the function IAVIStream_fnWriteData() in avifil32/avifile.c? There is an
unused variable dwPos (line 1326), which has been there since this
function was first implemented (2002-10-18), I could just remove this
variable, but I think the calculation of available space may be incorrect
anyway. Comments please!

Thanks,

-- 
Andy.






Re: AVI file format documentation

2008-04-11 Thread Dmitry Timoshkov
Dan Kegel [EMAIL PROTECTED] wrote:

 Maarten stumbled across what he said was very useful
 documentation about the AVI file format.  For future reference,
 here it is:
 http://sunsson.iptime.org/projects/juliet/wiki/MediaFileFormat

AVI files are just RIFF files, and RIFF file format is very well documented,
and should be well supported in Wine: mmioOpen, mmioDescend, etc.

Both dlls/mciavi32 and dlls/avifil32 are able to parse and play AVI files.

-- 
Dmitry.




Re: AVI file format documentation

2008-04-11 Thread Maarten Lankhorst
Hello Dmitry,

2008/4/11, Dmitry Timoshkov [EMAIL PROTECTED]:
 Dan Kegel [EMAIL PROTECTED] wrote:
  Maarten stumbled across what he said was very useful
   documentation about the AVI file format.  For future reference,
   here it is:
   http://sunsson.iptime.org/projects/juliet/wiki/MediaFileFormat
 AVI files are just RIFF files, and RIFF file format is very well documented,
  and should be well supported in Wine: mmioOpen, mmioDescend, etc.

  Both dlls/mciavi32 and dlls/avifil32 are able to parse and play AVI files.
I don't think I can use that from quartz though. It uses the
asyncreader primitives and I don't believe there is such thing as a
IRiffReader interface. ;-)

Also, I don't think avifill and mciavi currently support seeking, that
is very important as well.

Cheers,
Maarten.




Re: AVI file format documentation

2008-04-11 Thread Dmitry Timoshkov
Maarten Lankhorst [EMAIL PROTECTED] wrote:

  Both dlls/mciavi32 and dlls/avifil32 are able to parse and play AVI files.
 I don't think I can use that from quartz though. It uses the
 asyncreader primitives and I don't believe there is such thing as a
 IRiffReader interface. ;-)

There is no such a thing as IRiffReader interface at all.

 Also, I don't think avifill and mciavi currently support seeking, that
 is very important as well.

That depends on what you mean by seeking. If that's what commonly used
for moving from one frame to another, or from one position in stream to
another there is nothing magic to implement.

-- 
Dmitry.




Re: AVI file format documentation

2008-04-10 Thread Dan Kegel
On Thu, Apr 10, 2008 at 11:42 AM, Dan Kegel [EMAIL PROTECTED] wrote:
 Maarten stumbled across what he said was very useful
  documentation about the AVI file format.  For future reference,
  here it is:
  http://sunsson.iptime.org/projects/juliet/wiki/MediaFileFormat

Sorry for the spam, but here's one more document he found
that deals with really big avi files:
http://the-labs.com/Video/odmlff2-avidef.pdf
- Dan