-
Notifications
You must be signed in to change notification settings - Fork 179
Encoder Command Line
The best way to learn how to write command line for any encoder is to look at standard deadbeef presets.
There are 2 methods of using the encoders: pipe and temp file.
This is the preferred way, but not all encoders support it.
Example:
lame --preset cbr 320 - %o
In this example, "-" means "accept input data on standard input pipe", and %o will be substituted with the output filename, as configured in the main Converter dialog. Make sure to select Method: pipe
in the preset configuration dialog.
Example:
ttaenc -e -o %o %i
In this example, "%o" is the output file name, as configured in the main Converter dialog, while %i is the name of temporary file, which will be written by Converter plugin. Select Method: Temporary file
in the preset. This method works with all encoders, but usually has file size limitation (4Gb is RIFF WAVE format limit), and it's not possible to display progress bar while encoding.