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

Don't direct play opus audio files + transcode audio to AAC #1468

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

cewert
Copy link
Member

@cewert cewert commented Nov 4, 2023

Opus audio files are not supported by roku. This PR stops trying to direct play them and transcodes them instead to AAC.

This also fixes a bug with the new device profile where we were transcoding all audio to mp3. Now we are using aac for all 2 channel audio and mp3 for multichannel audio transcodes.

Changes

  • Don't attempt to direct play opus audio files
  • Use AAC when transcoding stereo audio files

Issues

Fixes #1443

@cewert cewert requested a review from a team as a code owner November 4, 2023 20:25
@cewert cewert changed the title Don't direct play opus audio files + transcode audio to ACC Don't direct play opus audio files + transcode audio to AAC Nov 4, 2023
@lakerssuperman
Copy link

Opus audio files are not supported by roku. This PR stops trying to direct play them and transcodes them instead to AAC.

This also fixes a bug with the new device profile where we were transcoding all audio to mp3. Now we are using aac for all 2 channel audio and mp3 for multichannel audio transcodes.

Changes

* Don't attempt to direct play opus audio files

* Use AAC when transcoding stereo audio files

Issues

Fixes #1443

I did a deeper dive after I read this and according to my log, the reason the current stable version of the app is playing back my Opus music files is because it is converting them into AAC. Very interesting. Either way, this PR seems to make total sense as it's consistent with the functionality of current stable.

@1hitsong 1hitsong merged commit 51a455a into jellyfin:unstable Nov 5, 2023
9 checks passed
@cewert cewert added ignore-changelog Ignore this PR when auto generating release notes. bug-fix This fixes a bug. and removed ignore-changelog Ignore this PR when auto generating release notes. labels Nov 5, 2023
@cewert cewert deleted the transcode-opus-audio branch January 14, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This fixes a bug.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Opus Music Fails to Playback
3 participants