Module: RVideo

Defined in:
lib/rvideo/version.rb,
lib/rvideo.rb,
lib/rvideo/errors.rb,
lib/rvideo/reporter.rb,
lib/rvideo/inspector.rb,
lib/rvideo/tools/lame.rb,
lib/rvideo/transcoder.rb,
lib/rvideo/tools/yamdi.rb,
lib/rvideo/tools/ffmpeg.rb,
lib/rvideo/tools/mp4box.rb,
lib/rvideo/tools/mplayer.rb,
lib/rvideo/frame_capturer.rb,
lib/rvideo/tools/flvtool2.rb,
lib/rvideo/tools/mencoder.rb,
lib/rvideo/tools/segmenter.rb,
lib/rvideo/command_executor.rb,
lib/rvideo/tools/mp4creator.rb,
lib/rvideo/tools/qtfaststart.rb,
lib/rvideo/tools/handbrakecli.rb,
lib/rvideo/tools/abstract_tool.rb,
lib/rvideo/tools/ffmpeg2theora.rb

Overview

:nodoc:

Defined Under Namespace

Modules: CommandExecutor, Tools, VERSION Classes: FrameCapturer, Inspector, Reporter, Transcoder, TranscoderError

Class Method Summary collapse

Class Method Details

.loggerObject


45
46
47
48
# File 'lib/rvideo.rb', line 45

def self.logger
  @logger = Logger.new("/dev/null") unless @logger
  @logger
end

.logger=(logger) ⇒ Object

Configure logging. Assumes that the logger object has an interface similar to stdlib's Logger class.

RVideo.logger = Logger.new(STDOUT)

41
42
43
# File 'lib/rvideo.rb', line 41

def self.logger=(logger)
  @logger = logger
end