module TivoHMO::API::Transcoder
Transcoder
abstraction for reading in the data from an Item
and transcoding it into a format suitable for display on a tivo
Constants
- AUDIO_CODECS
- AUDIO_SAMPLE_RATES
- VIDEO_CODECS
- VIDEO_FRAME_RATES
- VIDEO_HEIGHTS
- VIDEO_WIDTHS
Attributes
item[RW]
Public Class Methods
new(item)
click to toggle source
# File lib/tivohmo/api/transcoder.rb, line 22 def initialize(item) self.item = item end
Public Instance Methods
transcode(writeable_io, format)
click to toggle source
# File lib/tivohmo/api/transcoder.rb, line 26 def transcode(writeable_io, format) raise NotImplementedError end
transcoder_options(format="video/x-tivo-mpeg")
click to toggle source
# File lib/tivohmo/api/transcoder.rb, line 30 def transcoder_options(format="video/x-tivo-mpeg") raise NotImplementedError end