ekisu / mpv-webm

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

Fix stream order #45

Open smug opened 5 years ago

smug commented 5 years ago

Can you enforce proper stream order? I.e. video first and then audio? Can probably be done by adding -map 0:v -map 0:a somewhere to the command.

ekisu commented 5 years ago

Hmm, there was a flag for that (--ovfirst), but it's now deprecated and does nothing. It seems that the streams are created (avformat_new_stream) when the encoding vo/ao are created, and I don't know if we can control how/when this is done.