* morituri/common/encode.py:

Add a vbr profile.
This commit is contained in:
Thomas Vander Stichele
2010-04-11 17:14:37 +00:00
parent b3aa22194b
commit 2e7a3974c4
2 changed files with 13 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2010-04-11 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/encode.py:
Add a vbr profile.
2010-04-11 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/image.py:

View File

@@ -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,
}