Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Burn a playable DVD from a VIDEO_TS folder UNIX
After searching the forums and trying various things, I still couldn't find a quick, reliable, free method of burning a VIDEO_TS folder to a pure UDF DVD, so that it would play in regular DVD players, as well trigger DVD Player to start up automatically. Anyway, as often is the case, Terminal had the answers. Just type in this command and change the paths to suit:
hdiutil makehybrid -udf -udf-volume-name DVD_NAME \
-o MY_DVD.iso /path/to/VIDEO_TS/parent/folder
Make sure that /path/to/VIDEO_TS/parent/folder is the path to the folder containing the VIDEO_TS folder, not the VIDEO_TS folder itself. Once the .iso file has been created, drag this to Disk Utility and hit the Burn button.
    •    
  • Currently 4.89 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (9 votes cast)
 
[82,201 views]  

Burn a playable DVD from a VIDEO_TS folder | 15 comments | Create New Account
Click here to return to the 'Burn a playable DVD from a VIDEO_TS folder' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Burn a playable DVD from a VIDEO_TS folder
Authored by: ArtemisG3 on Thu, Jun 14 2007 at 8:00AM PDT
Someone might could clean this up a bit, but it is functional. Paste it into the Applescript Script Editor and save as an application without startup screen. This will create a droplet on which you can drop the parent folder of your VIDEO_TS folder.

on open this_folder
	tell application "Finder"
		set ginfo to (get info for this_folder)
		set disp_name2 to name of ginfo
		set POSIX_source to POSIX path of this_folder
		set POSIX_file to POSIX path of (choose folder with prompt "Choose a folder to save image in:")
		display dialog "Would you like to also burn the image to DVD?" buttons {"No", "Yes"} default button 2
		if button returned of result is "Yes" then
			set burning to "/usr/bin/hdiutil burn -noverifyburn " & POSIX_file & "" & disp_name2 & ".iso"
		else
			set burning to ""
		end if
	end tell
	
	do shell script ("hdiutil makehybrid -udf -udf-volume-name \"" & disp_name2 & "\" -o \"" & POSIX_file & "" & disp_name2 & ".iso\" \"" & POSIX_source & "\"")
	tell me to activate
	display dialog "Please insert a blank DVD"
	do shell script ("" & burning & "")
	tell me to activate
	display dialog "DVD image/burn complete"
	
end open


[ Reply to This | # ]
Not entirely compatible
Authored by: ArtemisG3 on Thu, Jun 14 2007 at 9:08AM PDT
FYI, I have tested ISO images made with hdiutil, and they don't seem to be compatible with all set-top DVD players. Be warned.

[ Reply to This | # ]
DVD Image Utility
Authored by: ArtemisG3 on Thu, Jul 19 2007 at 7:54PM PDT
You could check out my DVD Image Utility. It is a revised version of the above script (with mkisofs).

[ Reply to This | # ]
DVD Image Utility
Authored by: magnamous on Thu, Mar 19 2009 at 11:03PM PDT
This looks like a great little utility. May I suggest that you submit it to VersionTracker or MacUpdate so it is easier for people to find?

[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: Hoese on Thu, Jun 14 2007 at 8:26AM PDT
DVD Imager has worked for me.

http://lonestar.utsa.edu/llee/applescript/dvdimager.html




[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: ArtemisG3 on Thu, Jun 14 2007 at 8:34AM PDT
True, but I believe the point of this hint was to show that it could be done without third-party tools.

[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: gavynj on Thu, Jun 14 2007 at 1:55PM PDT
I tried using DVD Imager, but it kept on crashing on me. I then ran the mkisofs command which DVD Imager uses, and that failed too, reporting errors. Using hdiutil worked fine each time.

[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: ArtemisG3 on Thu, Jun 14 2007 at 2:00PM PDT
I currently use mkisofs in a similar Applescript to the one I posted above for my DVD imaging needs. The terminal command for mkisofs looks like this:
mkisofs -f -dvd-video -udf -V DVD_VIDEO -o ~/Desktop/DVD_VIDEO.iso ~/Desktop/DVD_VIDEO/


[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: fracai on Thu, Jun 14 2007 at 2:53PM PDT
#!/bin/sh
DIR=$1
NAME=$(basename "${DIR}")
hdiutil makehybrid -udf -udf-volume-name "${NAME}" -o "${NAME}" "${DIR}"

or
#!/bin/sh
DIR=$1
NAME=$(basename "${DIR}")
mkisofs -f -dvd-video -udf -V "${NAME}" -o "${NAME}".iso "${DIR}"


Both just dump the iso wherever you execute the script.
I'm not sure if name cleanup is necessary, some players might not like lower case and spaces. Then again, that might not matter at all. DVD player is fine with both anyway.

---
i am jack's amusing sig file

[ Reply to This | # ]

Burn a playable DVD from a VIDEO_TS folder
Authored by: fracai on Thu, Jun 14 2007 at 2:55PM PDT
bah

the usage for both would be: script.sh "path"

---
i am jack's amusing sig file

[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: fracai on Thu, Jun 14 2007 at 3:01PM PDT
also, mkisofs seems to be about twice as fast (based on one test for a 1GB image (1 vs 2 minutes)) and creates slightly smaller ISOs (~200k)

---
i am jack's amusing sig file

[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: August on Thu, Jun 14 2007 at 5:11PM PDT
Hmm, My version of hdiutil doesn't accept the -udf parameter.
Is this hint only for 10.4?

[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: barryjaylevine on Sat, Jun 16 2007 at 8:19AM PDT
This recommendation may not truly be in the spirit of the original hint but...why bother with command-line or "ISO" nonsense?

For the cost of three XL cups of Starbucks coffee, you can buy Burnz (found at http://www.thinkertons.com/ ).

It will burn a UDF disc (or anything from ISO9660 to HFS+) and do it quickly without having to mess with anything geeky. It lets you assign a picture for the disc icon (and uses Google to facilitate the search for the picture).

It's everything a Mac app should be: Fast, small footprint, reliable, Universal Binary, and is from a developer who answers his eMail!

No, I don't have any financial arrangement with thinkertons; I'm just a very satisfied customer.

---
-----
Two things in this world aren't overrated: Macintosh and Lemon Meringue Pie.

[ Reply to This | # ]

Burn a playable DVD from a VIDEO_TS folder
Authored by: shunuk on Sat, Jun 16 2007 at 8:38AM PDT
If you wanted to make a DVD image before burning it then surely you could just open Disk Utility.app and then:

File -> New -> Disk Image From Folder

Choose the folder that contains the VIDEO_TS folder (making sure that there's nothing else in there), and then when prompted to choose the image format, choose DVD/CD master.

I haven't had a problem with that method

[ Reply to This | # ]
Burn a playable DVD from a VIDEO_TS folder
Authored by: Shelorina on Thu, Oct 29 2009 at 3:01AM PDT
It sounds like the DVD Movies we downloaded is a pre-built DVD of some kind. The directory structure for DVD movies typically puts all the movie content and menus in a VIDEO_TS folder. Some tools also can help you to burn VIDEO_TS file to DVD on Mac, with easy steps.

[ Reply to This | # ]