You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Audio/Subtitle Track order not consistent/preserved when added automatically (as compared to previous version 1.2.2 or manual addition) #2545
In HandBrake v1.3.0, when audio or subtitle tracks are automatically added to a job according to a preset's track selection behaviour, the added tracks are sorted alphabetically ascending by detected language name.
This is not consistent with HandBrake v1.2.2, or the manual action of Adding All Remaining Tracks, where added tracks are sorted numerically ascending by the source's item order.
This is an issue if you want the preset to preserve the order of audio/subtitle tracks from the original source. This current behaviour will result in tracks being re-ordered alphabetically, with the first track likely being a different language.
HandBrake version (e.g., 1.0.0)
HandBrake v1.3.0
Operating system and version (e.g., Ubuntu 18.04 LTS, macOS 10.14 Mojave, Windows 10 1809)
changed the title [-]Audio/Subtitle Track order not consistent/preserved when added automatically/manually (as compared to previous version 1.2.2)[/-][+]Audio/Subtitle Track order not consistent/preserved when added automatically (as compared to previous version 1.2.2 or manual addition)[/+]on Dec 30, 2019
I get that it makes sense to sort tracks by language, and that's a nice option to have, but it's also counterproductive in a lot of cases. Much of my use of Handbrake is transcoding sources where the content authoring tools set the desired track order, so I need to preserve it in the Handbrake stage.
Is it possible to add an option to sort the tracks by index/language? Surely if Handbrake can sort by language it can sort by other track information?
A "Sort added tracks by..." option in the Selection Behaviour dialogue would be great. Alternatively, a "Sort by..." drop-down menu button on the track list next to the "Add Track" and "Clear" buttons) paired with the ability to set a default in the main preferences?
Another note about the sorting order: it sorts by the English name for the language, but displays the native name. A particularly striking one is seeing "English, suomi, Francais" because it sorted the list as "English, Finnish, French".
Activity
[-]Audio/Subtitle Track order not consistent/preserved when added automatically/manually (as compared to previous version 1.2.2)[/-][+]Audio/Subtitle Track order not consistent/preserved when added automatically (as compared to previous version 1.2.2 or manual addition)[/+]sr55 commentedon Dec 30, 2019
Yup this is expected behaviour. I'm afraid there is no way to change this behaviour. All you can do is manually re-order with drag/drop post.
Language order is honoured correctly now.
heliosyne commentedon Apr 16, 2020
I get that it makes sense to sort tracks by language, and that's a nice option to have, but it's also counterproductive in a lot of cases. Much of my use of Handbrake is transcoding sources where the content authoring tools set the desired track order, so I need to preserve it in the Handbrake stage.
Is it possible to add an option to sort the tracks by index/language? Surely if Handbrake can sort by language it can sort by other track information?
A "Sort added tracks by..." option in the Selection Behaviour dialogue would be great. Alternatively, a "Sort by..." drop-down menu button on the track list next to the "Add Track" and "Clear" buttons) paired with the ability to set a default in the main preferences?
heliosyne commentedon Apr 23, 2020
Another note about the sorting order: it sorts by the English name for the language, but displays the native name. A particularly striking one is seeing "English, suomi, Francais" because it sorted the list as "English, Finnish, French".
Why sort by English but not display in English?