Extracting images from .avi file

saurabh.geek

saurabh.geek

@saurabhgeek-njYKHe Oct 13, 2024
Hi,
I want to extract image from the .avi file & save the images into jpg format. I had gone through some matlab functions like getframe() etc, but was unable to implement this thing.
Could you provide me with code which be a solution to this problem.

Best Regards,
Saurabh

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww May 14, 2009

    i had seen some software for this kind of conversion but code...No idea
  • arhs

    arhs

    @arhs-as8Kf1 May 14, 2009

    let's name "test.avi" your file.
    first read it: obj1=mmreader('test.avi');
    then you can get any frame from "obj1" with the following command:
    I=read(obj1,X);
    where "X" is the displied frame of the image "I"!
    this will be ok for realeases after '08 for sure!

    sorry for my english and i hope this will work for you!

    pleased that i found you guys!!!😁
  • Rifaa

    Rifaa

    @rifaa-NaWZZ4 May 14, 2009

    If u want to extract a still image from an AVI, I donno abt MLAB, but you can use Cyberlink Power DVD or Sony Vegas. This is what I use mainly to grab still frames from any video file.
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww May 14, 2009

    Snapshot also a good freeware
  • RajdeepCE

    RajdeepCE

    @rajdeepce-7UdrG8 May 15, 2009

    As per my opnion Auroura Media Workshop is the best cause if you want to extract images from avi file than just load the avi file and set how many frames you want to capture. Then its done!!!! It will save the images in any format and it will save the images in desired folder.