From 3ae11f5be276ec5a18bbbb1e9e8152a16ea85be6 Mon Sep 17 00:00:00 2001 From: Andres Vargas Date: Wed, 23 Dec 2015 16:11:24 -0600 Subject: [PATCH 1/2] small recipe --- docs/examples/quick_recipes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/examples/quick_recipes.rst b/docs/examples/quick_recipes.rst index ec92577da..736d29ce9 100644 --- a/docs/examples/quick_recipes.rst +++ b/docs/examples/quick_recipes.rst @@ -63,3 +63,12 @@ Getting the average frame of a video average_image = ImageClip(total_image/ nframes) average_image.save_frame("average_test.png") +Mirroring a video +"""""""""""""""""" + :: + import sys + from moviepy.editor import * + + clip = VideoFileClip(sys.argv[1]) + clip = clip.fx(vfx.mirror_x) + clip.write_videofile(sys.argv[2] From f7ad6be3b2740d2d855b11753749c1bd030f1fde Mon Sep 17 00:00:00 2001 From: Zulko Date: Wed, 15 Feb 2017 20:27:29 +0000 Subject: [PATCH 2/2] Revert "small recipe (mirroring a video)" --- docs/examples/quick_recipes.rst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/examples/quick_recipes.rst b/docs/examples/quick_recipes.rst index 736d29ce9..ec92577da 100644 --- a/docs/examples/quick_recipes.rst +++ b/docs/examples/quick_recipes.rst @@ -63,12 +63,3 @@ Getting the average frame of a video average_image = ImageClip(total_image/ nframes) average_image.save_frame("average_test.png") -Mirroring a video -"""""""""""""""""" - :: - import sys - from moviepy.editor import * - - clip = VideoFileClip(sys.argv[1]) - clip = clip.fx(vfx.mirror_x) - clip.write_videofile(sys.argv[2]