Amberflip

v1.0.1
com.amberflip/amberflip Checked 17 hours ago Published 13 days ago

Convert, compress and edit pictures, video, audio and PDFs offline.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_operations List operations

What Amberflip can do with all of the given files together, each with the tool that does it (and the extension for `convert`). Without files, every operation and the kinds of file it takes.

ParameterTypeDescription
filesarrayAbsolute paths.

inspect Inspect files

What is known about each file without changing it: kind, size in bytes, a PDF's page count and page sizes in points, a picture's or video's width and height in pixels, a video's or sound's length in seconds, and its metadata fields by the names `metadata` takes.

ParameterTypeDescription
files *arrayAbsolute paths.

convert Convert

Convert each file to another format by its extension: png, jpg, webp, avif, mp4, webm, gif, mp3, wav, pdf, docx, xlsx, srt... `list_operations` says which a file can go to. Returns the paths of the new files.

ParameterTypeDescription
files *arrayAbsolute paths.
to *stringThe extension to convert to, e.g. `jpg`.
output_dirstringAbsolute folder for the results; default: the user's setting.

run_operation Run operation

Run an operation of `list_operations` by its id, for those without a tool of their own: `tool.rotate_cw`, `tool.denoise`, `tool.pdf_grayscale`, `tool.split_pdf`, the conversions.

ParameterTypeDescription
files *arrayAbsolute paths.
operation *stringThe operation id, e.g. `tool.rotate_cw`.
output_dirstringAbsolute folder for the results; default: the user's setting.

pdf_pages Organize pages

Reorder, remove, duplicate or turn the pages of one PDF. Takes pdf files.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.
pagesstringThe pages of the result, in order, e.g. `3,1-2,5-` or `1,2@90,2`. Empty: every page as it is.
removestringPages of the input to leave out, e.g. `4,7-9`. Applied after `pages`.
rotatestringTurn pages of the input clockwise, e.g. `2:90,5:180`: every copy of that page.
same_widthbooleanScale pages wider than the narrowest down to its width.

pdf_split Split into parts

Cut one PDF into several, one per range. Takes pdf files.

ParameterTypeDescription
files *arrayAbsolute paths.
everyinteger | nullInstead of `ranges`: a part every this many pages.
output_dirstringAbsolute folder for the results; default: the user's setting.
rangesstringOne part per entry, e.g. `1-3,4-9,10-`. Empty (and no `every`): one part per page.

pdf_merge Merge

Join PDFs into one, in the order given; named after the first. Takes pdf files. One result from all the files, in the order given.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.
same_widthbooleanScale pages wider than the narrowest down to its width.

pdf_redact Redact

Remove areas of pages for good. A page with an area becomes a picture of itself with the areas painted over, so its text can no longer be selected or searched; the other pages stay as they are. The bookmarks, attachments, form list and document information go too. Takes pdf files. Needs Ghostscript.

ParameterTypeDescription
files *arrayAbsolute paths.
areasarrayThe areas to remove.
colorstringThe paint, `#rrggbb`.
dpiintegerHow sharp the pages that become pictures are, 72 to 600 dots per inch.
output_dirstringAbsolute folder for the results; default: the user's setting.

video_trim Trim

Keep one section of a video. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
exactbooleanRe-encode for a cut on the exact frame (MP4). `false` copies the streams: fast, but cut at the nearest key frame, in the input's own format.
fromnumberStart, in seconds.
keep_audiobooleanKeep the sound (`false` leaves it out).
output_dirstringAbsolute folder for the results; default: the user's setting.
tonumber | nullEnd, in seconds; the end of the video when left out.

video_crop Crop

Crop a video to an area, then turn it, then optionally scale it to an exact size. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
areaThe part to keep, in pixels; rounded down to even numbers, as H.264 needs.
output_dirstringAbsolute folder for the results; default: the user's setting.
sizeScale the result to this size at the end, e.g. 1080 × 1350 for an Instagram portrait post; rounded down to even numbers, as H.264 needs.
turnintegerClockwise turn after cropping: 0, 90, 180 or 270.

video_speed Change the speed

Play faster or slower. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
factornumber0.25 to 4: 2 is twice as fast.
keep_pitchbooleanKeep the voices' pitch (`false`: they get higher or lower with the speed).
output_dirstringAbsolute folder for the results; default: the user's setting.

video_split Split into clips

Cut a video into clips. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
atarrayWhere to cut, in seconds.
output_dirstringAbsolute folder for the results; default: the user's setting.
partsinteger | nullInstead of `at`: this many clips of equal length (2 to 50).

video_frames Save frames

Save frames of a video as PNG pictures. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
atarrayThe moments, in seconds.
everynumber | nullInstead of `at`: one frame every this many seconds, from the start.
output_dirstringAbsolute folder for the results; default: the user's setting.

video_join Join

