sonosaurus / sonobus

Source code for SonoBus, a real-time network audio streaming collaboration tool.
https://sonobus.net
GNU General Public License v3.0
1.54k stars 110 forks source link

support mp3 and opus files for playback #32

Open wolftune opened 3 years ago

wolftune commented 3 years ago

So, I tried loading audio files to play, and ogg and wav worked but mp3 and opus files failed.

Lack of opus support especially seems odd given using opus otherwise.

essej commented 3 years ago

Yeah, I'll look into adding MP3 support for reading at least, now that all the patents are expired. As for missing Opus file format, it is ironic... it's just that opus as a file format hasn't picked up a lot of momentum yet, but I should be able to get it in there someday.

wolftune commented 3 years ago

I wish opus took off as a file format, but one place it shows up a lot: the audio only -x use of youtube-dl

ericfont commented 3 years ago

I'd second using libavcodec, cause then that would cover support for importing all sorts of random formats.