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

bin+lib lamarck

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

7 releases (4 breaking)

new 0.6.0 May 19, 2024
0.4.2 Feb 28, 2023
0.4.1 Jan 9, 2023
0.3.0 Aug 16, 2022
0.1.0 Jul 19, 2022

#296 in Audio

Download history 4/week @ 2024-02-25 3/week @ 2024-03-10 24/week @ 2024-03-31

410 downloads per month

MIT license

43KB
500 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

~19–33MB
~533K SLoC