Open zenjabba opened 5 years ago
Hey! Sorry for taking so long to reply to this, I've been incredibly busy with work. This is a great idea, and I had thought of it a long time ago. The issue with implementing this is that it wouldn't really be doable with how Plexus currently handles stream mapping.
I imagine this would work by using FFprobe to list the available audio streams with their respective language tags (if present) like this, and then remapping their source ID to 1 if they're English. The reason that this is a problem is because we map all streams by using FFmpeg's -map 0
flag. By implementing this desired functionality, we would need to increment all of the other stream IDs to allow for the insertion.
Due to being busy at the moment, I'll have to leave this unimplemented. But if someone else would happen to be nice enough to implement this and submit a pull request, I would be more than happy to review and merge it :)
Thanks for the request!
If English isn't the first audio language track, move that full english audio track to position 1.