-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Nearly every input-format is accepted as file conversion is handled by ffmpeg. If there is a format not supported by the default ffmpeg packages, compile ffmpeg to your liking.
Output formats are freely configurable in config.json.
Available types are image, video or audio. For each type there can be many sizes specified.
will be converted to jpeg with specified bigger side size and quality parameter.
"sizes": [
{
"name": "thumbnail",
"side": 80,
"quality": 0.8
},
{
"name": "small",
"side": 200,
"quality": 0.65
}
]
will be converted to specified video/audio codecs with bigger side size and bitrate parameters. For every Video there will also be output an image-type, which is a thumbnail for the video file.
"sizes": [
{
"name": "low",
"side": 480,
"videocodec": "libx264",
"videobitrate": 1200,
"audiocodec": "libfdk_aac",
"audiobitrate": 92
},
{
"name": "medium",
"side": 720,
"videocodec": "libx264",
"videobitrate": 2200,
"audiocodec": "libfdk_aac",
"audiobitrate": 128
}
]
will be converted to specified codec with bitrate. For each Audio file there will be output an image-type which is a waveform image.
"sizes": [
{
"name": "low",
"audiocodec": "libmp3lame",
"bitrate": 48
},
{
"name": "medium",
"audiocodec": "libmp3lame",
"bitrate": 92
}
]
For each type the original input file will be saved as well