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!


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 | # ]