Class: Mkv2m4v::Transcoder
- Inherits:
-
Object
- Object
- Mkv2m4v::Transcoder
- Defined in:
- lib/mkv2m4v/transcoder.rb
Instance Method Summary collapse
-
#initialize(file, options = {}) ⇒ Transcoder
constructor
A new instance of Transcoder.
- #run ⇒ Object
Constructor Details
#initialize(file, options = {}) ⇒ Transcoder
Returns a new instance of Transcoder.
8 9 10 11 |
# File 'lib/mkv2m4v/transcoder.rb', line 8 def initialize(file, = {}) @file = file @options = end |
Instance Method Details
#run ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/mkv2m4v/transcoder.rb', line 13 def run setup extract transcode_avc transcode_aac transcode_ac3 remux cleanup end |