def __init__(self, profile): self.description = "Identity encoder" self.type = "audio" sbin = "identity silent=true" AudioEncoder.__init__(self, sbin)
def __init__(self, profile): self.description = "Vorbis encoder" self.type = "audio" sbin = "vorbisenc bitrate=%s" % profile.audio_bitrate AudioEncoder.__init__(self, sbin)
def __init__(self, profile=DefaultEncodingProfile()): self.description = "AAC encoder" self.type = "audio" sbin = "volume name=alivemute ! faac bitrate=%s profile=2" % profile.audio_bitrate AudioEncoder.__init__(self, sbin)