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