What’s RubyDCLExt-Anim
RubyDCLExt-Anim is an extension for RubyDCL to output animation (movie) file. Currently, output file is MP4 file formated and h264 encoded .
RubyDCLExt-Anim home-page
The URL of the RubyDCLExt-Anim home-page is:
http://ruby.gfd-dennou.org/products/ruby-dclext-anim/
Requires
-
Ruby (www.ruby-lang.org/)
-
RubyDCL (ruby.gfd-dennou.org/products/ruby-dcl/)
-
Ruby-Gtk2 and Ruby-GStreamer (ruby-gnome2.sourceforge.jp/)
-
Ruby-DCLExt-Gtk (ruby.gfd-dennou.org/products/ruby-dclext-gtk/)
-
gst-plugins-ugly (gstreamer.freedesktop.org/modules/gst-plugins-ugly.html)
-
use x264enc element.
-
Install
# gem install dclext-anim
Copying
See the file LICENSE.txt.
Usage
To output animation file, require “numru/dclext/anim”
% ruby -r numru/dclext/anim your_dcl_script.rb
Options
You can change some parameters with environmental variable or runtime option.
-
framerate: frame rate for the output movie (frame/sec)
-
environmental variable: DCLEXT_ANIM_FRAMERATE=(int)
-
runtime option: –dclext-anim-framerate=(int)
-
-
filename: name of the output file
-
environmental variable: DCLEXT_ANIM_FILENAME=(string)
-
runtime option: –dclext-anim-filename=(string)
-
The Author
Feel free to send comments and bug reports to the author. The author’s e-mail addess is
seiya@gfd-dennou.org