Skip to content

Sorting

Michael Higgins edited this page Apr 29, 2022 · 3 revisions

Sorting options

Audio and subtitle streams have new sorting parameters found in the Audio.Sorting and Subtitle.Sorting sections of autoProcess.ini. Multiple sorting options can be applied and are processed sequentially, so higher priority go last

Valid sorting choices include:

Key Description
codec Sort by codec list, codec sorting list will use your respective codec settings, or you can set a custom sort order in the sorting section
language Sort by langauges on your language list
channels Sort by number of audio channels
bitrate Sort by bitrate
d.* Sort by disposition, d.commment for example would put commentary tracks at the end
map Sort based on the original stream mapping from your source video but will respect stream-codec-combinations to keep streams that originated from the same source stream clustered together
ua Sort by stream created via universal-audio option, can likely also be achieved using codec and channel sorting
original Sort by stream created via the copy-original option, can likely also be achieved using codec and channel sorting

All sorting options sort ascending by default. You can explicitly specify this by adding .a as the suffix or alternatively use .d for descending sorting for that particular option

Examples

language, channels.d, d.comment will sort by languages as lowest priority, followed by number of channels descending, then by comments. This would result in a sort order assuming language options of eng, spa

  1. 6 Channel AC3 - English
  2. 6 Channel AC3 - Spanish
  3. 2 Channel AAC - English
  4. 2 Channel AAC - Spanish
  5. 2 Channel AAC - English (Commentary)
  6. 2 Channel AAC - English (Commentary)
Clone this wiki locally