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

feat: Add AAC silent frame getter #5557

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

avelad
Copy link
Collaborator

@avelad avelad commented Aug 30, 2023

This is necessary for enable the muxed TS transmuxer in the future.

@avelad avelad added type: enhancement New feature or request priority: P3 Useful but not urgent labels Aug 30, 2023
@avelad avelad added this to the v4.4 milestone Aug 30, 2023
*/
static getSilentFrame(codec, channelCount) {
switch (codec) {
case 'mp4a.40.2':
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the stuff below, is there any reference for where these values come from for mp4a.40.2? Like, any reference document that you got them from or ffmpeg command that generated them?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@avelad avelad requested a review from theodab August 30, 2023 12:41
@github-actions
Copy link
Contributor

Incremental code coverage: 7.89%

Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is super cool. How will you use it?

@avelad
Copy link
Collaborator Author

avelad commented Aug 30, 2023

This is super cool. How will you use it?

In TS sometimes not all the audio samples are included to optimize, so we are going to include it ourselves :)

@avelad avelad merged commit 933f039 into shaka-project:main Aug 30, 2023
21 checks passed
@avelad avelad deleted the aac-silent-frame branch August 30, 2023 15:51
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Oct 29, 2023
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Oct 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants