harbour-fernschreiber icon indicating copy to clipboard operation
harbour-fernschreiber copied to clipboard

Use Opus for voice messages instead of Vorbis

Open Ingvix opened this issue 1 year ago • 2 comments

It seems at least on some devices, probably mostly Apple ones, with the official Telegram app Vorbis files refuse to play for whatever reason ¯\_(ツ)_/¯, and the official app seems to use Opus format, so for wider compatibility Fernschreiber should maybe prefer it as well, I think?

Ingvix avatar Nov 26 '23 09:11 Ingvix

Opus is not supported by default with the Qt library on SFOS. With SFOS 4.5 we only have the following options: audio/vorbis, audio/speex, audio/PCM, audio/FLAC

If we want to use Opus, the library needs to be integrated in Fernschreiber which is a considerable effort. No time on my side for that at the moment, but if someone wants to take it, I'm happy to integrate it.

Wunderfitz avatar Nov 26 '23 20:11 Wunderfitz

Possible idea: Using one of the currently allowed codec (audio/speex, audio/PCM or audio/FLAC) that can also be decoded by ios. For example speex.

So the idea would be then to replace Vorbis by Speex (its even more adapted to coding voice than Vorbis)

yusssufff avatar Jan 10 '24 20:01 yusssufff