Click here to Skip to main content
12,750,464 members (37,556 online)
Click here to Skip to main content
Add your own
alternative version


501 bookmarked
Posted 12 Jun 2004

A Simple C# Wrapper for the AviFile Library

, 12 Nov 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
Edit AVI files in .NET.


This is an article for everyone who does not want to spend hours messing around with the AVIFile functions, if he only wants to read or change a simple AVI video. I have wrapped the most important AVIFile functions into three easy to use C# classes that can handle the following tasks:

  • Read images from the video stream.
  • Decompress a compressed video stream.
  • Compress an uncompressed video stream.
  • Change the compression of a video stream.
  • Export the video stream into a separate .avi file.
  • Export the audio stream into a .wav file.
  • Copy a couple of seconds from audio and video stream into a new .avi file.
  • Add sound from a .wav file to the video.
  • Create a new video stream from a list of bitmaps.
  • Add frames to an existing video stream, compressed or not.
  • Insert frames into a stream.
  • Copy or delete frames from a stream.

These features cover the common use cases like creating a video from a couple of images and a wave sound, extracting the sound track from a video, cutting out short clips, or grabbing a single picture from a movie.

This article has got two sections:

  • First, I'll explain the demo application so that you can use it to explore the library on your own.
  • Then, I'll explain how the library works step by step.

How to use the library - A walk through the demo application

The Explore tab

The Explore tab lets you explore an AVI file, and offers simple tasks that don't need editable streams:

At the top of the form, you can choose the AVI file you want to explore. text.avi from the test data folder is pre-selected. On the left side, you can display header information about the video and the wave sound stream (if available). Also, you can see image frames from the video in a PictureBox:

The images are read by a VideoStream object. GetFrameOpen prepares the stream for decompressing frames, GetFrameClose releases the resources used to decompress the frame, and GetBitmap decompresses a frame and converts it to a System.Drawing.Bitmap.

AviManager aviManager = new AviManager(txtAviFileName.Text, true);
VideoStream aviStream = aviManager.GetVideoStream();
picFrame.Image = 

In the middle of the demo form, you can work with whole streams:

Decompress removes the compression from a video stream. It creates a new file and video stream, decompresses each frame from the old stream, and writes it into the new stream. The result is a large new .avi file with the same video but no compression.

Compress changes the compression of the video, or applies compression to an uncompressed video. It does the same as Uncompress, but compresses the new stream. These two functions use the same method CopyFile:

private void CopyFile(String newName, bool compress){
    //open compressed file
    AviManager aviManager = 
        new AviManager(txtAviFileName.Text, true);
    VideoStream aviStream = aviManager.GetVideoStream();
    //create un-/re-compressed file
    AviManager newManager = 
        aviStream.DecompressToNewFile(newName, compress);

    //close compressed file
    //save and close un-/re-compressed file

Whenever an instance of VideoStream creates a compressed stream, it asks you for a codec and settings:

Extract Bitmaps splits the video into many separate bitmap files:

VideoStream stream = aviManager.GetVideoStream();

String path = @"..\..\testdata\";
for(int n=0; n<stream.CountFrames; n++){
    stream.ExportBitmap(n, path+n.ToString()+".bmp");


Of course, you can save the images in any format. ExportBitmap is just a shortcut for these three lines:

Bitmap bmp = stream.GetBitmap(position);

Extract Video copies the whole video stream into a new AVI file. You can use it to get rid of all the other streams like MIDI, text and Wave sound.

The lower box deals with Wave sound. Extract Sound copies the whole sound stream into a Wave file. This is not a big task, it requires only four lines of code:

AviManager aviManager = 
    new AviManager(txtAviFileName.Text, true);
AudioStream audioStream = aviManager.GetWaveStream();
audioStream.ExportStream( @"..\..\testdata\sound.wav" );

Extract a few Seconds lets you copy video and sound between second X and second Y. First, a CopyForm dialog lets you enter X and Y, then these parts are cut out of the video and sound streams:

AviManager aviManager = new AviManager(txtAviFileName.Text, true);
VideoStream aviStream = aviManager.GetVideoStream();
CopyForm dialog = new CopyForm(0,
  aviStream.CountFrames / aviStream.FrameRate);
if (dialog.ShowDialog() == DialogResult.OK) {
  int startSecond = dialog.Start;
  int stopSecond = dialog.Stop;

  AviManager newFile = aviManager.CopyTo(
    "..\\..\\testdata\\video.avi", startSecond, stopSecond);

Add Sound lets you choose a .wav file, and adds it to the video. You can use this feature to add a sound track to a silent video, for example, re-add the sound to a video extracted with Extract Video. Adding sound is a simple task of three lines:

String fileName = GetFileName("Sounds (*.wav)|*.wav");
if(fileName != null){
    AviManager aviManager = 
        new AviManager(txtAviFileName.Text, true);

The last set of functions is about creating new video streams. Enter a list of image files in the box and animate them:

Create uncompressed builds a new video from the images, and saves it without any compression. Create and Compress does the same, except that it displays the compression settings dialog and compresses the images. Both methods create a new file, and pass a sample bitmap to AddVideoStream. The sample bitmap is used to set the format of the new stream. Then, all the images from the list are added to the video.

//load the first image
Bitmap bitmap = (Bitmap)Image.FromFile(txtFileNames.Lines[0]);
//create a new AVI file
AviManager aviManager = 
    new AviManager(@"..\..\testdata\new.avi", false);
//add a new video stream and one frame to the new file
VideoStream aviStream = 
    aviManager.AddVideoStream(true, 2, bitmap);

Bitmap bitmap;
int count = 0;
for(int n=1; n<txtFileNames.Lines.Length; n++){
    if(txtFileNames.Lines[n].Trim().Length > 0){
        bitmap = 

Add Frames appends the images to the existing video stream. To an uncompressed video stream, we could append frames by simply opening the stream and adding frames as usual. But a compressed stream cannot be re-compressed. AVIStreamWrite - used by AddFrame - would not return any error; but anyway, it would add the new frames uncompressed and produce nothing but strangely colored pixel storms. To add frames to a compressed stream, the existing frames must be decompressed and added to a new compressed stream. Then the additional frames can be added to that stream:

//open file
Bitmap bmp = (Bitmap)Image.FromFile(txtFileNames.Lines[0]);
AviManager aviManager = 
    new AviManager(txtAviFileName.Text, true);
VideoStream aviStream = aviManager.GetVideoStream();

//streams cannot be edited - copy to a new file
AviManager newManager = aviStream.DecompressToNewFile(
                        @"..\..\testdata\temp.avi", true);
aviStream = newManager.GetOpenStream(0);

//add images
Bitmap bitmap;
for(int n=0; n<txtFileNames.Lines.Length; n++){
    if(txtFileNames.Lines[n].Trim().Length > 0){
        bitmap = 

aviManager.Close(); //close old file
newManager.Close(); //save and close new file

//delete old file, replace with new file

Now that you know how to use the AVIFile wrapper classes, let's have a look at the background.

The Edit tab

The Edit tab demonstrates tasks for editable AVI streams, like pasting frames at any position in the stream, or changing the frame rate:

When you have chosen a file to edit, an editable stream is created from the video stream, and the editor buttons become enabled. A normal video stream is locked; for inserting and deleting frames, you need an editable stream:

AviManager file = new AviManager(fileName, true);
VideoStream stream = file.GetVideoStream();
EditableVideoStream editableStream = 
           new EditableVideoStream(stream);

On the left side, you can copy or cut frame sequences, and paste them at another position in the same stream:

Copying frames from one stream, and pasting them into another or the same stream, is only two lines of code:

//copy frames
IntPtr copiedData = editableStream.Copy(start, length);

//insert frames
editableStream.Paste(copiedData, 0, position, length);

There is no other method for deleting frames than just cut and forget them:

//cut and paste frames
IntPtr copiedData = editableStream.Cut(start, length);
editableStream.Paste(copiedData, 0, position, length);

//delete frames == cut without paste
IntPtr deletedData = editableStream.Cut(start, length);

In the middle of the dialog, you can insert frames from image files anywhere in the stream, and change the frame rate to make the video play back slower or faster:

We can paste only streams, not bitmaps, so the bitmaps from the list are written into a temporary AVI file and then pasted as a stream:

//create temporary video file
String tempFileName = System.IO.Path.GetTempFileName() + ".avi";
AviManager tempFile = new AviManager(tempFileName, false);

//write the new frames into the temporary video stream
Bitmap bitmap = 
tempFile.AddVideoStream(false, 1, bitmap);
VideoStream stream = tempFile.GetVideoStream();

for (int n=1; n<txtNewFrameFileName.Lines.Length; n++) {
   if (txtNewFrameFileName.Lines[n].Trim().Length > 0) {

//paste the video into the editable stream
editableStream.Paste(stream, 0,
   (int)numPastePositionBitmap.Value, stream.CountFrames);

Do you find your video too slow, or too fast? Tell the player application to play more/less frames per second:

Avi.AVISTREAMINFO info = editableStream.StreamInfo;
info.dwRate = (int)(numFrameRate.Value * 10000);
info.dwScale = 10000;

The last box is not for editing, it is only a preview player. You should preview your editable stream before saving it to an AVI file.

A preview player is easy to implement, you only need a PictureBox and the video stream you want to play. A label displaying the current frame index can be helpful, too. A start button, a stop button, and there you are:

private void btnPlay_Click(object sender, EventArgs e) {
    player = new AviPlayer(editableStream, 
                pictureboxPreview, labelFrameIndex);
    player.Stopped += new System.EventHandler(player_Stopped);

private void player_Stopped(object sender, EventArgs e) {
           new SimpleDelegate(SetPreviewButtonsState));

private void SetPreviewButtonsState() {
        btnPlay.Enabled = ! player.IsRunning;
        btnStop.Enabled = player.IsRunning;

private void btnStop_Click(object sender, EventArgs e) {

How it works

AviManger manages the streams in an AVI file. The constructor takes the name of the file and opens it. Close closes all opened streams and the file itself. You can add new streams with AddVideoStream and AddAudioStream. New video streams are empty, Wave streams can only be created from Wave files. After you have created an empty video stream, use the methods of VideoStream to fill it. But what actually happens when you add a stream?

Create a video stream

There are two methods for creating a new video stream: create from a sample bitmap, or create from explicit format information. Both methods do the same, they pass their parameter on to VideoStream and add the new stream to the internal list of opened streams, to close them before closing the file:

public VideoStream AddVideoStream(
    bool isCompressed, //display the compression dialog,
     // create a compressed stream
    int frameRate, //frames per second
    int frameSize, //size of one frame in bytes
    int width, int height, PixelFormat format //format of 
                                              //the bitmaps

    VideoStream stream = new VideoStream(
        width, height, format);

    return stream;

public VideoStream AddVideoStream(
    bool isCompressed, //display the compression dialog,
      // create a compressed stream
    int frameRate, //frames per second
    Bitmap firstFrame //get the format from this image
      // and add it to the new stream

    VideoStream stream = new VideoStream(

    return stream;

Then, VideoStream uses the format data to create a new stream. It calls AVIFileCreateStream and, if writeCompressed says so, AVIMakeCompressedStream:

public VideoStream(
    int aviFile, //pointer to the file object
    bool writeCompressed, //true: create compressed stream
    int frameRate, //frames per second

    //store format information

    //create the stream

private void CreateStream(){
    //fill stream information
    strhdr.fccType = Avi.mmioStringToFOURCC("vids", 0);
    strhdr.fccHandler = Avi.mmioStringToFOURCC("CVID", 0);
    strhdr.dwScale = 1;
    strhdr.dwRate = frameRate;
    strhdr.dwSuggestedBufferSize = frameSize;
    strhdr.dwQuality = -1; //default
    strhdr.rcFrame.bottom = (uint)height;
    strhdr.rcFrame.right = (uint)width;
    strhdr.szName = new UInt16[64];

    //create the stream
    int result = Avi.AVIFileCreateStream(aviFile, 
                          out aviStream, ref strhdr);

        //create a compressed stream from 
        //the uncompressed stream

private void CreateCompressedStream(){
             new Avi.AVICOMPRESSOPTIONS_CLASS();
    options.fccType = (uint)Avi.streamtypeVIDEO;
    options.lpParms = IntPtr.Zero;
    options.lpFormat = IntPtr.Zero;

    //display the compression options dialog
      1, ref aviStream, ref options);

    //get a compressed stream
    Avi.AVICOMPRESSOPTIONS structOptions = 
    int result = Avi.AVIMakeCompressedStream(
        out compressedStream,
        ref structOptions, 0);

    //format the compressed stream

AVICOMPRESSOPTIONS_CLASS is the AVICOMPRESSOPTIONS structure as a class. Using classes instead of structures is the easiest way to deal with pointers to pointers. If you don't know what I'm talking about, you probably have never used AVISaveOptions or AVISaveV in .NET. Take a look at the original declaration:

BOOL AVISaveOptions(
  HWND hwnd,
  UINT uiFlags,
  int nStreams,
  PAVISTREAM * ppavi,

LPAVICOMPRESSOPTIONS is a pointer to a pointer to an AVICOMPRESSOPTIONS structure. In C#, structures are passed by value. If you pass a structure by ref, a pointer to the structure is passed. Instances of classes are always passed to methods as pointers. So a class-parameter by ref means a pointer to a pointer to the object. The C# declarations of AVISaveOptions and AVICOMPRESSOPTIONS are:

public static extern bool AVISaveOptions(
    IntPtr hwnd,
    UInt32 uiFlags,
    Int32 nStreams,
    ref IntPtr ppavi,

[StructLayout(LayoutKind.Sequential, Pack=1)]
    public struct AVICOMPRESSOPTIONS {
    public UInt32   fccType;
    public UInt32   fccHandler;
    public UInt32   dwKeyFrameEvery;
    public UInt32   dwQuality;
    public UInt32   dwBytesPerSecond;
    public UInt32   dwFlags;
    public IntPtr   lpFormat;
    public UInt32   cbFormat;
    public IntPtr   lpParms;
    public UInt32   cbParms;
    public UInt32   dwInterleaveEvery;

[StructLayout(LayoutKind.Sequential, Pack=1)]
    public UInt32   fccType;
    public UInt32   fccHandler;
    public UInt32   dwKeyFrameEvery;
    public UInt32   dwQuality;
    public UInt32   dwBytesPerSecond;
    public UInt32   dwFlags;
    public IntPtr   lpFormat;
    public UInt32   cbFormat;
    public IntPtr   lpParms;
    public UInt32   cbParms;
    public UInt32   dwInterleaveEvery;

    public AVICOMPRESSOPTIONS ToStruct(){
        returnVar.fccType = this.fccType;
        returnVar.fccHandler = this.fccHandler;
        returnVar.dwKeyFrameEvery = this.dwKeyFrameEvery;
        returnVar.dwQuality = this.dwQuality;
        returnVar.dwBytesPerSecond = this.dwBytesPerSecond;
        returnVar.dwFlags = this.dwFlags;
        returnVar.lpFormat = this.lpFormat;
        returnVar.cbFormat = this.cbFormat;
        returnVar.lpParms = this.lpParms;
        returnVar.cbParms = this.cbParms;
        returnVar.dwInterleaveEvery = this.dwInterleaveEvery;
        return returnVar;

With this workaround, we are able to call AVISaveOptions and (later on) AVISaveV in C#. Now, the new stream can be filled with image frames using AddFrame

public void AddFrame(Bitmap bmp){

    if (countFrames == 0){
       //  the format of the first frame defines the format of the stream
       SetFormat(writeCompressed ? compressedStream : aviStream,

    //lock the memory block
    BitmapData bmpDat = bmp.LockBits(
        new Rectangle(
        0,0, bmp.Width, bmp.Height),
        ImageLockMode.ReadOnly, bmp.PixelFormat);

    //add the bitmap to the (un-)compressed stream
    int result = Avi.AVIStreamWrite(
        writeCompressed ? compressedStream : aviStream,
        countFrames, 1,
        (Int32)(bmpDat.Stride * bmpDat.Height),
        0, 0, 0);

    //unlock the memory block

    //count the frames, so that we don't have to
    //call AVIStreamLength for every new frame

Now, we are able to fill an empty stream with images. But what can we do to add frames to an existing stream? Well, first, we have to open the stream with the third constructor.

Re-compress a video stream

public VideoStream(int aviFile, IntPtr aviStream){

    this.aviFile = aviFile;
    this.aviStream = aviStream;

    //read the stream's format
    int size = Marshal.SizeOf(bih);
    Avi.AVIStreamReadFormat(aviStream, 0, ref bih, ref size);
    Avi.AVISTREAMINFO streamInfo = GetStreamInfo(aviStream);

    //store the important format values
    this.frameRate = streamInfo.dwRate / streamInfo.dwScale;
    this.width = (int)streamInfo.rcFrame.right;
    this.height = (int)streamInfo.rcFrame.bottom;
    this.frameSize = bih.biSizeImage;
    this.countBitsPerPixel = bih.biBitCount;

    //get the count of frames that are already there
    int firstFrame = Avi.AVIStreamStart(aviStream.ToInt32());
    countFrames = 
       firstFrame + Avi.AVIStreamLength(aviStream.ToInt32());

If you are sure the video stream is not compressed, you can call AddFrame now. Otherwise, you have to decompress the existing frames, and recompress them into a new stream:

public AviManager DecompressToNewFile(String fileName, 
                                        bool recompress){
    //create a new AVI file
    AviManager newFile = new AviManager(fileName, false);

    //create a video stream in the new file
    Bitmap frame = GetBitmap(0);
    VideoStream newStream = 
        newFile.AddVideoStream(recompress, frameRate, frame);

    //decompress each frame and add it to the new stream
    for(int n=1; n<countFrames; n++){
        frame = GetBitmap(n);


    return newFile;

DecompressToNewFile creates a writeable copy of the stream in a new file. You can add frames to this new stream, close the new AviManager to save it, and then add the sound stream from the old file to complete the copy. Adding frames to a video is not easy, but this way it works.

Separate a stream

Sometimes, you might have a video file with sound, but you only need the silent video, or only the sound. It is not necessary to copy each frame, you can open the stream as usual and export it with AVISaveV. This works with all kinds of streams, only the compression options are different:

public override void ExportStream(String fileName){
                new Avi.AVICOMPRESSOPTIONS_CLASS();

    //for video streams
    opts.fccType = (UInt32)Avi.mmioStringToFOURCC("vids", 0);
    opts.fccHandler = (UInt32)Avi.mmioStringToFOURCC("CVID", 0);

    //for audio streams
    //opts.fccType = (UInt32)Avi.mmioStringToFOURCC("auds", 0);
    //opts.fccHandler = (UInt32)Avi.mmioStringToFOURCC("CAUD", 0);

    //export the stream
    Avi.AVISaveV(fileName, 0, 0, 1, ref aviStream, ref opts);

Import sound from a Wave file

Now, we are able to build a video from bitmaps, and extract sound from it. And how does the sound get into the file? We could use AVISaveV again, to combine the video and audio streams in a new file - but we don't have to. The easiest way to add a new audio stream is to open the Wave file as an AVI file with only one stream, and then copy that stream:

public void AddAudioStream(String waveFileName){
    //open the wave file
    AviManager audioManager = 
        new AviManager(waveFileName, true);
    //get the wave sound as an audio stream...
    AudioStream newStream = audioManager.GetWaveStream();
    //...and add it to the file

public void AddAudioStream(AudioStream newStream){
    Avi.AVISTREAMINFO streamInfo = new Avi.AVISTREAMINFO();
    Avi.PCMWAVEFORMAT streamFormat = new Avi.PCMWAVEFORMAT();
    int streamLength = 0;

    //read header info, format and length, 
    //and get a pointer to the wave data
    IntPtr waveData = newStream.GetStreamData(
        ref streamInfo,
        ref streamFormat,
        ref streamLength);

    //create new stream
    IntPtr aviStream;
    Avi.AVIFileCreateStream(aviFile, out aviStream, 
                                      ref streamInfo);

    //add format new stream
        aviStream, 0,
        ref streamFormat,

    //copy the raw wave data into the new stream
        aviStream, 0,
        Avi.AVIIF_KEYFRAME, 0, 0);


Copy a clip from video and sound

I have added this method, because many people asked me how this could be done. To copy a part of the video stream from second X to second Y, the indices of the first and last frames have to be calculated from the frame rate and second. For the Wave stream, we must calculate the byte offsets from samples per second, bits per sample, and the requested seconds. The rest is only copy and paste:

public AviManager CopyTo(String newFileName,
    int startAtSecond, int stopAtSecond) {
    AviManager newFile = new AviManager(newFileName, false);

    try {
        //copy video stream

        VideoStream videoStream = GetVideoStream();

        int startFrameIndex = 
             videoStream.FrameRate * startAtSecond;
        int stopFrameIndex = 
             videoStream.FrameRate * stopAtSecond;

        Bitmap bmp = videoStream.GetBitmap(startFrameIndex);

        VideoStream newStream = newFile.AddVideoStream(

        for (int n = startFrameIndex + 1; 
                     n <= stopFrameIndex; n++) {
            bmp = videoStream.GetBitmap(n);

        //copy audio stream

        AudioStream waveStream = GetWaveStream();

        Avi.AVISTREAMINFO streamInfo = 
                         new Avi.AVISTREAMINFO();
        Avi.PCMWAVEFORMAT streamFormat = 
                         new Avi.PCMWAVEFORMAT();
        int streamLength = 0;
        IntPtr ptrRawData = waveStream.GetStreamData(
            ref streamInfo,
            ref streamFormat,
            ref streamLength);

        int startByteIndex = waveStream.CountSamplesPerSecond
               * startAtSecond
               * waveStream.CountBitsPerSample / 8;

        int stopByteIndex = waveStream.CountSamplesPerSecond
               * stopAtSecond
               * waveStream.CountBitsPerSample / 8;

        ptrRawData = 
          new IntPtr(ptrRawData.ToInt32() + startByteIndex);

        byte[] rawData = 
          new byte[stopByteIndex - startByteIndex];
        Marshal.Copy(ptrRawData, rawData, 0, rawData.Length);

        streamInfo.dwLength = rawData.Length;
        streamInfo.dwStart = 0;

        IntPtr unmanagedRawData = 
        Marshal.Copy(rawData, 0, unmanagedRawData, 


    } catch (Exception ex) {
        throw ex;

    return newFile;

If you are still interested in AVI videos, download the wrapper library and the demo application. Finally, I dare to say: have fun with AVIFile!

Known issues

Adding frames to an existing stream does not work with all video codecs and/or bitmaps. You might get a StackOverflowException or broken frames. If you find out why this happens, please let me know.


  • 9th July, 2004 - updated downloads.
  • 3rd October, 2004 - new method AviManager.CopyTo.
  • 18th December, 2004 - new classes EditableVideoStream and AviPlayer, and a few memory leaks fixed.
  • 26th November, 2005 - removed performance reducers from VideoStream.GetBitmap.
  • 01st January, 2006 - Corrections for invalid colour depth and interlaced video in VideoStream.GetFrameOpen, new property VideoStream.FirstFrame. Thanks a lot to Michael Covington!


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Corinna John
Software Developer
Germany Germany
Corinna lives in Hanover/Germany and works as a C#/Delphi developer.

You may also be interested in...


Comments and Discussions

GeneralMy vote of 5 Pin
NicolasG24-Nov-12 10:19
memberNicolasG24-Nov-12 10:19 
GeneralMy vote of 5 Pin
Javier Jiménez19-Nov-12 0:16
memberJavier Jiménez19-Nov-12 0:16 
GeneralMy vote of 5 Pin
Edo Tzumer12-Nov-12 20:53
memberEdo Tzumer12-Nov-12 20:53 
QuestionProblem : Adding frame to Video Pin
sandeepGorant2-Nov-12 1:15
membersandeepGorant2-Nov-12 1:15 
Questionunable to start avifilestream Pin
putrevu lakshmi11-Oct-12 1:32
memberputrevu lakshmi11-Oct-12 1:32 
AnswerRe: unable to start avifilestream Pin
Corinna John11-Oct-12 11:08
memberCorinna John11-Oct-12 11:08 
QuestionDecompressToNewFile documentation is wrong Pin
x3n0ph0b3@yahoo.com4-Sep-12 9:25
memberx3n0ph0b3@yahoo.com4-Sep-12 9:25 
AnswerRe: DecompressToNewFile documentation is wrong Pin
Corinna John11-Oct-12 11:13
memberCorinna John11-Oct-12 11:13 
That looks pretty confusing. Maybe it has to do with some deprecated VfW-functions that have been partially removed in Windows7.
But I'm afraid I won't be of much help for the rest of the year, as I have to work on my thesis every night. Frown | :(
This statement is false.

Questionexception Pin
Anandagowda8-Jul-12 17:17
memberAnandagowda8-Jul-12 17:17 
AnswerRe: exception Pin
watchara.knot22-Jul-12 7:14
memberwatchara.knot22-Jul-12 7:14 
Questionbitmap to AVI conversion- Pin
Member 825274627-Jun-12 8:04
memberMember 825274627-Jun-12 8:04 
GeneralMy vote of 5 Pin
Charles Bryan8-Jun-12 0:31
memberCharles Bryan8-Jun-12 0:31 
QuestionProblem in inserting a frame in an existing video. Pin
shubhamjoshi15-May-12 1:44
membershubhamjoshi15-May-12 1:44 
QuestionSlow bitmap to avi creation with CVID (Cinepak) codec Pin
smpack19-Apr-12 3:19
membersmpack19-Apr-12 3:19 
Questionhow to write part of application widow to vga or usb out as video stream Pin
jayachanakya14-Mar-12 21:11
memberjayachanakya14-Mar-12 21:11 
QuestionChanging frame rate Pin
Member 768211925-Jan-12 22:40
memberMember 768211925-Jan-12 22:40 
QuestionCreate video from parts of other video Pin
asdsa29-Nov-11 1:42
memberasdsa29-Nov-11 1:42 
Question"Exception in VideoStreamGetFrameOpen!" Pin
CPBrendan23-Oct-11 2:12
memberCPBrendan23-Oct-11 2:12 
AnswerRe: "Exception in VideoStreamGetFrameOpen!" Pin
skain22-May-12 11:54
memberskain22-May-12 11:54 
GeneralRe: "Exception in VideoStreamGetFrameOpen!" Pin
watchara.knot22-Jul-12 7:17
memberwatchara.knot22-Jul-12 7:17 
GeneralRe: "Exception in VideoStreamGetFrameOpen!" Pin
Martin Lottering24-Sep-12 10:31
memberMartin Lottering24-Sep-12 10:31 
QuestionFLIP IMAGE Pin
Shargon_8511-Oct-11 3:34
memberShargon_8511-Oct-11 3:34 
QuestionBug in AddAudioStream() fixed Pin
goddessofworldgate8-Sep-11 11:23
membergoddessofworldgate8-Sep-11 11:23 
QuestionWorking with mpeg1 Pin
ankur.mu28-Jul-11 2:09
memberankur.mu28-Jul-11 2:09 
Questionerror in AVIfilegetstream: -2147205005 Pin
ridaria27-Jul-11 23:40
memberridaria27-Jul-11 23:40 

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
Web02 | 2.8.170215.1 | Last Updated 12 Nov 2012
Article Copyright 2004 by Corinna John
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid