ekisu / mpv-webm

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

Switch from vorbis audio to opus audio #101

Closed Seirdy closed 3 years ago

Seirdy commented 3 years ago

Opus is already used by YouTube and supported by default on just about every distribution's build of mpv/ffmpeg. It gets much better compression ratios without a loss in quality

ekisu commented 3 years ago

I'm afraid that moving from Vorbis here isn't much of a option; I would gladly add another option for VP9/Opus, though (VP8 is also legacy but yeah, VP8/Vorbis won't be removed anytime soon)

Seirdy commented 3 years ago

Is there any reason to prefer VP9/Vorbis over VP9/Opus?

ekisu commented 3 years ago

None really, keeping it wont hurt either

Seirdy commented 3 years ago

Ok, I fixed the patch to only use opus for webm-vp9. webm-vp8 still uses Vorbis for compatibility.

ekisu commented 3 years ago

Great, thanks!