What is the necessary file structure for a DVD to be playable?

9

7

The backstory: I've purchased a DVD via online download (from EZTakes.com). The files appear in this kind of directory tree:

DVD Name
+-- VIDEO_TS/
|   +-- (various video files)
+-- cover/
|   +-- (a couple of .jpgs of the DVD cover art)
+-- content.info

I'm trying (on a Mac using Disk Utility) to burn this to a DVD. I've created a DVD/CD master image of this structure in a couple of different ways and then burned them, none of which have produced a DVD that is viewable in my DVD player. Here's what I've tried so far:

  1. Make an image of the whole structure shown above. Basically, pointed Disk Utility at the "DVD Name" folder.
  2. Make an image of the whole structure shown above, minus what seems to be metadata that might not be necessary - I removed the cover subdirectory as well as the content.info file, and pointed Disk Utility at the "DVD Name" folder.
  3. Make an image of part of the structure above. Basically, pointed Disk Utility at the "VIDEO_TS" folder.

So I'm wondering what contents the filesystem image needs to have. What's the right structure so that my DVD will play in a regular DVD player?

Oh, I believe the medium itself isn't an issue. I'm using DVD-R discs, and both DVD players I tried these burns on claim to be able to play DVD+/-R discs.

Rick Reynolds

Posted 2009-10-15T23:24:23.730

Reputation: 275

Answers

3

In a technical sense, the VIDEO_TS folder already contains the video data in DVD format. A Video DVD is the contents of this VIDEO_TS folder burned onto a DVD+/-R disc in a hybrid ISO9660+UDF filesystem. As Steve Rowe has mentioned, Video DVDs use UDF v1.02.

See Doom9's DVD Structure article for details of the filetypes. When burned as a Video DVD, the files in the VIDEO_TS folder are layed out on the disc in a particular order. For example (notice the files are not layed out in alphabetical order):

VIDEO_TS.IFO         -- VIDEO_TS.* is the first play item
VIDEO_TS.VOB
VIDEO_TS.BUP
VTS_01_0.IFO         -- VTS_01 is the first title set
VTS_01_0.VOB            -- the _0.VOB is the title set's menu
VTS_01_1.VOB            -- the _[1-9].VOB is the title set's video content
VTS_01_2.VOB
VTS_01_0.BUP
VTS_02_0.IFO         -- IFOs contain navigational information
VTS_02_0.VOB         -- VOBs contain Video, Audio & Subtitle streams
VTS_02_1.VOB
VTS_02_0.BUP         -- BUPs are backup IFOs

Many data burning utilities can create Video DVDs, but you need to make sure they don't try to burn as a data DVD -- data DVDs won't necessarily lay out the files in the proper order, and may use the wrong filesystem for the disc.

If you have the mkisofs command available (in the Terminal on MacOSX and Linux, or Windows with Cygwin), or the hdiutil command on OSX, you can make a ready-to-burn ISO with one of the following commands (source):

# INPUT_FOLDER is the folder that contains the VIDEO_TS

mkisofs -f -dvd-video -udf -V VOLUMENAME -o OUTPUT.iso /path/to/INPUT_FOLDER

hdiutil makehybrid -iso -joliet -udf -udf-version 1.02 -default-volume-name "VOLUMENAME" -o OUTPUT.iso /path/to/INPUT_FOLDER

The output ISO file can be burned with any burning utility program.

quack quixote

Posted 2009-10-15T23:24:23.730

Reputation: 37 382

1The hdiutil command line given here created an iso that was readable by my DVD player.

So the /path/to/INPUT_FOLDER should be the directory that contains the VIDEO_TS directory. – Rick Reynolds – 2010-06-16T03:17:05.100

@Rick: right, the VIDEO_TS folder should be located at /path/to/INPUT_FOLDER/VIDEO_TS – quack quixote – 2010-06-16T03:28:19.757

3

The format of the disc for a DVD is UDF. When playing back a DVD on a computer, this is what is used to access the files. However, older consumer disc players don't use this structure to read the disc. Instead they use the alternate ISO-9660 file structure. Make sure you are burning your disc as UDF 1.02 or UDF + ISO 9660 if you want the most compatibility with consumer players.

Steve Rowe

Posted 2009-10-15T23:24:23.730

Reputation: 3 729

2

A top level AUDIO_TS, though not used, is mandatory.

Alternatively you can use DVD Imager (up to Leopard) for creating a DVD image that you can burn on a DVD with Disk utility. Internally, it uses mkisofs (not available on Mac OS X but shipped with DVD Imager in its resources subfolder - ctrl-click on DVD imager icon and choose "show contents of packet") with a command line similar to this one:

mkisofs -dvd-video -udf -o dvd.img dvd/

mouviciel

Posted 2009-10-15T23:24:23.730

Reputation: 2 858

1

Mount a blank DVD to the Mac Finder, drag the two ..._TS folders to it, burn it. Works for our studio 100% of the time, has for years.

Drag them into Toast, burn a UDF data DVD, works 100% of the time for our studio, has for years. Tons of techno-bable over nothing, if you ask me.

Jack Frost

Posted 2009-10-15T23:24:23.730

Reputation: 11