Skip to content

Video editing with Python

fixed docs

Zulkoef63c95b99b3
diff --git a/docs/ref/audiofx.rst b/docs/ref/audiofx.rst
index 37354fe4..80f036cd 100644
--- a/docs/ref/audiofx.rst
+++ b/docs/ref/audiofx.rst
@@ -3,9 +3,42 @@
************
audio.fx
************
-This module regroups functions meant to be used with ``audio.fx`` or ``videoclip.fx``. When you type ``from moviepy import *``, the module ``audio.fx`` is loaded as ``afx`` and you can use ``afx.volumex`` etc.
-.. automodule:: moviepy.audio.fx
- :members:
- :show-inheritance:
+The module ``moviepy.audio.fx`` regroups functions meant to be used with ``audio.fx()``.
+Note that some of these functions such as ``volumex`` (which multiplies the volume) can
+be applied directly to a video clip, at which case they will affect the audio clip attached to this
+video clip. Read the docs of the different functions to know when this is the case.
+
+Because this module will be larger in the future, it allows two kinds of import.
+You can either import a single function like this: ::
+
+ from moviepy.audio.fx.volumex import volumex
+ newaudio = audioclip.fx( vfx.volumex, 0.5)
+
+Or import everything: ::
+
+ import moviepy.audio.fx.all as afx
+ newaudio = (audioclip.afx( vfx.volumex, 0.5)
+ .afx( vfx.audio_fadein, 1.0)
+ .afx( vfx.audio_fadeout, 1.0))
+
+
+
+When you type ::
+
+ from moviepy.editor import *
+
+the module ``audio.fx`` is loaded as ``afx`` and you can use ``afx.volumex``, etc.
+
+
+.. currentmodule:: moviepy.audio.fx.all
+
+.. autosummary::
+ :toctree: audiofx
+ :nosignatures:
+
+ audio_fadein
+ audio_fadeout
+ audio_loop
+ volumex
\ No newline at end of file
diff --git a/docs/ref/audiofx/moviepy.audio.fx.all.audio_fadein.rst b/docs/ref/audiofx/moviepy.audio.fx.all.audio_fadein.rst
new file mode 100644
index 00000000..b31e5bd3
--- /dev/null
+++ b/docs/ref/audiofx/moviepy.audio.fx.all.audio_fadein.rst
@@ -0,0 +1,6 @@
+moviepy.audio.fx.all.audio_fadein
+=================================
+
+.. currentmodule:: moviepy.audio.fx.all
+
+.. autofunction:: audio_fadein
\ No newline at end of file
diff --git a/docs/ref/audiofx/moviepy.audio.fx.all.audio_fadeout.rst b/docs/ref/audiofx/moviepy.audio.fx.all.audio_fadeout.rst
new file mode 100644
index 00000000..2f8cc361
--- /dev/null
+++ b/docs/ref/audiofx/moviepy.audio.fx.all.audio_fadeout.rst
@@ -0,0 +1,6 @@
+moviepy.audio.fx.all.audio_fadeout
+==================================
+
+.. currentmodule:: moviepy.audio.fx.all
+
+.. autofunction:: audio_fadeout
\ No newline at end of file
diff --git a/docs/ref/audiofx/moviepy.audio.fx.all.audio_loop.rst b/docs/ref/audiofx/moviepy.audio.fx.all.audio_loop.rst
new file mode 100644
index 00000000..04afbdd1
--- /dev/null
+++ b/docs/ref/audiofx/moviepy.audio.fx.all.audio_loop.rst
@@ -0,0 +1,6 @@
+moviepy.audio.fx.all.audio_loop
+===============================
+
+.. currentmodule:: moviepy.audio.fx.all
+
+.. autofunction:: audio_loop
\ No newline at end of file
diff --git a/docs/ref/audiofx/moviepy.audio.fx.all.volumex.rst b/docs/ref/audiofx/moviepy.audio.fx.all.volumex.rst
new file mode 100644
index 00000000..3dfb113d
--- /dev/null
+++ b/docs/ref/audiofx/moviepy.audio.fx.all.volumex.rst
@@ -0,0 +1,6 @@
+moviepy.audio.fx.all.volumex
+============================
+
+.. currentmodule:: moviepy.audio.fx.all
+
+.. autofunction:: volumex
\ No newline at end of file
diff --git a/docs/ref/videofx.rst b/docs/ref/videofx.rst
index d858de35..65d4e6cb 100644
--- a/docs/ref/videofx.rst
+++ b/docs/ref/videofx.rst
@@ -3,14 +3,30 @@
***********************
moviepy.video.fx (vfx)
***********************
-The module ``moviepy.video.fx`` regroups functions meant to be used with ``videoclip.fx``. When you type ::
+The module ``moviepy.video.fx`` regroups functions meant to be used with ``videoclip.fx()``.
+
+Because this module is starting to be large and will be larger in the future, it allows two kinds of import.
+You can either import a single function like this: ::
+
+ from moviepy.video.fx.scroll import crop
+ newclip = myclip.fx( vfx.crop, x1=15)
+
+Or import everything: ::
+
+ import moviepy.video.fx.all as vfx
+ newclip = (myclip.fx( vfx.crop, x1=15)
+ .fx( vfx.resize, width=200)
+ .fx( vfx.freeze_at_end, 1))
+
+
+When you type ::
from moviepy.editor import *
the module ``video.fx`` is loaded as ``vfx`` and you can use ``vfx.colorx``, ``vfx.resize``, etc.
-.. currentmodule:: moviepy.video.fx
+.. currentmodule:: moviepy.video.fx.all
.. autosummary::
:toctree: videofx
diff --git a/docs/ref/videofx/moviepy.video.fx.all.blackwhite.rst b/docs/ref/videofx/moviepy.video.fx.all.blackwhite.rst
new file mode 100644
index 00000000..536d9cd7
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.blackwhite.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.blackwhite
+===============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: blackwhite
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.blink.rst b/docs/ref/videofx/moviepy.video.fx.all.blink.rst
new file mode 100644
index 00000000..5b34427a
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.blink.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.blink
+==========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: blink
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.colorx.rst b/docs/ref/videofx/moviepy.video.fx.all.colorx.rst
new file mode 100644
index 00000000..8cd17962
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.colorx.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.colorx
+===========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: colorx
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.crop.rst b/docs/ref/videofx/moviepy.video.fx.all.crop.rst
new file mode 100644
index 00000000..ad26f98e
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.crop.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.crop
+=========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: crop
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.fadein.rst b/docs/ref/videofx/moviepy.video.fx.all.fadein.rst
new file mode 100644
index 00000000..f34b418b
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.fadein.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.fadein
+===========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: fadein
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.fadeout.rst b/docs/ref/videofx/moviepy.video.fx.all.fadeout.rst
new file mode 100644
index 00000000..07806384
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.fadeout.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.fadeout
+============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: fadeout
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.freeze_at_end.rst b/docs/ref/videofx/moviepy.video.fx.all.freeze_at_end.rst
new file mode 100644
index 00000000..df2dd94e
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.freeze_at_end.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.freeze_at_end
+==================================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: freeze_at_end
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.freeze_at_start.rst b/docs/ref/videofx/moviepy.video.fx.all.freeze_at_start.rst
new file mode 100644
index 00000000..1adc29cd
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.freeze_at_start.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.freeze_at_start
+====================================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: freeze_at_start
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.gamma_corr.rst b/docs/ref/videofx/moviepy.video.fx.all.gamma_corr.rst
new file mode 100644
index 00000000..afb22d4c
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.gamma_corr.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.gamma_corr
+===============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: gamma_corr
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.headblur.rst b/docs/ref/videofx/moviepy.video.fx.all.headblur.rst
new file mode 100644
index 00000000..3bdcdd36
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.headblur.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.headblur
+=============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: headblur
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.loop.rst b/docs/ref/videofx/moviepy.video.fx.all.loop.rst
new file mode 100644
index 00000000..aa03c45d
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.loop.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.loop
+=========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: loop
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.lum_contrast.rst b/docs/ref/videofx/moviepy.video.fx.all.lum_contrast.rst
new file mode 100644
index 00000000..1c6d1362
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.lum_contrast.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.lum_contrast
+=================================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: lum_contrast
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.make_loopable.rst b/docs/ref/videofx/moviepy.video.fx.all.make_loopable.rst
new file mode 100644
index 00000000..45ff3def
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.make_loopable.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.make_loopable
+==================================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: make_loopable
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.margin.rst b/docs/ref/videofx/moviepy.video.fx.all.margin.rst
new file mode 100644
index 00000000..d3f331e3
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.margin.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.margin
+===========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: margin
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.mirror_x.rst b/docs/ref/videofx/moviepy.video.fx.all.mirror_x.rst
new file mode 100644
index 00000000..d63b281e
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.mirror_x.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.mirror_x
+=============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: mirror_x
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.mirror_y.rst b/docs/ref/videofx/moviepy.video.fx.all.mirror_y.rst
new file mode 100644
index 00000000..5b5aeadd
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.mirror_y.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.mirror_y
+=============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: mirror_y
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.painting.rst b/docs/ref/videofx/moviepy.video.fx.all.painting.rst
new file mode 100644
index 00000000..462755b3
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.painting.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.painting
+=============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: painting
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.resize.rst b/docs/ref/videofx/moviepy.video.fx.all.resize.rst
new file mode 100644
index 00000000..0f3b9bc2
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.resize.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.resize
+===========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: resize
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.rotation.rst b/docs/ref/videofx/moviepy.video.fx.all.rotation.rst
new file mode 100644
index 00000000..04762ca4
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.rotation.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.rotation
+=============================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: rotation
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.scroll.rst b/docs/ref/videofx/moviepy.video.fx.all.scroll.rst
new file mode 100644
index 00000000..176e9f8f
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.scroll.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.scroll
+===========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: scroll
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.speedx.rst b/docs/ref/videofx/moviepy.video.fx.all.speedx.rst
new file mode 100644
index 00000000..6710d0fe
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.speedx.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.speedx
+===========================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: speedx
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.time_mirror.rst b/docs/ref/videofx/moviepy.video.fx.all.time_mirror.rst
new file mode 100644
index 00000000..cea4a124
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.time_mirror.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.time_mirror
+================================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: time_mirror
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.all.time_symetrize.rst b/docs/ref/videofx/moviepy.video.fx.all.time_symetrize.rst
new file mode 100644
index 00000000..fe3c3a71
--- /dev/null
+++ b/docs/ref/videofx/moviepy.video.fx.all.time_symetrize.rst
@@ -0,0 +1,6 @@
+moviepy.video.fx.all.time_symetrize
+===================================
+
+.. currentmodule:: moviepy.video.fx.all
+
+.. autofunction:: time_symetrize
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.blackwhite.rst b/docs/ref/videofx/moviepy.video.fx.blackwhite.rst
deleted file mode 100644
index e8f10b08..00000000
--- a/docs/ref/videofx/moviepy.video.fx.blackwhite.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.blackwhite
-===========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: blackwhite
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.blink.rst b/docs/ref/videofx/moviepy.video.fx.blink.rst
deleted file mode 100644
index 5fd8ac8a..00000000
--- a/docs/ref/videofx/moviepy.video.fx.blink.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.blink
-======================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: blink
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.colorx.rst b/docs/ref/videofx/moviepy.video.fx.colorx.rst
deleted file mode 100644
index f6d4a82b..00000000
--- a/docs/ref/videofx/moviepy.video.fx.colorx.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.colorx
-=======================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: colorx
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.fadein.rst b/docs/ref/videofx/moviepy.video.fx.fadein.rst
deleted file mode 100644
index 15a632c4..00000000
--- a/docs/ref/videofx/moviepy.video.fx.fadein.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.fadein
-=======================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: fadein
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.fadeout.rst b/docs/ref/videofx/moviepy.video.fx.fadeout.rst
deleted file mode 100644
index 4295baf7..00000000
--- a/docs/ref/videofx/moviepy.video.fx.fadeout.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.fadeout
-========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: fadeout
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.freeze_at_end.rst b/docs/ref/videofx/moviepy.video.fx.freeze_at_end.rst
deleted file mode 100644
index 2e2172e5..00000000
--- a/docs/ref/videofx/moviepy.video.fx.freeze_at_end.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.freeze_at_end
-==============================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: freeze_at_end
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.freeze_at_start.rst b/docs/ref/videofx/moviepy.video.fx.freeze_at_start.rst
deleted file mode 100644
index e35aeb04..00000000
--- a/docs/ref/videofx/moviepy.video.fx.freeze_at_start.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.freeze_at_start
-================================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: freeze_at_start
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.gamma_corr.rst b/docs/ref/videofx/moviepy.video.fx.gamma_corr.rst
deleted file mode 100644
index b63dd228..00000000
--- a/docs/ref/videofx/moviepy.video.fx.gamma_corr.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.gamma_corr
-===========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: gamma_corr
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.headblur.rst b/docs/ref/videofx/moviepy.video.fx.headblur.rst
deleted file mode 100644
index 615111a8..00000000
--- a/docs/ref/videofx/moviepy.video.fx.headblur.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.headblur
-=========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: headblur
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.loop.rst b/docs/ref/videofx/moviepy.video.fx.loop.rst
deleted file mode 100644
index b7d6c565..00000000
--- a/docs/ref/videofx/moviepy.video.fx.loop.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.loop
-=====================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: loop
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.lum_contrast.rst b/docs/ref/videofx/moviepy.video.fx.lum_contrast.rst
deleted file mode 100644
index f5d7b289..00000000
--- a/docs/ref/videofx/moviepy.video.fx.lum_contrast.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.lum_contrast
-=============================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: lum_contrast
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.make_loopable.rst b/docs/ref/videofx/moviepy.video.fx.make_loopable.rst
deleted file mode 100644
index 2d92922d..00000000
--- a/docs/ref/videofx/moviepy.video.fx.make_loopable.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.make_loopable
-==============================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: make_loopable
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.margin.rst b/docs/ref/videofx/moviepy.video.fx.margin.rst
deleted file mode 100644
index 3d59c310..00000000
--- a/docs/ref/videofx/moviepy.video.fx.margin.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.margin
-=======================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: margin
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.mirror_x.rst b/docs/ref/videofx/moviepy.video.fx.mirror_x.rst
deleted file mode 100644
index 46af9323..00000000
--- a/docs/ref/videofx/moviepy.video.fx.mirror_x.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.mirror_x
-=========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: mirror_x
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.mirror_y.rst b/docs/ref/videofx/moviepy.video.fx.mirror_y.rst
deleted file mode 100644
index f7b80ed7..00000000
--- a/docs/ref/videofx/moviepy.video.fx.mirror_y.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.mirror_y
-=========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: mirror_y
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.painting.rst b/docs/ref/videofx/moviepy.video.fx.painting.rst
deleted file mode 100644
index 4713d765..00000000
--- a/docs/ref/videofx/moviepy.video.fx.painting.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.painting
-=========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: painting
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.resize.rst b/docs/ref/videofx/moviepy.video.fx.resize.rst
deleted file mode 100644
index bc50a104..00000000
--- a/docs/ref/videofx/moviepy.video.fx.resize.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.resize
-=======================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: resize
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.rotation.rst b/docs/ref/videofx/moviepy.video.fx.rotation.rst
deleted file mode 100644
index 99efe504..00000000
--- a/docs/ref/videofx/moviepy.video.fx.rotation.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.rotation
-=========================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: rotation
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.scroll.rst b/docs/ref/videofx/moviepy.video.fx.scroll.rst
deleted file mode 100644
index 736325d5..00000000
--- a/docs/ref/videofx/moviepy.video.fx.scroll.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.scroll
-=======================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: scroll
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.speedx.rst b/docs/ref/videofx/moviepy.video.fx.speedx.rst
deleted file mode 100644
index 2546cebf..00000000
--- a/docs/ref/videofx/moviepy.video.fx.speedx.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.speedx
-=======================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: speedx
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.time_mirror.rst b/docs/ref/videofx/moviepy.video.fx.time_mirror.rst
deleted file mode 100644
index 6a1a5c8c..00000000
--- a/docs/ref/videofx/moviepy.video.fx.time_mirror.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.time_mirror
-============================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: time_mirror
\ No newline at end of file
diff --git a/docs/ref/videofx/moviepy.video.fx.time_symetrize.rst b/docs/ref/videofx/moviepy.video.fx.time_symetrize.rst
deleted file mode 100644
index 41c97be0..00000000
--- a/docs/ref/videofx/moviepy.video.fx.time_symetrize.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-moviepy.video.fx.time_symetrize
-===============================
-
-.. currentmodule:: moviepy.video.fx
-
-.. autofunction:: time_symetrize
\ No newline at end of file
diff --git a/moviepy/audio/fx/audio_fadein.py b/moviepy/audio/fx/audio_fadein.py
index 9314de46..39032c35 100644
--- a/moviepy/audio/fx/audio_fadein.py
+++ b/moviepy/audio/fx/audio_fadein.py
@@ -5,6 +5,7 @@ import numpy as np
def audio_fadein(clip, duration):
""" Return an audio (or video) clip that is first mute, then the
sound arrives progressively over ``duration`` seconds. """
+
def fading(gf,t):
gft = gf(t)
diff --git a/moviepy/audio/fx/audio_left_right.py b/moviepy/audio/fx/audio_left_right.py
index 8c8b6804..dfa592f5 100644
--- a/moviepy/audio/fx/audio_left_right.py
+++ b/moviepy/audio/fx/audio_left_right.py
@@ -2,11 +2,13 @@ import numpy as np
def audio_left_right(audioclip, left=1, right=1, merge=False):
"""
+ NOT YET FINISHED
+
For a stereo audioclip, this function enables to change the volume
of the left and right channel separately (with the factors `left`
and `right`)
Makes a stereo audio clip in which the volume of left and right
- is controlable
+ is controllable
"""
funleft = (lambda t: left) if np.isscalar(left) else left
funright = (lambda t: right) if np.isscalar(right) else right
diff --git a/moviepy/audio/fx/volumex.py b/moviepy/audio/fx/volumex.py
index 8149135f..75d1bf2a 100644
--- a/moviepy/audio/fx/volumex.py
+++ b/moviepy/audio/fx/volumex.py
@@ -2,5 +2,18 @@ from moviepy.decorators import audio_video_fx
@audio_video_fx
def volumex(clip, factor):
- """ Returns a (video or audio) clip with increased sound volume """
- return clip.fl(lambda gf, t: factor * gf(t), keep_duration = True)
+ """ Returns a clip with audio volume multiplied by the
+ value `factor`. Can be applied to both audio and video clips.
+
+ This effect is loaded as a clip method when you use moviepy.editor,
+ so you can just write ``clip.volumex(2)``
+
+ Examples
+ ---------
+
+ >>> newclip = volumex(clip, 2.0) # doubles audio volume
+ >>> newclip = clip.fx( volumex, 0.5) # half audio, use with fx
+ >>> newclip = clip.volumex(2) # only if you used "moviepy.editor"
+ """
+ return clip.fl(lambda gf, t: factor * gf(t),
+ keep_duration = True)