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: fracai on Jun 14, '07 02:53:53PM
#!/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 Jun 14, '07 02:55:11PM

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 Jun 14, '07 03:01:18PM

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