[SCM] morituri/master: * morituri/common/encode.py: Add a vbr profile.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:17 UTC 2014


The following commit has been merged in the master branch:
commit 2e7a3974c4ddc50f5f05ed5a378c7fc5c3e238f8
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Apr 11 17:14:37 2010 +0000

    	* morituri/common/encode.py:
    	  Add a vbr profile.

diff --git a/ChangeLog b/ChangeLog
index 7f762d9..9bac061 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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:
 	  Don't splitext on inputdir; fixes encoding of directories like
 	  Sigur Ros - Takk... (which removed a period)
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,
 }
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list