예제 #1
0
 def init_outputDesc(self):
     outputLocation = "*"
     outputAlphaLocation = "*"
     fps = 25.0
     duration = self._elemnet_duration
     bgColor = "RGBA(0,0,0,255)"
     self._outputDesc = outputDesc.create(self._width, self._height, outputLocation, outputAlphaLocation, fps,
                                          duration, bgColor)
예제 #2
0
 def init_outputDesc(self):
     width = 720
     height = 1280
     outputLocation = "*"
     outputAlphaLocation = "*"
     fps = 25.0
     duration = self._videoDuration
     bgColor = "RGBA(0,0,0,255)"
     self._outputDesc = outputDesc.create(width, height, outputLocation, outputAlphaLocation, fps, duration, bgColor)
예제 #3
0
 def init_outputDesc(self):
     width = self._width
     height = self._height
     outputLocation = "*"
     outputAlphaLocation = "*"
     fps = 25.0
     duration = self._sliceDuration * len(self._userInputs)
     bgColor = "RGBA(0,0,0,255)"
     self._outputDesc = outputDesc.create(width, height, outputLocation, outputAlphaLocation, fps, duration, bgColor)