Aforge avi writer biography



Aforge avi writer biography

  • Aforge avi writer biography wikipedia
  • Aforge avi writer biography images
  • Avi writer wikipedia
  • Aforge avi writer biography death
  • Aforge avi writer biography images!

    Reading/writing video files using FFmpeg

    AForge.NET framework provides classes to read and write video files through
    FFmpeg library (video data supported only).
    This API better features and robustness compared to the old Video for Windows interface.

    VideoFileReader class

    The class provides access to different video files using FFmpeg library.

    It allows getting access to every video frame
    so it could be processed individually.

    // create instance of video reader VideoFileReader reader = new VideoFileReader( ); // open video file reader.Open( "test.avi" ); // check some of its attributes Console.WriteLine( "width: " + reader.Width ); Console.WriteLine( "height: " + reader.Height ); Console.WriteLine( "fps: " + reader.FrameRate ); Console.WriteLine( "codec: " + reader.CodecName ); // read 100 video frames out of it for ( int i = 0; i < 100; i++ ) { Bitmap videoFrame = reader.ReadVideoFrame( ); // process the frame somehow // ...

    // dispose the frame when it is no longer r