Adding keyframe-max-dist set up to 1 keyframe per second
authorDavid Testé <soonum@gnu.org>
Fri, 18 Mar 2016 23:51:53 +0000 (00:51 +0100)
committerDavid Testé <soonum@gnu.org>
Fri, 18 Mar 2016 23:51:53 +0000 (00:51 +0100)
gstconf.py

index 2212fb2..c020748 100755 (executable)
@@ -185,6 +185,7 @@ class New_user_pipeline():
 ##        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)
 
     def create_decoder_elements(self):
         self.jpegdec = Gst.ElementFactory.make('jpegdec', 'jpegdec')