Re: [SLUG] catting vob

From: Ian C. Blenke (ian@blenke.com)
Date: Sat Jul 22 2006 - 03:02:38 EDT


Bob Stia wrote:
> Hello Sluggers
>
> I recently ripped a dvd in a new program that I now realize I cannot use to do
> what I want it to. It gave me 5 vob's of 1GB each. I tried to cat them
> together to use in another cli program but it seemed to just run forever
> without ending. Can I cat these files together? and what would be the
> command?? If possible!
>

Assuming all of the .vob files are standard dvd mpeg2 video with
identical encoding (vob is a structured wrapper for other dvd data as
well, not all .vob files are mpeg2 video):

  mencoder -oac copy -ovc copy -o output.mpg *.vob

The "copy" output audio codec (oac) and output video codec (ovc) simply
copies the source media directly into the output stream.

That's the easiest and fastest way I've found. Works for pretty much any
similar media.

mencoder is part of the mplayer project.

If you have the full video_ts folder structure, you can also dump an
entire DVD to a mpeg2 file with --dump-stream.

For example, if you have:

    /mnt/AUDIO_TS/
    /mnt/VIDEO_TS/*.ifo
    /mnt/VIDEO_TS/*.vob

You can rip to a file with mplayer using:

    mplayer -vo null -ao null -dumpstream -dumpfile output.mpg
-dvd-device /mnt dvd://1

If the dvd doesn't start on track 1 (if there is an initial video splash
of some kind), you may need to change that to a 2, etc.

This works for VCDs too, just use -cdrom-device and vcd://

- Ian C. Blenke <ian@blenke.com> http://ian.blenke.com/

 



-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:53:11 EDT