ffmpeg-ruby is a ruby C extension binding to ffmpeg/libav* library.
It’s main purpose is to extract frame in order to make video
thumbnails.
It also give access to main video attributes (frame rate, bit rate,
duration, codecs, …)
So, I does not do video encoding (at least for now).
I’ve been working on this for some time now but I finally took the
time to clean and package it
You can checkout the code with git :
git clone git://github.com/gwik/ffmpeg-ruby.git
Here is a example of what it can do : [creating an animated gif from a
video](GitHub - gwik/ffmpeg-ruby: Ruby interface to the ffmpeg C library. It is able to extract images from videos but do not allow to encode full video.
animated_gif_example.rb)