Пример #1
0
 def test_flip_180(self):
     filename = movie_path('flipped')
     new_filename = effects.flip_180(filename)
     # after being flipped the rotation data should be reset!
     self.failIfEqual(effects.get_rotation(new_filename), '180')
     return new_filename
Пример #2
0
 def test_apply_slomo_effect(self):
     new_filename = effects.apply_effect(
         effects.flip_180(movie_path('flipped')),
         "00:00:05", "00:00:04", effect=effects.slow_motion)
     return new_filename