From: yomguy Date: Fri, 3 Sep 2010 20:40:08 +0000 (+0000) Subject: add lame parameters to gst pipe X-Git-Tag: 0.3.2~106 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b98478c33dfbfbf3a8be16edc5ad71c59be24fb7;p=timeside.git add lame parameters to gst pipe --- diff --git a/timeside/encoder/mp3.py b/timeside/encoder/mp3.py index 2fd5104..1625161 100644 --- a/timeside/encoder/mp3.py +++ b/timeside/encoder/mp3.py @@ -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')