Feature Request: Automatic Track Sorting by Type in mkvmerge During Remuxing
I would like to request the implementation of a built-in mechanism in mkvmerge that automatically sorts tracks by type during the remuxing process. Currently, when remuxing files using mkvmerge, the resulting tracks maintain the same order as the source file unless the
--track-order option is manually set. However, I believe it would be highly beneficial if mkvmerge offered an option to automatically sort tracks by type without the need for manual intervention.
In a similar manner to ffmpeg, where the tracks are automatically sorted during remuxing using the following syntax:
ffmpegPath -i "input.mp4" -c copy -map 0:v -map 0:a "output.mkv"
I propose that mkvmerge adopts a comparable behavior, allowing users to achieve track sorting based on type without the need for manual track ordering. This feature would enhance convenience and consistency when working with remuxed files, ensuring that video tracks are always positioned before audio tracks.
While I understand that mkvmerge currently supports the
--track-order option to manually specify the track order, an automated mechanism for track sorting based on type would greatly enhance the user experience and streamline the remuxing workflow.
Thank you for considering this feature request. I believe it would be a valuable addition to mkvmerge, benefiting users who frequently work with remuxed media files.