self.vp8enc.set_property('max_quantizer', 13)
self.vp8enc.set_property('cpu-used', 5)
self.vp8enc.set_property('deadline', 1)
-## self.vp8enc.set_property('target-bitrate', 2000000)
self.vp8enc.set_property('threads', 2)
self.vp8enc.set_property('sharpness', 7)
self.vp8enc.set_property('keyframe-max-dist', 25)
-
+ self.vp8enc.set_property('target-bitrate', 2000000)
+
def create_decoder_elements(self):
self.jpegdec = Gst.ElementFactory.make('jpegdec', 'jpegdec')
self.jpegdec.set_property('max-errors', -1)