gibberfish
v3.0.4
Published
Generate random videos with sync'd captions
Downloads
7
Readme
Gibberfish
Generate test video content with Node.js. Useful for subtitle synchronisation testing. Gibberfish utilises the say
command, GraphicsMagick and ffmpeg.
Content is generated by creating multiple concurrent segments before concatenating them so the generation time is significantly shorter than the output running time.
The output is a ~10 minute video with H.264 video, AAC audio and separate SRT and VTT subtitle files. The subtitles match the synchronized displayed text and spoken (TTS) audio tracks.
Requirements
Gibberfish requires:
- macOS with
say
- Node 6+
- GraphicsMagick
- ffmpeg (providing the
ffmpeg
andffprobe
commands)
Usage
npm install -g gibberfish
gibberfish output.mp4
- Generates
output.mp4
,output.srt
andoutput.vtt
with randomly-generated text input
gibberfish -f inputfile.txt output.mp4
- Generates outputs using the text provided
gibberfish -f - output.mp4
- Generates outputs using the text provided on STDIN