Robert Walker wrote:
> Maybe ffmpeg would help:
> http://ffmpeg.org/

An excerpt from the ffmpeg docs:

For extracting images from a video:

ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%03d.jpeg

This will extract one video frame per second from the video and will 
output them in files named `foo-001.jpeg', `foo-002.jpeg', etc. Images 
will be rescaled to fit the new WxH values.

If you want to extract just a limited number of frames, you can use the 
above command in combination with the -vframes or -t option, or in 
combination with -ss to start extracting from a certain point in time.
...
...
`-ss position'
Seek to given time position in seconds. hh:mm:ss[.xxx] syntax is also 
supported.
...
...
`-vframes number'
Set the number of video frames to record.

This looks to me like it should work well for your needs.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to