Module: VideoTranscoding::MP4track
Constant Summary collapse
- COMMAND_NAME =
'mp4track'
Instance Method Summary collapse
Instance Method Details
#command_name ⇒ Object
26 27 28 |
# File 'lib/video_transcoding/mp4track.rb', line 26 def command_name Tool.use(COMMAND_NAME) end |
#setup ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/video_transcoding/mp4track.rb', line 13 def setup Tool.provide(COMMAND_NAME, ['--version']) do |output, status, _| fail "#{COMMAND_NAME} failed during execution" unless status == 0 unless output =~ /^mp4track - MP4v2 .*/ Console.debug output fail "#{COMMAND_NAME} version unknown" end Console.info "#{$MATCH} found..." end end |