Skip to content

Commit

Permalink
Merge branch 'master' into Issue629
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian-O authored Aug 10, 2017
2 parents ab19580 + 5a3cb6e commit 98a4f14
Show file tree
Hide file tree
Showing 12 changed files with 182 additions and 141 deletions.
22 changes: 5 additions & 17 deletions docs/gallery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ This mix of 60 covers of the Cup Song demonstrates the non-linear video editing

<div style="position: relative; padding-bottom: 56.25%; padding-top: 30px; margin-bottom:30px; height: 0; overflow: hidden;
margin-left: 5%;">
<iframe type="text/html" src="https://youtube.com/embed/rIehsqqYFEM&hl?rel=0" frameborder="0"
style="position: absolute; top: 0; bottom: 10; width: 90%; height: 100%;">
</iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/rIehsqqYFEM" frameborder="0" allowfullscreen></iframe>
</div>

The (old) MoviePy reel video.
Expand All @@ -33,8 +31,7 @@ in the :ref:`examples`.
.. raw:: html

<div style="position: relative; padding-bottom: 56.25%; padding-top: 30px; margin-bottom:30px; height: 0; overflow: hidden; margin-left: 5%;">
<iframe type="text/html" src="https://youtube.com/embed/zGhoZ4UBxEQ&hl?rel=0" frameborder="0"
style="position: absolute; top: 0; bottom: 10; left: 0; width: 90%; height: 100%;">
<iframe width="560" height="315" src="https://www.youtube.com/embed/zGhoZ4UBxEQ" frameborder="0" allowfullscreen>
</iframe>
</div>

Expand Down Expand Up @@ -129,8 +126,7 @@ This `transcribing piano rolls blog post <https://zulko.github.io/blog/2014/02/1
.. raw:: html

<div style="position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; margin-bottom:30px; overflow: hidden; margin-left: 5%;">
<iframe type="text/html" src="https://youtube.com/embed/V2XCJNZjm4w&hl?rel=0" frameborder="0"
style="position: absolute; top: 0; bottom: 10; left: 0; width: 90%; height: 100%;">
<iframe width="560" height="315" src="https://www.youtube.com/embed/V2XCJNZjm4w" frameborder="0" allowfullscreen>
</iframe>
</div>

Expand Down Expand Up @@ -171,8 +167,7 @@ Videogrep is a python script written by Sam Lavigne, that goes through the subti
.. raw:: html

<div style="position: relative; padding-bottom: 56.25%; padding-top: 30px; margin-bottom:30px; height: 0; overflow: hidden; margin-left: 5%;">
<iframe type="text/html" src="https://youtube.com/embed/D7pymdCU5NQ&hl?rel=0" frameborder="0"
style="position: absolute; top: 0; bottom: 10; left: 0; width: 90%; height: 100%;">
<iframe width="560" height="315" src="https://www.youtube.com/embed/D7pymdCU5NQ" frameborder="0" allowfullscreen>
</iframe>
</div>

Expand Down Expand Up @@ -200,12 +195,5 @@ This `Videogrep blog post <https://zulko.github.io/blog/2014/06/21/some-more-vid
</div>


This `other post <https://zulko.github.io/blog/2014/07/04/automatic-soccer-highlights-compilations-with-python/>`_ uses MoviePy to automatically cut together all the highlights of a soccer game, based on the fact that the crowd cheers louder when something interesting happens. All in under 30 lines of Python:

.. raw:: html
This `other post <https://zulko.github.io/blog/2014/07/04/automatic-soccer-highlights-compilations-with-python/>`_ uses MoviePy to automatically cut together `all the highlights of a soccer game <http://youtu.be/zJtWPFX2bA0>`_, based on the fact that the crowd cheers louder when something interesting happens. All in under 30 lines of Python:

<div style="position: relative; padding-bottom: 56.25%; padding-top: 30px; margin-bottom:30px; height: 0; overflow: hidden; margin-left: 5%;">
<iframe type="text/html" src="https://youtube.com/embed/zJtWPFX2bA0?rel=0" frameborder="0"
style="position: absolute; top: 0; bottom: 10; left: 0; width: 90%; height: 100%;">
</iframe>
</div>
6 changes: 4 additions & 2 deletions docs/ref/audiofx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ You can either import a single function like this: ::
Or import everything: ::
import moviepy.audio.fx.all as afx
newaudio = (audioclip.afx( vfx.volumex, 0.5)
newaudio = (audioclip.afx( vfx.normalize)
.afx( vfx.volumex, 0.5)
.afx( vfx.audio_fadein, 1.0)
.afx( vfx.audio_fadeout, 1.0))

Expand All @@ -41,4 +42,5 @@ the module ``audio.fx`` is loaded as ``afx`` and you can use ``afx.volumex``, et
audio_fadein
audio_fadeout
audio_loop
volumex
audio_normalize
volumex
6 changes: 6 additions & 0 deletions docs/ref/audiofx/moviepy.audio.fx.all.audio_normalize.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
moviepy.audio.fx.all.audio_normalize
==================================

.. currentmodule:: moviepy.audio.fx.all

.. autofunction:: audio_normalize
Loading

0 comments on commit 98a4f14

Please sign in to comment.