Skip to content

Support MPEG2 Layer2 #486

Closed
Closed

Description

@amirvalhalla

Hi,

I've been working with your awesome package, and it works well for most of audio/video codecs. However, I've encountered a challenge as I'm currently looking to decode MPEG2 Layer2, which unfortunately the package doesn't support. I'm curious if there's a specific reason for not supporting MPEG2 Layer2 and if there are any plans to include support for it in the future.

Thank you!

Activity

  1. aler9 commented on Dec 16, 2023

    @aler9
    Member

    Hello, there is no particular reason for not supporting MPEG-2 layer 2 (by the way, this limitation lies in mediacommon and not in gortsplib, which is already fit for handling any MPEG combination), other than the fact that this feature wasn't requested until now. Just provide a sample MPEG-2 layer 2 file or a FFmpeg / GStreamer command that allows to generate it and i'll add support for it.

  2. amirvalhalla commented on Dec 18, 2023

    @amirvalhalla
    Author

    Hello, there is no particular reason for not supporting MPEG-2 layer 2 (by the way, this limitation lies in mediacommon and not in gortsplib, which is already fit for handling any MPEG combination), other than the fact that this feature wasn't requested until now. Just provide a sample MPEG-2 layer 2 file or a FFmpeg / GStreamer command that allows to generate it and i'll add support for it.

    Okay, I'll provide the 'command' or a sample 'MPEG-2 layer2' file and come back to you.

  3. amirvalhalla commented on Dec 18, 2023

    @amirvalhalla
    Author

    @aler9
    you can use below command to simulate MPEG2-Layer2.

    ffmpeg -i noise.wav -c:a mp2 -b:a 192k output.mp2
  4. aler9 commented on Jan 19, 2024

    @aler9
    Member

    fixed in mediacommon v1.9.0

  5. github-actions commented on Jul 24, 2024

    @github-actions

    This issue is being locked automatically because it has been closed for more than 6 months.
    Please open a new issue in case you encounter a similar problem.

  6. locked and limited conversation to collaborators on Jul 24, 2024
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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions