• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

AVI SDK

  • Thread starter Bill Cunningham
  • Start date
B

Bill Cunningham

Flightless Bird
I would like to build an AVI viewer and diagnostic for windows. Are
there specific libraries that are needed? I have the specs and the headers
for C but need something to link to. I'm using gcc and lcc as compilers. I
know several BMPs can be combined into an AVI. Does the win32 API have the
necessary libraries ?

Bill
 
A

Andrew McLaren

Flightless Bird
On 8/03/2010 07:22, Bill Cunningham wrote:
> I would like to build an AVI viewer and diagnostic for windows. Are
> there specific libraries that are needed? I have the specs and the headers
> for C but need something to link to. I'm using gcc and lcc as compilers. I
> know several BMPs can be combined into an AVI. Does the win32 API have the
> necessary libraries ?


Hi Bill,

The stuff you need is in the Windows SDK:

http://msdn.microsoft.com/en-us/windows/bb980924.aspx

It is a free download. It contains API documentation, headers,
libraries, samples, the Microsoft Windows C/C++ compilers (command-line
version), and the MSBUILD build utilities.

You'll find info about AVI files under the "Windows Multimedia"
subsection of Win32 and COM Development, Graphics and Multimedia.

You might be able to jig the SDK bits to work with gcc or lcc. But in
the first instance, I'd recommend using the Microsoft C/C++ compiler
until you've got the hang of the API. Then have a go at porting your
working project from MS C to gcc.

Hope it helps,

Andrew

--
amclar at optusnet dot com dot au
 
B

Bill Cunningham

Flightless Bird
"Andrew McLaren" <andrew@invalid.domain.com> wrote in message
news:uWyBdekvKHA.4492@TK2MSFTNGP05.phx.gbl...
> Hi Bill,
>
> The stuff you need is in the Windows SDK:
>
> http://msdn.microsoft.com/en-us/windows/bb980924.aspx
>
> It is a free download. It contains API documentation, headers, libraries,
> samples, the Microsoft Windows C/C++ compilers (command-line version), and
> the MSBUILD build utilities.
>
> You'll find info about AVI files under the "Windows Multimedia" subsection
> of Win32 and COM Development, Graphics and Multimedia.
>
> You might be able to jig the SDK bits to work with gcc or lcc. But in the
> first instance, I'd recommend using the Microsoft C/C++ compiler until
> you've got the hang of the API. Then have a go at porting your working
> project from MS C to gcc.
>
> Hope it helps,
>
> Andrew
>

I still don't know which SDK on the page you mentioned has AVI file
development.

Bill
 
A

Andrew McLaren

Flightless Bird
On 10/03/2010 09:24, Bill Cunningham wrote:
> I still don't know which SDK on the page you mentioned has AVI file
> development.



They all do.

If in doubt, read this section on the page:

<quote>
To find the right Windows SDK release for your needs, refer to the
“Which SDK is right for me?” table. In most cases, you should use the
most recent Windows SDK release, which supports several Windows
operating systems and .NET Framework versions. For more information, see
Frequently Asked Questions (FAQ).
</quote>

Most likely you'll want:

http://go.microsoft.com/fwlink/?LinkID=150217&clcid=0x409


Andrew
 
B

Bill Cunningham

Flightless Bird
"Andrew McLaren" <andrew@invalid.domain.com> wrote in message
news:-OhfxHm9vKHA.732@TK2MSFTNGP06.phx.gbl...
> On 10/03/2010 09:24, Bill Cunningham wrote:
>> I still don't know which SDK on the page you mentioned has AVI file
>> development.

>
>
> They all do.
>
> If in doubt, read this section on the page:
>
> <quote>
> To find the right Windows SDK release for your needs, refer to the “Which
> SDK is right for me?” table. In most cases, you should use the most recent
> Windows SDK release, which supports several Windows operating systems and
> .NET Framework versions. For more information, see Frequently Asked
> Questions (FAQ).
> </quote>
>
> Most likely you'll want:
>
> http://go.microsoft.com/fwlink/?LinkID=150217&clcid=0x409


I couldn't get it to install. I got Error messages. I can get platform
SDK to install. Is that what I want?

Bill
 
A

Andrew McLaren

Flightless Bird
On 11/03/2010 01:29, Bill Cunningham wrote:
>
> I couldn't get it to install. I got Error messages. I can get platform
> SDK to install. Is that what I want?
>
> Bill



Maybe; install it, and see if it has the info you need.

Windows has several different API sets which work with multimedia data
such as AVI files, depending on the context - eg MCI, AVIFile, Media
Encoder, DirectShow, WPF, and even Silverlight. Since you mentioned gcc
I assumed you are working at a low level, and are looking for fairly
primitive C/C++ type APIs. DirectShow is probably the most versatile
current API for C++. Note that it is based on COM, not "raw" Win32.

If you want to start just by reading the SDK documentation, you'll find
everything here online at:

http://msdn.microsoft.com/en-us/library/default.aspx

Especially:
http://msdn.microsoft.com/en-us/library/dd390351(VS.85).aspx
http://msdn.microsoft.com/en-us/library/dd375470(VS.85).aspx

You seem to be having a lot of difficulty with some very basic steps in
this project. Nothing wrong with that - maybe Windows is not the
platform your programming experience comes from. But at this rate you
may need a *lot* of assistance before you get your Win32-based AVI
Viewer up and and running. You may want to try looking around in
newsgroups such as:

microsoft.public.win32.programmer.mmedia

microsoft.public.win32.programmer.directx.video

Many folks there are fulltime multimedia developers working with C and C++.
 
Top