def register_format(name, processor)
      unless processor.new.is_a?(Vidibus::Encoder::Base)
        raise(ArgumentError, 'The processor must inherit Vidibus::Encoder::Base')
      end
      @formats ||= {}
      @formats[name] = processor
    end
def register_format(name, processor)
      unless processor.new.is_a?(Vidibus::Encoder::Base)
        raise(ArgumentError, 'The processor must inherit Vidibus::Encoder::Base')
      end
      @formats ||= {}
      @formats[name] = processor
    end
Register a new encoder format.