Add the 'mkclean' step for audio-only recordings
This commit is contained in:
parent
48735ccc70
commit
614617c2b9
@ -28,7 +28,7 @@ module BigBlueButton
|
||||
class AudioProcessor
|
||||
# Process the raw recorded audio to ogg file.
|
||||
# archive_dir - directory location of the raw archives. Assumes there is audio file and events.xml present.
|
||||
# file_basename - the file name of the audio output. '.webm' will be added
|
||||
# file_basename - the file name of the audio output. '.webm' and '.ogg' will be added
|
||||
#
|
||||
def self.process(archive_dir, file_basename)
|
||||
audio_edl = BigBlueButton::AudioEvents.create_audio_edl(archive_dir)
|
||||
@ -46,7 +46,8 @@ module BigBlueButton
|
||||
|
||||
webm_format = {
|
||||
:extension => 'webm',
|
||||
:parameters => [ [ '-c:a', 'libvorbis', '-b:a', '48K', '-f', 'webm' ] ]
|
||||
:parameters => [ [ '-c:a', 'libvorbis', '-b:a', '48K', '-f', 'webm' ] ],
|
||||
:postprocess => [ [ 'mkclean', '--quiet', ':input', ':output' ] ]
|
||||
}
|
||||
BigBlueButton::EDL.encode(wav_file, nil, webm_format, file_basename)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user