Skip to content

mgaitan/miau

Repository files navigation

miau

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.

Usage

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.

Examples

image

image

image

image

How it works?

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

Why miau?

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.

About

Remix speeches for fun and profit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published