[READ-ONLY] Mirror of https://github.com/probablykasper/to. CLI audio, video and image file converter
aiff audio cli flac gif image jp2 jpg mov mp3 mp4 ogg png video webm webp
0

Configure Feed

Select the types of activity you want to include in your feed.

24 1 20

Clone this repository

https://git.vm.fail/kasper.space/to https://git.vm.fail/did:plc:pfpvrsanuoajxcxq2zl3i3rn
ssh://git@knot1.tangled.sh:2222/kasper.space/to ssh://git@knot1.tangled.sh:2222/did:plc:pfpvrsanuoajxcxq2zl3i3rn

For self-hosted knots, clone URLs may differ based on your setup.


README.md

to#

Pretty simple bash script that converts audio, video and image files using FFmpeg and ImageMagick.

Install#

TBA

Usage#

Running to shows the help message:

Usage:
    to <format> [options] <file1> [file2...]

Options:
    format           Format to convert to.
    --formats        List all supported formats.
    -v, --verbose    If you love logs.
    -h, --help       Show this help message.

    Video/audio formats support FFmpeg options (see $ ffmpeg -h).
    Image formats support ImageMagick options (see $ man magick).
    Long FFmpeg/ImageMagick arguments need quotes, like "-ac 128k".

Formats#

Running to shows the supported formats:

Video formats:
    mp4
    mov
    webm

Audio formats:
    mp3      320kbps. Custom bitrate example: mp3:128
    flac
    aac
    aiff
    ogg

Image formats:
    jpg      100 quality. Custom quality example: jpg:75 (0-100)
    jp2      100 quality. Custom quality example: jpg:75 (0-100)
    png
    webp