rbrisita / codio-sui

A media format for VS Code to record and playback the process of programming.
GNU Affero General Public License v3.0
10 stars 3 forks source link

Review LAME, OPUS, and VORBIS. #52

Open rbrisita opened 2 years ago

rbrisita commented 2 years ago

Different formats have different compressions and uses.

rbrisita commented 2 years ago

OPUS is specifically created for voice and is said to compress smaller than MP3 (lame). More research and recording to these formats has to be done with real world testing.

Issues with AMR: http://ritzinmobileworld.blogspot.com/2017/03/amr-vs-opus-aac.html

AriESQ commented 2 years ago

There are two things you're optimizing for here, size on disk, but also ability how much CPU is required to encode/decode. The needs will depend on architecture.

These measurements can be made with "full-fat" ffmpeg.

It might also make sense to use, say a Chrome native format (VP8/VP9?), if there is support for recording from a browser direct to disk.

rbrisita commented 2 years ago

Measurements could be taken with the '-stats'. VP8/9 are for video encoding; not sure what they use for audio but the browser is not the main target. Either way MP3 and OGG/OPUS are supported by browsers.