Skip to content

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

@osering

Description

@osering

Checklist

  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
    I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
    I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
    I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
    This issue contains only one feature request.
    I have read and understood the contribution guidelines.
    I optionally donated to support the Fossify mission.

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

Activity

added
feature requestIssue is about a new feature or improving existing feature/behavior.
needs triageIssue is not yet ready for PR authors to take up
on Feb 22, 2024
Aga-C

Aga-C commented on Feb 22, 2024

@Aga-C
Member

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

added
waiting for authorIf the author does not respond, the issue will be closed. Otherwise, the label will be removed.
on Feb 22, 2024
David-Else

David-Else commented on Feb 26, 2024

@David-Else

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

github-actions commented on Mar 24, 2024

@github-actions

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.

added
invalidThis doesn't seem right (unclear report or request, wrong repo, user error, etc.)
and removed
feature requestIssue is about a new feature or improving existing feature/behavior.
waiting for authorIf the author does not respond, the issue will be closed. Otherwise, the label will be removed.
needs triageIssue is not yet ready for PR authors to take up
on Mar 24, 2024
added
template ignoredThe user didn't follow the template/instructions (or removed them)
and removed
invalidThis doesn't seem right (unclear report or request, wrong repo, user error, etc.)
on Oct 18, 2024
HT-7

HT-7 commented on Nov 20, 2025

@HT-7

Which one is used?

AAC. ALAC (lossless) takes much more space. But I'd support more encoder options. We could already use FLAC as lossless option.

If we implement a lossless option, is there any reason to use ALAC over FLAC?

naveensingh

naveensingh commented on Nov 20, 2025

@naveensingh
Member

If we implement a lossless option, is there any reason to use ALAC over FLAC?

I don't see any. On Android, recording FLAC is not supported out of the box, but it should be simpler to add than ALAC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    template ignoredThe user didn't follow the template/instructions (or removed them)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @David-Else@naveensingh@HT-7@osering@Aga-C

        Issue actions

          Audio formats / extensions used (make compliant with modern standards) · Issue #28 · FossifyOrg/Voice-Recorder