Join videos one after another, in the order given; each is fitted to the first one's size. Takes video files. One result from all the files, in the order given. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.

video_redact Redact

Cover areas of a video, each for a stretch of time. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
areasarrayThe areas to cover, each with its stretch of time.
blurbooleanBlur the areas instead of filling them with `color`.
colorstringThe fill, `#rrggbb`.
output_dirstringAbsolute folder for the results; default: the user's setting.

video_resize Resize

Change a video's size, keeping its proportions; the numbers are rounded to even ones, as H.264 needs. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
heightinteger | nullThe height in pixels (1080, 720, 480...).
output_dirstringAbsolute folder for the results; default: the user's setting.
widthinteger | nullThe width in pixels. With `height` too: the result fits inside both.

video_mute Remove the sound

A copy of a video without its sound; the picture is copied as it is, not encoded again. Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.

video_subtitles Draw subtitles

Draw subtitles into the picture, so they show in every player. Needs an `FFmpeg` with the `subtitles` filter (libass). Takes video files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
filestringThe subtitles: an SRT, VTT, ASS or SSA file in UTF-8.
output_dirstringAbsolute folder for the results; default: the user's setting.
sizeinteger | nullThe size of the letters, 1 to 200 (of a picture 288 lines high, whatever its real size). An ASS file's own size when left out.

audio_trim Trim

Keep one section of a sound file. Takes audio files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
autobooleanInstead of `from` and `to`: cut the silence at both ends (below -50 dB).
fromnumberStart, in seconds.
output_dirstringAbsolute folder for the results; default: the user's setting.
shorten_pausesbooleanShorten pauses inside to half a second.
tonumber | nullEnd, in seconds; the end of the file when left out.

audio_normalize Even out the loudness

Even out the loudness, to a target in LUFS. Takes audio files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
lranumberLoudness range allowed, 1 to 20 LU.
lufsnumberTarget loudness, -30 to -5 LUFS (-16: podcasts and online video; -14: music services).
output_dirstringAbsolute folder for the results; default: the user's setting.
peaknumberHighest true peak, -9 to 0 dBTP.

audio_bleep Bleep

Replace sections with a beep. Takes audio files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
atarrayThe sections to replace with a beep.
output_dirstringAbsolute folder for the results; default: the user's setting.

audio_channels Channels

Make a sound file mono or stereo, with a volume for each side. Takes audio files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
leftnumberVolume of the left channel, 0 to 2 (1: as it is).
monobooleanOne channel (`true`) or two.
output_dirstringAbsolute folder for the results; default: the user's setting.
rightnumberVolume of the right channel, 0 to 2.

audio_visualize Sound to video

The sound's waveform as bars: a video that lights them up as it plays, or a still picture. Takes audio files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
colorstringThe bars' colour, `#rrggbb`.
output_dirstringAbsolute folder for the results; default: the user's setting.
shape
stillbooleanA PNG instead of an MP4 with the sound.

audio_fade Fade in and out

Fade the sound in at the start, out at the end, or both. Takes audio files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
fade_innumberHow long the fade in lasts, in seconds.
fade_outnumberHow long the fade out lasts, in seconds.
output_dirstringAbsolute folder for the results; default: the user's setting.

audio_bitrate Change the bitrate

Encode the sound again at a bitrate, in the same format. WAV, FLAC and AIFF have no bitrate. Takes audio files. Needs FFmpeg.

ParameterTypeDescription
files *arrayAbsolute paths.
kbpsintegerKilobits per second, 8 to 512 (64: speech; 128: music online; 320: the most MP3 holds).
output_dirstringAbsolute folder for the results; default: the user's setting.

image_crop Crop

Turn, mirror, then crop a picture; optionally resize the result exactly. Takes image files.

ParameterTypeDescription
files *arrayAbsolute paths.
areaThe part to keep, in pixels of the picture after `turn` and the flips.
flip_hbooleanMirror left to right (after the turn).
flip_vbooleanMirror top to bottom (after the turn).
output_dirstringAbsolute folder for the results; default: the user's setting.
sizeResize the result to exactly this size, e.g. 1080 × 1350 for an Instagram portrait post.
turnintegerClockwise turn first: 0, 90, 180 or 270.

image_adjust Adjust the photo

Light, colour and detail, as the Photo window's sliders. All 0 is the picture as it is. Takes image files.

ParameterTypeDescription
files *arrayAbsolute paths.
blacksnumber-100 to 100.
brightnessnumber-100 to 100.
claritynumber-100 to 100.
contrastnumber-100 to 100.
dehazenumber-100 to 100.
exposurenumberStops, -3 to 3.
gammanumber-100 to 100.
grainnumber0 to 100.
highlightsnumber-100 to 100.
huenumberDegrees, -180 to 180.
noise_reductionnumber0 to 100.
output_dirstringAbsolute folder for the results; default: the user's setting.
saturationnumber-100 to 100.
shadowsnumber-100 to 100.
sharpnessnumber0 to 100.
temperaturenumber-100 to 100.
tintnumber-100 to 100.
vibrancenumber-100 to 100.
whitesnumber-100 to 100.

