1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Editing vob files

Discussion in 'Video problems with Mac' started by dbooster, Mar 26, 2004.

  1. dbooster

    dbooster Member

    Joined:
    Mar 26, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    I'm trying to rip a single episode from my TNG set ("The inner light" for the curious) but the way the dvds are set up, the episodes overlap. So on the second vob file that makes of the episode, it goes into another episode half way thru. So basically I want to cut the second vob in half and throw away the second half. How do I do this on my mac? Help!!

    -dave
     
  2. crjo

    crjo Member

    Joined:
    May 5, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    11
    Hi,
    you can cut or paste vob files via the terminal :
    split -b xxxm to split them (xxx is the size of the file you want)

    cat vobfile1 vobfile2 vobfile3 etc...(in order) > targetvobfile (it will be generated in the home directory)

    Here is a way :

    Use Videolan to view the VOB file you want until the precise moment where you want to end it. Note the time elapsed (it appears in the control window of videolan) then, go to the end of the vob file, and note the total time of the file. compute the size of the file from the beginning to where you want it to stop
    (ex : total file : 600 mb and 30 minutes 23 sec . You want to cut it at 10 minutes and 13 seconds so :
    30 minutes 23 sec = 1823 sec --> 600 mb
    10 minutes 13 sec = 613 sec --> 201,75 mb rounded to 202 mb)

    then, split the file : in the terminal, write : split -b 202m drag the vob file here and press enter
    then, WAIT it can take a little while...

    you will then see files appear in your home directory name xaa, xab, xac etc... (in our example, the 600 mb files will be split in different 202 mb size files xaa : 202 mb, xab : 202 mb and the remainder, xac : 196 mb)
    of course, the file you are interested in is xaa that you should then rename VTS_0X.X.VOB

    note : you don't have to wait for all the files to appear : as soon as xaa appears in your home directory, clic on it to make sure it is the right size, then press ctrl c in the terminal to stop the procedure...

    VoilĂ  !

    not very simple, but not so complicated once you get the hang of it ...

     

Share This Page