User:Alice/Project experiments

From XPUB & Lens-Based wiki
< User:Alice
Revision as of 16:46, 18 February 2019 by Alice (talk | contribs)

Testing video tools

In my project, I plan on using free software tools, command line or other, to put together a short video essay that illustrates the narrative of my research.

Vidpy

Vidpy is a piece of software written by Sam Lavigne, developed from MLT.

Overlaying text on a video compositionwith no sound

from vidpy import Clip, Composition

clip1 = Clip('Devon to Doorstep - How Huel is made-NpK63Auk1_A.mkv')
clip2 = Clip('Devon to Doorstep - How Huel is made-NpK63Auk1_A.mkv')
clips = [clip1, clip2]
for clip in clips:
    clip.volume(0)
    if clip==clip1:
        cut = clip1.cut(start=0, end=2.8)
    else:
        cut = clip2.cut(start=56, end=57.8)
text1 = clip1.text("Your body will make itself heard", color="#FF69B4", font="Ubuntu", size=100)
text2 = clip2.text("Your body will make itself heard", color="#FF69B4", font="Ubuntu", size=100)

together = Composition(clips, singletrack=True)
together.save('vidpy_test.webm')