srt2vtt

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 6 Imported by: 0

README

srt2vtt

Converts srt-subtitles to vtt

Features

  • Converts subtitles on the fly
  • Automatically detects input encoding and converts to UTF-8

Usage

% ./srt2vtt help
NAME:
   srt2vtt - converts srt to vtt

USAGE:
   srt2vtt [global options] command [command options] [arguments...]

VERSION:
   1.0.0

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --probe-host value  probe listening host [$PROBE_HOST]
   --probe-port value  probe listening port (default: 8081) [$PROBE_PORT]
   --use-probe         enable probe [$USE_PROBE]
   --host value        listening host [$WEB_HOST]
   --port value        http listening port (default: 8080) [$WEB_PORT]
   --help, -h          show help
   --version, -v       print the version

Example

curl -H 'X-Source-Url: https://github.com/webtor-io/srt2vtt/raw/refs/heads/master/samples/greek.srt' 'http://localhost:8080'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL