Ejemplo n.º 1
0
def rescale_presentation(new_height, new_width, dictionary):
    times = dictionary.keys()
    times.sort()
    for i, t in enumerate(times):
        if i < 0:
            continue
        ffmpeg.rescale_image(dictionary[t], new_height, new_width, dictionary[t])
Ejemplo n.º 2
0
def rescale_presentation(new_height, new_width, dictionary, bbb_version):
    times = list(dictionary.keys())
    times.sort()
    for i, t in enumerate(times):
        if i < 1 and '2.0.0' > bbb_version:
            continue
        ffmpeg.rescale_image(dictionary[t], new_height, new_width,
                             dictionary[t])
Ejemplo n.º 3
0
def rescale_presentation(new_height, new_width, dictionary):
    times = dictionary.keys()
    times.sort()
    for i, t in enumerate(times):
        if i < 1:
            continue
        ffmpeg.rescale_image(dictionary[t], new_height, new_width,
                             dictionary[t])
Ejemplo n.º 4
0
def rescale_presentation(new_height, new_width, dictionary, bbb_version):
    times = dictionary.keys()
    times.sort()
    for i, t in enumerate(times):
        # ?
        #print >> sys.stderr, "_rescale_presentation_"
        #print >> sys.stderr, (i, t)

        if i < 1 and '2.0.0' > bbb_version:
            continue

        #print >> sys.stderr, "_rescale_presentation_after_skip_"
        #print >> sys.stderr, (i, t)

        ffmpeg.rescale_image(dictionary[t], new_height, new_width, dictionary[t])
Ejemplo n.º 5
0
 def rescale_presentation(self, new_height, new_width):
     for slide in self.meeting.slides:
         ffmpeg.rescale_image(slide['full_path'], new_height, new_width,
                              slide['full_path'])