Skip to content

Commit

Permalink
Minor Modifications to paint example (#515)
Browse files Browse the repository at this point in the history
Minor Modifications
  • Loading branch information
gpantelis authored and bearney74 committed Mar 28, 2017
1 parent da7bd37 commit 6c2ca83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/painting_effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# WE TAKE THE SUBCLIPS WHICH ARE 2 SECONDS BEFORE & AFTER THE FREEZE

charade = VideoFileClip("../../videos/charade.mp4")
tfreeze = cvsecs(19,21) # Time of the freeze, 19'21
tfreeze = cvsecs(19.21) # Time of the freeze, 19'21

# when using several subclips of a same clip, it can be faster
# to create 'coreaders' of the clip (=other entrance points).
Expand All @@ -17,7 +17,7 @@

im_freeze = charade.to_ImageClip(tfreeze)
painting = (charade.fx( vfx.painting, saturation = 1.6,black = 0.006)
.to_ImageClip(tfreeze)
.to_ImageClip(tfreeze))

txt = TextClip('Audrey',font='Amiri-regular',fontsize=35)

Expand Down

0 comments on commit 6c2ca83

Please sign in to comment.