Trigger Compresto via deep linking
The deep link support these parameters:quality. Possible values:highest,high,good,medium,acceptable. Default ishigh- For PDF, the param is
pdfQualitywhich the possible values are:best,high,balance,low
- For PDF, the param is
videoFormat. Possible values:same,mp4,webm. Default issameimageFormat. Possible values:same,webp,jpg,png. Default issameformat. Default value issame. IfvideoFormatorimageFormatis missing,formatparameter will be usedremoveAudio. Possible values:true,false. Default isfalsefileNameFormatto customise the output file name format. It is appended to the original file name. Supported tokens:{timestamp}- Current unix timestamp{datetime}- Current date and time inyyyy-MM-dd'T'HHmmssformat{date}- Current date inyyyy-MM-ddformat{time}- Current time inHHmmssformat{quality}- Quality of the output file{resolution}- Resolution of the output file
outputFileNameto set an explicit output file name (base name only, without extension). OverridesfileNameFormat. When multiple files are processed, a number is appended to avoid collisions (e.g.name,name 1,name 2)outputFolderoroutputPathto customise the output folder. Default is same as input files.removeInputFilefor removing input files after compressionsubfolderProcessingfor including the files in subfolders recursively. Possible values:all,none, or a number to set the max depth
File compression using deep linking
The deeplink format is as follows:| character. Each param is divided by & character. Below are some example deeplinks
Output file name results
fileNameFormat is appended to the original file name, while outputFileName replaces it entirely. When both are provided, outputFileName takes precedence and fileNameFormat is ignored.
Given an input file video.mp4, here are the resulting output file names:
| Parameters | Output file name |
|---|---|
fileNameFormat=_compressed | video_compressed.mp4 |
fileNameFormat=-{date} | video-2026-06-04.mp4 |
fileNameFormat=-{quality}-{resolution} | video-Good-FullHD.mp4 |
outputFileName=my-clip | my-clip.mp4 |
fileNameFormat=_compressed and outputFileName=my-clip | my-clip.mp4 |
videoFormat / imageFormat (or stays the same as the input when same).
File importing using deep linking
You can also import files into CompressX for customization before compressing. The deeplink format is as follows:Trigger Compresto via command line
In your favourite Terminal, you can trigger compression or importing by using the same deep link withopen command.

