]> git.parisson.com Git - timeside.git/commitdiff
add lame parameters to gst pipe
authoryomguy <yomguy@parisson.com>
Fri, 3 Sep 2010 20:40:08 +0000 (20:40 +0000)
committeryomguy <yomguy@parisson.com>
Fri, 3 Sep 2010 20:40:08 +0000 (20:40 +0000)
timeside/encoder/mp3.py

index 2fd5104fd8f7e1b7908322046d371a45f882687a..16251618e31d42acd70070a926135c216c93b5a8 100644 (file)
@@ -50,7 +50,7 @@ class Mp3Encoder(Processor):
         # the output data format we want
         pipeline = gst.parse_launch(''' appsrc name=src
             ! audioconvert
-            ! lame
+            ! lame name=enc vbr=0 bitrate=256 ! id3v2mux
             ! filesink location=%s ''' % self.filename)
         # store a pointer to appsink in our encoder object
         self.src = pipeline.get_by_name('src')