Sha256: 4d2fd9cfdc2f9816eaafd3497cafcf142b4fd634d55fc6443dd312e7526b8ba6
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
module Abrizer # TODO: Allow MP3 to be created from the adaptation audio class ProgressiveMp3 include FilepathHelpers include DebugSettings def initialize(filepath, output_directory) @filepath = filepath @output_directory = output_directory end def create `#{ffmpeg_cmd}` end def ffmpeg_cmd "ffmpeg -y #{debug_settings} -i #{@filepath} -vn -c:a libmp3lame -b:a 128k #{mp3_filepath}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
abrizer-0.6.0 | lib/abrizer/progressive_mp3.rb |
abrizer-0.5.0 | lib/abrizer/progressive_mp3.rb |