diff --git a/ChangeLog b/ChangeLog index 7f762d9..9bac061 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-11 Thomas Vander Stichele + + * morituri/common/encode.py: + Add a vbr profile. + 2010-04-11 Thomas Vander Stichele * morituri/rip/image.py: diff --git a/morituri/common/encode.py b/morituri/common/encode.py index d9660fb..3a89131 100644 --- a/morituri/common/encode.py +++ b/morituri/common/encode.py @@ -90,6 +90,13 @@ class MP3Profile(Profile): pipeline = 'lame name=tagger quality=0 ! id3v2mux' lossless = False +class MP3VBRProfile(Profile): + name = 'mp3vbr' + extension = 'mp3' + pipeline = 'lame name=tagger quality=0 vbr=new vbr-mean-bitrate=192 ! id3v2mux' + lossless = False + + class VorbisProfile(Profile): name = 'vorbis' extension = 'oga' @@ -106,6 +113,7 @@ PROFILES = { LOSSY_PROFILES = { 'mp3': MP3Profile, + 'mp3vbr': MP3VBRProfile, 'vorbis': VorbisProfile, }