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/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/tools/mp4creator.rb,
lib/rvideo/tools/qtfaststart.rb,
lib/rvideo/tools/abstract_tool.rb,
lib/rvideo/tools/ffmpeg2theora.rb

Overview

:nodoc:

Defined Under Namespace

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

Class Method Summary collapse

Class Method Details

.loggerObject



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

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)


38
39
40
# File 'lib/rvideo.rb', line 38

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