Skip to content
Philipp Piwo edited this page Apr 19, 2016 · 3 revisions

Accepted File-Types

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.

Recoded Sizes and Formats

Output formats are freely configurable in config.json.

Available types are image, video or audio. For each type there can be many sizes specified.

Image files

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
        }
]

Videos files

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
        }
]

Audio files

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

Clone this wiki locally