#caption #toolkit #media #generate #srt #deepgram

bin+lib lamarck

A toolkit CLI for audio/visual manipulation such as generating SRT captions using Deepgram

6 releases (3 breaking)

0.4.2 Feb 28, 2023
0.4.1 Jan 9, 2023
0.3.0 Aug 16, 2022
0.2.0 Aug 1, 2022
0.1.0 Jul 19, 2022

#497 in Audio

MIT license

23KB
471 lines

Lamarck

A CLI based audio/visual toolkit

Installation

cargo install lamarck

Getting Started

Currently the only available subcommand is lamarck caption which takes any audio file, detects the media type, and generates some output including transcript and .srt files.

lamarck-caption 0.1.0
Generate captions using deepgram

USAGE:
    lamarck caption [OPTIONS] --deepgram-api-key <DEEPGRAM_API_KEY> --input <INPUT>

OPTIONS:
        --deepgram-api-key <DEEPGRAM_API_KEY>
            captions require a deepgram API key

    -h, --help
            Print help information

    -i, --input <INPUT>
            A path to an audio file or a URL

    -o, --output-path <OUTPUT_PATH>
            a filepath to use for the output

    -V, --version
            Print version information

OUTPUT_TYPE:
    -m, --markdown <markdown>        output a markdown file with links to video timestamps [default:
                                     false]
    -s, --srt <srt>                  output an srt file [default: false]
    -t, --transcript <transcript>    output a transcript [default: false]
Naming

Lamarck is short for Lamarckdromia Beagle and is also French for "the mark", like the marks you'd make on a live stream to pull out clips.

Dependencies

~18–36MB
~584K SLoC