ekisu / mpv-webm

Simple WebM maker for mpv, with no external dependencies.
MIT License
576 stars 33 forks source link

encode: use amix filter with >1 active internal audio tracks #80

Closed ekisu closed 4 years ago

ekisu commented 4 years ago

Well, so apparently you can use more than one audio track with mpv, and it'll actually report as having two active audio tracks, instead of an audio filter or something.

Change both get_active_tracks and encode functions according to this. This only fixes multiple audio tracks, but we could also have multiple video and subtitle tracks - this is something I don't really want to get into unless I really have to.

Should fix #79.