image_frame Put on a background

The picture on a new canvas: a gradient, a colour or another picture behind it. Takes image files.

ParameterTypeDescription
files *arrayAbsolute paths.
blurnumberHow much that picture is blurred, in percent of the longer side of the photo.
colorstring | nullA plain colour instead, `#rrggbb`.
cornersnumberCorner radius, in percent of the longer side.
gradientinteger | nullOne of the nine gradients, 1 to 9 (the default fill is gradient 1).
imagestring | nullAnother picture instead, scaled to cover the canvas.
output_dirstringAbsolute folder for the results; default: the user's setting.
paddingnumberSpace around the photo, in percent of its longer side.
ratiostring | nullThe canvas shape, width:height such as `4:5`; the photo plus padding when left out.
shadownumberShadow softness, in percent of the longer side (0: none).

image_collage Collage

Several pictures in one, in the order given (a JPEG named after the first). Takes image files. One result from all the files, in the order given.

ParameterTypeDescription
files *arrayAbsolute paths.
backgroundstring`#rrggbb`.
columnsinteger | nullColumns of the grid; 2, or 3 for more than four pictures, when left out.
cornersintegerCorner radius of each picture, in pixels.
layoutHow the pictures are laid out.
output_dirstringAbsolute folder for the results; default: the user's setting.
ratiostringThe canvas shape, width:height: `1:1`, `4:5`, `3:2`, `16:9`, `9:16`...
spacingintegerSpace between and around the pictures, in pixels.
wholebooleanShow each picture whole, with background around it, instead of filling its cell.
widthintegerWidth of the result in pixels.

image_redact Redact

Cover areas of a picture, filled with a colour or blurred. Takes image files.

ParameterTypeDescription
files *arrayAbsolute paths.
areasarrayThe areas to cover.
blurbooleanBlur instead of filling with `color`.
colorstring`#rrggbb` or `#rrggbbaa`.
output_dirstringAbsolute folder for the results; default: the user's setting.

image_annotate Annotate

Draw marks on a picture: arrows, boxes, freehand lines, text, numbers, a magnifier, pictures. Takes image files.

ParameterTypeDescription
files *arrayAbsolute paths.
marksarrayThe marks, drawn in this order.
output_dirstringAbsolute folder for the results; default: the user's setting.

image_resize Resize

Change a picture's size, keeping its proportions. Takes image files.

ParameterTypeDescription
files *arrayAbsolute paths.
heightinteger | nullThe height in pixels.
output_dirstringAbsolute folder for the results; default: the user's setting.
percentnumber | nullInstead of `width` and `height`: a share of the size, 1 to 1000 percent.
widthinteger | nullThe width in pixels. With `height` too: the result fits inside both.

metadata Change the metadata

Change the metadata of a picture, video, sound file or PDF. Fields are named `group/key`, as `inspect` lists them (`exif/Model`, `gps/GPSLatitude`, `file/Title`); `group/key#2` is the second field of that name. Takes image, video, audio, pdf files.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.
removearrayFields to remove.
remove_allbooleanRemove everything that can be removed (a photo keeps its orientation).
remove_camerabooleanRemove the camera and its settings, the GPS position and the dates.
setobjectFields to set, `{"file/Title": "Holiday"}`; only text fields can be set.

compress Compress

Make a file smaller: a preset, optionally a target size, optionally smaller pictures or video. A result that misses its target is still written and listed in `over_target` in the answer. Takes image, video, audio, pdf files.

ParameterTypeDescription
files *arrayAbsolute paths.
halfbooleanPictures: half the width and height.
max_sideinteger | nullPictures: the longest side at most this many pixels.
output_dirstringAbsolute folder for the results; default: the user's setting.
strongbooleanSmaller files, lower quality (the default is balanced).
target_mbnumber | nullOr as a size in megabytes.
target_percentnumber | nullWhat each result must fit, as a share of the original, 5 to 95 percent.
video_heightinteger | nullVideo: at most this many pixels high (1080, 720, 480...).

strip_metadata Remove the metadata

No parameters: everything that can be removed is (a photo keeps its orientation). Takes image, video, audio, pdf files.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.

zip Zip

Pack files and folders into one ZIP, named after the first.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.

extract Extract

Unpack ZIP, TAR or TAR.GZ archives, each into a new folder.

ParameterTypeDescription
files *arrayAbsolute paths.
output_dirstringAbsolute folder for the results; default: the user's setting.

license_status Licence status

Whether Amberflip may work on this computer: the licence, or the free trial and how long it has left, and where to buy a licence.