Click here to Skip to main content
13,189,884 members (60,817 online)
Click here to Skip to main content
Add your own
alternative version


43 bookmarked
Posted 11 Apr 2001

Avitowmv sample compressed AVI file support

, 11 Apr 2001
Rate this:
Please Sign up or sign in to vote.
This article demonstrates how to modify the'avitowmv' sample to support compressed AVI files
<!-- Download Links --> <!-- Main HTML starts here -->


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.


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


About the Author

JinHyuck Jung.
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.

You may also be interested in...


Comments and Discussions

GeneralASF Writter Pin
ElQuijote3-May-05 0:18
memberElQuijote3-May-05 0:18 
Generalerror Pin
0gibab5-Aug-04 15:05
member0gibab5-Aug-04 15:05 
GeneralASF writer Pin
Anonymous18-Jun-04 20:58
sussAnonymous18-Jun-04 20:58 
GeneralASF writer Pin
suhasraohs23-Apr-04 1:51
membersuhasraohs23-Apr-04 1:51 
GeneralRe: ASF writer Pin
liuqulai15-Jun-04 15:14
memberliuqulai15-Jun-04 15:14 
Generalsource files missing Pin
tahar.ktari18-Apr-03 8:54
membertahar.ktari18-Apr-03 8:54 
Generalurgent ASF to WMV Pin
Reem_CIS_code8-Mar-03 4:30
memberReem_CIS_code8-Mar-03 4:30 
GeneralRe: urgent ASF to WMV Pin
skyonsky_sofool10-Jul-03 17:21
memberskyonsky_sofool10-Jul-03 17:21 
Generalavitowmv Pin
anat28-Oct-02 3:31
memberanat28-Oct-02 3:31 
Questionare you korean? Pin
Anonymous1-Oct-02 2:05
sussAnonymous1-Oct-02 2:05 
GeneralMemory leeks Pin
Anonymous23-Sep-02 2:31
sussAnonymous23-Sep-02 2:31 
GeneralRe: Memory leeks Pin
Christian Graus11-Jan-04 15:53
memberChristian Graus11-Jan-04 15:53 
QuestionHow to add compressed video stream to wmv Pin
shining11-Jun-02 17:20
membershining11-Jun-02 17:20 
AnswerRe: How to add compressed video stream to wmv Pin
shinson16-Jun-02 15:15
membershinson16-Jun-02 15:15 
Questionfull source ? Pin
Anonymous15-Apr-01 16:08
memberAnonymous15-Apr-01 16:08 
AnswerRe: full source ? Pin
Jinhyuck Jung18-Apr-01 10:43
memberJinhyuck Jung18-Apr-01 10:43 
GeneralGood Idea! But.... Pin
John Tan Jin Kiat12-Apr-01 8:34
memberJohn Tan Jin Kiat12-Apr-01 8:34 
GeneralRe: Good Idea! But.... Pin
Anonymous18-Apr-01 10:55
memberAnonymous18-Apr-01 10:55 
GeneralRe: Good Idea! But.... Pin
John Tan Jin Kiat22-Apr-01 7:25
memberJohn Tan Jin Kiat22-Apr-01 7:25 
GeneralRe: Good Idea! But.... Pin
liuqulai15-Jun-04 15:23
memberliuqulai15-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.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171016.2 | Last Updated 12 Apr 2001
Article Copyright 2001 by JinHyuck Jung.
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid