VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date
    Nov 2008
    Location
    United States
    Search Comp PM
    How would I string together a few VOB or AVI files to make one file? Using linux?

    I can do the conversion from VOB to AVI, but then I have a few avi files for one movie. I'm not concerned whether I have to concatenate the VOB or the AVI files so long as the product is one file in the end.
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    AVI Demux. Load file one, append file 2 etc
    Read my blog here.
    Quote Quote  
  3. Member
    Join Date
    Nov 2008
    Location
    United States
    Search Comp PM
    Thanks, but I tried that and I can't seem get that thing to compile. I tried this:

    cat file1.avi file2.avi file3.avi file4.avi >> whole_file.avi

    But when I play it, it only recognizes file1.avi, but I know the rest of them are in the file because if you add up the file sizes it equals the size of whole_file.avi.

    But when I do this:

    ffmpeg -i whole_file.avi -f avi -vcodec libx264 -aspect 4:3 -b 1024k -g 300 -bf 2 -acodec libmp3lame -ab 128k ./file-final.avi

    It seems to come out fine, but I already converted it. I don't need to convert it twice? Plus, the quality is reduced...
    Quote Quote  
  4. Member
    Join Date
    Sep 2002
    Location
    Washington, D.C.
    Search Comp PM
    You could try vobmerge. It works for me.
    Quote Quote  
  5. This seems to work, but it drops many frames and the audio/video are out-of-sync:
    Code:
    mencoder -ovc copy -oac copy -o all.VOB $(ls -1 *.VOB)
    Quote Quote  
  6. This might work better:
    Code:
    cat *.vob | mencoder <options> -
    Quote Quote  
  7. Member
    Join Date
    Aug 2007
    Location
    Isle of Man
    Search Comp PM
    With ffmpeg, use
    Code:
    -vcodec copy -acodec copy
    instead.

    Although any of the other suggestions would also work.

    Cheers,
    Francois
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!