Skip to content

mousecloak/docker-unflac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mousecloak/docker-unflac

Unofficial unflac Docker image.

Introduction

unflac is a command line tool for fast frame accurate audio image + cue sheet splitting.

This is a Docker image that contains the unflac utility and its dependencies, ready to run.

Get it

docker pull mousecloak/unflac

Run it

docker run -v "$PWD:$PWD" -w "$PWD" --rm mousecloak/unflac -h
Usage: unflac [OPTION] ... [INPUT] ...

INPUT can be either a directory or a CUE sheet file.
If no inputs where specified, a current directory is used.

  -arg-ffmpeg value
    	Add an argument to ffmpeg. Example: "-arg-ffmpeg -qscale:a --arg-ffmpeg 2"
  -d	Dry run
  -f string
    	Output format. Example: "-f ogg". Any format that ffmpeg supports can be used (default "flac")
  -h	Show command usage
  -j	Dump all inputs as json
  -n string
    	File naming template (default "{{.Input.Artist | Elem -}} / {{- with .Input.Date}}{{.}} - {{end}}{{with .Input.Title}}{{. | Elem}}{{else}}Unknown Album{{end -}} / {{- printf .Input.TrackNumberFmt .Track.Number}} - {{.Track.Title | Elem}}")
  -o string
    	Output directory (default ".")
  -q	Only print errors
  -t value
    	Extract specific track(s). Example: "-t 1 -t 2"

Shell suits

For a seamless experience, consider using a shell alias:

Bash

alias unflac='docker run -v "$PWD:$PWD" -w "$PWD" --rm mousecloak/unflac'

Fish

alias unflac 'docker run -v "$PWD:$PWD" -w "$PWD" --rm mousecloak/unflac'

About

A Docker image for the unflac project. https://git.sr.ht/~ft/unflac

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published