Ari Brown
7/10/2007 12:05:00 PM
On Jul 9, 2007, at 11:33 PM, 12 34 wrote:
<snip>
> require 'appscript'
> include Appscript
> QTP = app('QuickTime Player.app')
>
> # To export the middle frame of a movie file to a PICT file:
> movie = QTP.open(MacTypes::Alias.path('/path/to/your movie.mov'))[0]
> movie.current_time.set(movie.duration.get / 2)
> movie.export(:to=>MacTypes::FileURL.path('/path/to/middle
> frame.pict'), :as=>:picture)
> movie.close
I saw that, and in fact that's what I'm using as my library. But I
need to convert the file into Hinted Movie format. In quicktime, it's
under File -> Export -> Hinted Movie
What would I write in ':as' if I wanted to do that? Or where could I
get a list of possible file conversions for this?
aRi
--------------------------------------------|
If you're not living on the edge,
then you're just wasting space.