Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AC3 file support and exclude AC3 parsing from hls.light builds #5562

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jun 13, 2023

This PR will...

  • Add AC3 file support
  • Exclude AC3 parsing from hls.light builds

Why is this Pull Request needed?

With #5167 bringing support for parsing AC3 in M2TS, support for unwrapped AC3 segments is also needed so that support checks can be trusted regardless of container type.

This is a follow up from this comment and sample #1102 (comment), which aligns AC3 with AAC/ADTS and MP3 handling.

This also brings AC3 support inline with Safari.

Are there any points in the code the reviewer needs to double check?

In the light build, with AC3 probing disabled, the MP3 probe passes for some AC3 content. Not too concerned about this, but it does prevent the player from going down the desired error path. I don't have a solution for making the existing MP3 probing less prone to false positives.

Resolves issues:

Follow up to #5167

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.5.0 milestone Jun 13, 2023
@robwalch robwalch requested a review from erankor June 13, 2023 00:41
@avelad
Copy link

avelad commented Jun 13, 2023

@robwalch Do you have a sample stream to test it? Thanks!

@robwalch
Copy link
Collaborator Author

@avelad, see the comment linked in the description.

@avelad
Copy link

avelad commented Jun 13, 2023

Thanks @robwalch !

@robwalch robwalch force-pushed the feature/ac3-file-exclude-from-light-build branch from 069a3fa to c9a7511 Compare June 20, 2023 20:57
@robwalch robwalch merged commit d7e3490 into master Jun 21, 2023
16 checks passed
@robwalch robwalch deleted the feature/ac3-file-exclude-from-light-build branch June 21, 2023 01:33
@softworkz softworkz mentioned this pull request Jul 17, 2023
@robwalch
Copy link
Collaborator Author

cc #253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants