Remix speeches for fun and profit (work in progress)
License: | BSD |
---|
miau
is a command line tool to easily generate remixes of clips like
political speeches.
tin@morochita:~/lab/miau$ miau --help Miau: Remix speeches for fun and profit Usage: miau <input_files>... -r <remix> [-o <output>] [-d <dump>] [--lang <lang>] [--debug] miau -h | --help miau --version Options: <input_files> Input files patterns (clip/s and its transcripts) -r --remix <remix> Script text (txt or json) -d --dump <json> Dump remix as json. Can be loaded with -r to reuse the aligment. -o --output <output> Output filename -h --help Show this screen. --lang <lang> Set language (2-letter code) for inputs (default autodetect) --version Show version.
- Merkel on Europe (english)
- Macron "Autres sont des menaces" (french)
- Macri: "Pobreza para nuestros docentes" (spanish)
It uses aeneas to syncronize the transcription and the input audio/video file (force align), using as many iterations as needed.
Another text define the remix script (i.e. "output speech"), using fragments of the input transcription. miau
cuts the proper parts and join each of them using
moviepy.
A detailed blog post (in spanish) is here
miau
means meow
in spanish. It's a joke about the popular
(pejorative) nickname assigned to Argentina's
president
Mauricio "Cat" Macri. As I started this tool to make fun of President Macri,
this was a pretty obvious choice.