Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 whoever posted them. This site is not responsible for what they say.
Burn a playable DVD from a VIDEO_TS folder
Authored by: ArtemisG3 on Jun 14, '07 08:00:33AM
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
robg edit: placed code in container for narrower display.
Edited on Feb 20, '10 04:33:08PM by robg


[ Reply to This | # ]
Not entirely compatible
Authored by: ArtemisG3 on Jun 14, '07 09:08:25AM

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 Jul 19, '07 07:54:33PM
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 Mar 19, '09 11:03:52PM

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