def convert(destination, options = {}, &block)
      options.symbolize_keys!
     
      process(destination, @source.convert_command, options, &block)
    end
def convert(destination, options = {}, &block)
      options.symbolize_keys!
     
      process(destination, @source.convert_command, options, &block)
    end
Generate new video file

 transcoder = WebVideo::Transcoder.new("demo.avi")

 begin
   transcoder.convert("demo.flv", :resolution => "480x360") do |command|
     command << "-ar 22050"
     command << "-ab 128k"
     command << "-acodec libmp3lame"
     command << "-vcodec flv"
     command << "-r 25"
     command << "-y"
   end
  rescue WebVideo::CommandLineError => e
    WebVideo.logger.error("Unable to transcode video: #{e.class} - #{e.message}")
 end

 options:
   :resolution - video resolution