Extracting AVI frames

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • QuickHare

    Extracting AVI frames

    I have an AVI file, of which I was hoping to extract a single frame (chosen by
    number) into a PictureBox in VB5 SP3. I was wondering if there was a simple
    method of doing this, even an API (which would be better)? It would not be saved
    to disk, just read into the PictureBox.

    Thanks in advance.

    --
    QuickHare
    Remove the NOT HERE to email direct.




  • Mike D Sutton

    #2
    Re: Extracting AVI frames

    > I have an AVI file, of which I was hoping to extract a single frame (chosen by[color=blue]
    > number) into a PictureBox in VB5 SP3. I was wondering if there was a simple
    > method of doing this, even an API (which would be better)? It would not be saved
    > to disk, just read into the PictureBox.[/color]

    Take a look over on Http://www.shrinkwrapvb.com/ for Ray's tutorials on working with AVI files, there's one there that will allow
    you to extract frames from AVI files which should give you some example code to get started with.
    Here's an old post that adds drawing functionality into Ray's DIB class so you needn't go via a file to display the extracted frame:

    If that doesn't get you what you need then you may need to start venturing into VFW and DirectShow which are the main video
    technologies offered by Windows.
    Hope this helps,

    Mike


    - Microsoft Visual Basic MVP -
    E-Mail: EDais@mvps.org
    WWW: Http://www.mvps.org/EDais/


    Comment

    Working...