VideoHelp.com Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date: Nov 2007
    Location: Kenya
    I would like to extract frames from a VOB file at predetermined positions (say 5s, 10s, etc).
    I can comfortably do this if i initially convert the VOB file to AVI format. But when it comes to getting frames directly from the VOB file, it is giving me a bit of headache.

    Anybody with code ideas? (c,c++,c#)
    void izmoto(char* szKwazi);
    Quote Quote  

  2. Member AlanHK's Avatar
    Join Date: Apr 2006
    Location: Hong Kong
    You can use DGIndex, make a d2v file, and then pretty much treat that like an AVI.
    Quote Quote  

  3. Hi-

    Here's one way. Make an AviSynth script with this line (or some variation):

    SelectEvery(250,0)

    That tells you for every 250 frames (10 seconds at 25fps), save the first frame. Open it in VDub(Mod), and then File->Save Image Sequence. Give them a name and choose to save as BMP, PNG, or TGA.

    You can do something similar directly in VDubMod by opening the VOB file (or the AviSynth script file made from that VOB), going Video->Frame Rate->Decimate By 250, and then saving the Image Sequence. Adjust the Decimation based on your framerate and length between pics.
    Quote Quote  

  4. Member
    Join Date: Nov 2007
    Location: Kenya
    AlanHK,

    Thanks for your input (i've just downloaded a copy of DGIndex and i'm looking at how it might serve the needs of my current project).
    void izmoto(char* szKwazi);
    Quote Quote  

  5. Member
    Join Date: Nov 2007
    Location: Kenya
    Manono,

    About "...You can do something similar directly in VDubMod by opening...".
    I am using VirtualDubMpeg-2 to covert the VOB to an AVI file. So i think your solution will serve me better in this.

    I've tried it and it is actually working OK.
    I would like to create a dynamic VCF (VirtualDub Configuration File) that achieves the same result.
    Waht is the instruction for File->Save Image Sequence... (in a VCF file)
    void izmoto(char* szKwazi);
    Quote Quote  

  6. How about File->Save Processing Settings (in VDubMod, maybe the same in yours)? If that's not what you want, then I have no idea.

    I remembered something I got from Baldrick the other day (thanks Baldrick!) that you may (or may not) find useful. I used a movie trailer I had lying around and this script:

    LoadPlugin("D:\AviSynth Stuff\Dlls\DGDecode.dll")
    MPEG2Source("E:\Black Widow\4-1\4-1.d2v")
    Crop(2,8,-14,-10)
    LanczosResize(208,112)
    SelectEvery(240,0)

    I opened the script in Media Player Classic and then File->Save Thumbnails. I resized them a bit to fit on this page:

    Quote Quote  

  7. Member
    Join Date: Nov 2007
    Location: Kenya
    manono,

    I think i just got a solution
    In teh Save Image Sequence... dialog box, there's this check box that goes like 'Don't run this job now; add it to job control so i can run it in batch mode.'.
    After dismissing the dialog box (Click OK), VirtuDub will save the info in a file called VirtualDub.jobs (in the directory where VirtualDub is running).
    So i've opened the VirtualDub.jobs file and the line:
    "VirtualDub.SaveImageSequence("E:\\Testing\\al l frames\\vts", ".jpeg", 4, 2, 95);"

    is just waht i was looking for.

    Thanks.
    void izmoto(char* szKwazi);
    Quote Quote  




Similar Threads

  1. How to Extract Subtitles from a VOB File?
    By skorpinok in forum Video Conversion
    Replies: 2
    Last Post: 16th Oct 2011, 18:35
  2. Replies: 2
    Last Post: 8th May 2011, 10:42
  3. extract subtitles from .VOB file
    By avextraxjp in forum Newbie / General discussions
    Replies: 2
    Last Post: 10th May 2010, 12:19
  4. Extract a frame from .flv file using .Net program
    By evolvingwheel in forum Editing
    Replies: 0
    Last Post: 18th Jan 2009, 09:10
  5. How can I extract chapters from VOB file?
    By SubFlow in forum Editing
    Replies: 1
    Last Post: 18th Jun 2008, 03:49
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools