FossifyOrg / Voice-Recorder

An easy way of recording any discussion or sounds without ads or internet access
https://www.fossify.org
GNU General Public License v3.0
174 stars 14 forks source link

Audio formats / extensions used (make compliant with modern standards) #28

Closed osering closed 3 months ago

osering commented 4 months ago

Checklist

Feature description

Right now there is file Extensions (following codec, not indicating container): (o) m4a ( ) mp3 ( ) ogg (Opus)

Problem: 1) container mp4 with extension m4a can contain 2 codecs: AAC (loose) or ALAC (looseless). ALAC is considered better. Which one is used? 2) container ogg is very popular and can contain Vorbis, Dirac, Opus and other codecs. How can someone afterwards identify which one is used in this ogg? Specially for this .opus extension has been officially registered (probably in 2018), so the file with opus codec has .opus extension as this is modern and all major operating systems recognize it.

https://wiki.xiph.org/MIME_Types_and_File_Extensions#.opus_-_audio.2Fogg https://en.m.wikipedia.org/wiki/Opus_(audio_format)#cite_note-MIME-and-FileExt-1 So the codec is Opus, and the container format is Ogg, but the "official" file extension is .opus. 3 different things.

https://en.m.wikipedia.org/wiki/MP4_file_format

Offered change: ( ) m4a (mp4, acc or alac) 128 ( ) mp3 128 (o) opus (ogg, opus) 128

Now default choice is m4a. If acc used instead of alac in it, opus could be made as default choice, as it generally performs better than order aac codec. P.S. Also indicate bitrate (kbps) used for each.

Why do you want this feature?

Make it more clear and standard compliant.

Additional information

No response

Aga-C commented 4 months ago

There are multiple requests. Please split it into separate issues.

David-Else commented 4 months ago

In my opinion opus should be the default choice.

https://opus-codec.org/ https://opus-codec.org/release/stable/2023/04/20/libopus-1_4.html https://developer.android.com/media/platform/supported-formats

Sorry I am not an Android dev, I just know about the amazing high quality of opus.

github-actions[bot] commented 3 months ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.