Skip to content

Write a transcode rule

A rule is how you ask Allspark to convert part of your library. This guide writes a common one: 4K HEVC films become 1080p H.264 copies that every device plays directly, and the originals are kept.

Open Allspark’s Rules page and choose New rule.

Say which files the rule applies to. Conditions are combined with AND.

Condition Example
Codec HEVC
Resolution above 1080p
Bitrate over 20 Mbit/s
Path under /films

Leave out what you do not care about. The page shows how many files currently match before you save.

  • Video codec: H.264.
  • Resolution: 1080p.
  • Quality: the default constant-quality target is a good start.
  • Hardware: leave on. A worker with VAAPI, Quick Sync, NVENC or VideoToolbox uses it; one without falls back to software.

Audio and subtitles are not choices. Every original audio track is copied and a stereo AAC track is added last, so the default stays the default. Subtitles pass through; image subtitles are dropped with a warning only when the target is MP4.

What happens to the source after the new file is verified and placed:

  • Keep: both files stay. Naelox shows them as two editions.
  • Trash after N days: the original is moved aside and purged when the retention period passes. Until then a restore is one click.

Turn on Hold for review while you are getting a feel for the settings. Runs stop after place and wait on the Rules page for you to approve or reject them. Rejecting restores the staged output and leaves the original untouched.

Same folder as the original is almost always right. The new file takes the original’s name with the edition in it.

Save the rule and turn it on. Matched files become a batch; each file is a run through the fixed chain. Now shows what is running and the ffmpeg command behind it; Queue shows what is waiting and why.

See Why the original is never touched for what verify checks before anything irreversible happens.