Log in

View Full Version : .vob to mpeg2


point_vector
20th February 2004, 02:15
This is my first post. I'm sorry if this has been discussed somewhere, but I have looked and tried everything but to no avail. I'm trying to convert a vob file to mpeg 2 to be edited in a normal editor. I have used many programs, but everything I use either crashes, freezes or the audio is out of sinc. I'm running a P4 3.0 with 2Gigs of ram. I've tried flaskmpeg, xmpeg, dvd2avi, autogk, dvdx 2.2, pinnacle trex, and others I can't remember. I was hoping to get a suggestion of what prog. to use that can do this for me. Again, I apologize if this has been covered before.

jimmy basushi
20th February 2004, 10:23
hi there, try this (http://www.doom9.org/mpg/dvdencoding.htm).

Pyscrow
20th February 2004, 11:03
Originally posted by point_vector
I'm trying to convert a vob file to mpeg 2

A VOB file is a Mpeg2 file, just change the extension....

It just has specific size and sound settings.

Nick
20th February 2004, 18:24
I'm not sure what this has got to do with DVD2SVCD. However I'd never thought of simply changing the extention!

The simplest solution is usually the best :)

So, since I learned something new and potentially useful, I'm gonna let it pass...

r6d2
20th February 2004, 18:57
Me too! You never stop learning stuff in this great forum!

jsoto
20th February 2004, 21:32
A VOB file is a Mpeg2 file, just change the extension....
I can be wrong, but IMHO this is not true.
I've never seen a VOB specification, but in my experience a VOB file is always built with 2048 byte packs. Each pack could be a nav, audio, video or subs one.
AFAIK, a Mpeg2 Program Stream is a different way to multiplex audio/video and even subs. I've a copy of ISO/IEC 13818-1 but it's a very old one (and I still didn't read it)

jsoto

Nick
20th February 2004, 21:42
I never really put too much thought into it as I have never really had to. I did try renaming a vob from a rip on my HDD to change the file extention and it did play OK in Media Player Classic.

However, I guess some vobs may be far more complicated than that depending on content.

r6d2
20th February 2004, 21:46
I did a test too and it worked, but there is something curious. If you play the first 1-GB VOB of a ripped set, it contains very little from the movie, a couple of minutes maybe. Seems that the first VOB contains lots of other stuff on it besides just the video/audio/stream info, which AFAIK makes it quite different from a MPEG-2 stream. :confused:

windtrader
20th February 2004, 22:02
I did a test too and it worked, but there is something curious. If you play the first 1-GB VOB of a ripped set, it contains very little from the movie, a couple of minutes maybe. Seems that the first VOB contains lots of other stuff on it besides just the video/audio/stream info, which AFAIK makes it quite different from a MPEG-2 stream. I think you just proved that you can not just change the extension of a VOB file. Trust me there is more than 3 minutes in that 1st GB VOB. Also, you many players have different problems trying to play a raw VOB without the aid of it associated IFO file.

r6d2
20th February 2004, 22:57
Originally posted by windtrader
I think you just proved that you can not just change the extension of a VOB file. Trust me there is more than 3 minutes in that 1st GB VOB.I did the test with PowerDVD before changing the extension and it was exactly the same. But seems to be just a time thing. Definetely it lasts more than a couple of minutes, even though the player reports that.

jsoto
20th February 2004, 23:03
Well, there are two kind of VOBs:
Menu VOBs: VTS_XX_0.VOB
Title VOBs: VTS_XX_Y.VOB (with Y != 0)

But, both have the same basic structure, that is: 2048 byte packs.
This structure can be easy understood with Vobedit.

Nav packs have VOBid and Cellid identifications which are related with DVD structure (Cells, PGCs, etc) and nothing to do with MPEG-2

EDIT:
IFOs have the relation between VOBids, Cellids and PGCs, that is, the titles themself (and many other things, like the language identification of audio/subs streams)

jsoto

Nick
21st February 2004, 12:35
In that case, the easiest way to achieve what Point_Vector wanted to do is to use DoItFast4u to rip the desired streams.

Then he or she'll get elementary audio and video streams for each desired VTS. These can be multiplexed an joined/cut in TMPGEnc or with pretty much any other muxing tool.

point_vector
22nd February 2004, 07:18
Thanks Nick, the TMPGEnc trick worked perfectly, oh, and this doesn't really have anything to do with dvd2svcd, the forum just automatically put the post in here; I don't know, sorry.

windtrader
23rd February 2004, 16:05
But, both have the same basic structure, that is: 2048 byte packs.)You are right since I finally did a test myself and the renamed VOB did play as an Mpeg. Always nice to learn something new, thx. :)
IFOs have the relation between VOBids, Cellids and PGCs, that is, the titles themself (and many other things, like the language identification of audio/subs streams
Right, that is why if you play the IFO file, all features work such as jump to next chapter, title/cell durations, and all the menu structure and navigation; whereas, playing the mpeg/vob can only move sequentially through the file.

thx again