Click here to Skip to main content
15,884,012 members
Articles / Desktop Programming / MFC
Article

Avitowmv sample compressed AVI file support

Rate me:
Please Sign up or sign in to vote.
3.67/5 (3 votes)
11 Apr 2001 149.3K   2.2K   44   20
This article demonstrates how to modify the'avitowmv' sample to support compressed AVI files

Introduction

If you are using the Windows Media SDK, you will probably know the sample source named 'avitowmv'. This is an example that shows how to encode .asf files using the WMF SDK. Unfortunately, the sample doesn't not support compressed AVI video files.

By adding a few lines of code you can change the source to support compressed AVI files.

The Code

If you want to uncompress video frames you can use AVIStreamGetFrame() function. Also, you can modify the existing code slightly to configur Input Properties if you wish.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Korea (Republic of) Korea (Republic of)
Languages: VC++, ANSI C, gcc, CC(Solaris), VB, HTML
OS: Windows, UNIX, Solaris, Linux, HP-UX, AIX
Tools: InstallShield, WiseInstall, etc.
Databases: Oracle, Informix, Altibase, SQL Server

Programming skills: Multi-threading, Multi-platform, Multimedia Programming, Network/Server Programming, UI Controls Programming.

Comments and Discussions

 
GeneralASF Writter Pin
ElQuijote3-May-05 0:18
ElQuijote3-May-05 0:18 
Generalerror Pin
0gibab5-Aug-04 15:05
0gibab5-Aug-04 15:05 
GeneralASF writer Pin
Anonymous18-Jun-04 20:58
Anonymous18-Jun-04 20:58 
GeneralASF writer Pin
suhasraohs23-Apr-04 1:51
suhasraohs23-Apr-04 1:51 
GeneralRe: ASF writer Pin
liuqulai15-Jun-04 15:14
liuqulai15-Jun-04 15:14 
Generalsource files missing Pin
Member 35173318-Apr-03 8:54
Member 35173318-Apr-03 8:54 
there's only main.cpp

Where are the other source files?
Generalurgent ASF to WMV Pin
Reem_CIS_code8-Mar-03 4:30
Reem_CIS_code8-Mar-03 4:30 
GeneralRe: urgent ASF to WMV Pin
skyonsky_sofool10-Jul-03 17:21
skyonsky_sofool10-Jul-03 17:21 
Generalavitowmv Pin
anat28-Oct-02 3:31
anat28-Oct-02 3:31 
Questionare you korean? Pin
Anonymous1-Oct-02 2:05
Anonymous1-Oct-02 2:05 
GeneralMemory leeks Pin
Anonymous23-Sep-02 2:31
Anonymous23-Sep-02 2:31 
GeneralRe: Memory leeks Pin
Christian Graus11-Jan-04 15:53
protectorChristian Graus11-Jan-04 15:53 
QuestionHow to add compressed video stream to wmv Pin
shining11-Jun-02 17:20
shining11-Jun-02 17:20 
AnswerRe: How to add compressed video stream to wmv Pin
16-Jun-02 15:15
suss16-Jun-02 15:15 
Questionfull source ? Pin
15-Apr-01 16:08
suss15-Apr-01 16:08 
AnswerRe: full source ? Pin
18-Apr-01 10:43
suss18-Apr-01 10:43 
GeneralGood Idea! But.... Pin
John Tan Jin Kiat12-Apr-01 8:34
John Tan Jin Kiat12-Apr-01 8:34 
GeneralRe: Good Idea! But.... Pin
18-Apr-01 10:55
suss18-Apr-01 10:55 
GeneralRe: Good Idea! But.... Pin
John Tan Jin Kiat22-Apr-01 7:25
John Tan Jin Kiat22-Apr-01 7:25 
GeneralRe: Good Idea! But.... Pin
liuqulai15-Jun-04 15:23
liuqulai15-Jun-04 15:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.