ekisu / mpv-webm

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

Option to encode audio only #85

Closed Yzuriha closed 4 years ago

Yzuriha commented 4 years ago

As the title stats, I'm wondering if its possible to add an option to encode the audio only instead of the whole video.

po5 commented 4 years ago

The script uses whatever tracks are selected, simply disable the video track.

Yzuriha commented 4 years ago

Disabling the video will still encode it as MP4 or WEBM for example. I'm wondering whether it is possible to receive like a MP3.

averms commented 4 years ago

You can remux or re encode using ffmpeg.

Yzuriha commented 4 years ago

Though if using ffmpeg, I might as well extract the audio directly with that without using this script and that would kind of defeat the purpose. I was just wondering if it could be implemented directly into the script, which would be a nice-to-have. The script itself is already great so it was just a small suggestion :)

ekisu commented 4 years ago

Does this work?

Yzuriha commented 4 years ago

Works perfectly! Thanks you very much!