transcoder-go

command module
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

README

transcoder-go

transcoder is an opinionated wrapper around ffmpeg

Usage:
  transcoder [flags] <path> ...

Flags:
      --colors                  Force output with colors
      --early-exit              Early exit if transcoded version is larger than original (requires keep-old) (default true)
  -e, --extensions strings      Transcoded file extensions (default [.mp4,.mkv,.flv])
  -f, --flags string            The base flags used for all transcodes (default "-map 0 -c:v libx265 -preset ultrafast -x265-params crf=16 -c:a aac -strict -2 -b:a 256k")
  -h, --help                    help for transcoder
      --interval int            How often to output transcoding status (default 5)
      --keep-old                Keep old version of video if transcoded version is larger (default true)
      --log string              The log level to output (default "info")
      --nice                    Whether to lower the priority of ffmpeg process (default true)
      --skip-confidence float   Skip confidence for early exit (default 15)
      --stderr                  Whether to output ffmpeg stderr stream
      --tg-admin-id int         Telegram Admin User ID
      --tg-bot-key string       Telegram Bot API Key
      --tg-chat-id string       Telegram Bot Chat ID

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