Getting frames from DVDs

Thursday, August 10 2006 @ 07:59 PM EDT

Contributed by: Admin

OS X disables the ability to take screenshots when a DVD is playing. With the regular key commands, at least. It still works from the terminal. I wrote a little script that takes a screenshot and advances the DVD one frame.

#!/bin/sh
screencapture `date "+%s"`.pdf
osascript << EOF
tell app "DVD Player"
step dvd
end tell
EOF

0 comments



http://apple.newbox.org/article.php?story=20060810195923368framegrab