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 audio options to workaround compatability problems #5986

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

gnattu
Copy link
Member

@gnattu gnattu commented Aug 29, 2024

Changes

This adds some audio compatibility options to workaround certain issues:

  • Allows the client to opt-out the VBR audio encoding enabled on server to prevent buffering issue
  • Allows to client to force remuxing flac files when the file has metadata that the browser rejects or will calculate wrong timestamp
  • Allows the client to force remuxing mp3 files when some files will lead to inaccurate timestamps

Issues

Fixes jellyfin/jellyfin#3731 (incompatible metadata)
Fixes jellyfin/jellyfin#11113 (inaccurate timestamp)

@gnattu gnattu requested a review from a team as a code owner August 29, 2024 01:52
Copy link
Member

@felix920506 felix920506 left a comment

Choose a reason for hiding this comment

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

I think it would be better to have the "force remux flac" option on by default for chromium and Firefox, as these browsers are known to have problems with flac metadata. This would ensure maximum compatibility for most users.

We can then tell users to disable it if they are that allergic to remuxing.

@gnattu
Copy link
Member Author

gnattu commented Aug 29, 2024

I still think something like this should be the last resort and not a default setting unless this issue is very widespread, but IMO it is not the case yet.

@thornbill thornbill added feature New feature or request playback This PR or issue mainly concerns playback labels Sep 4, 2024
@thornbill thornbill added this to the v10.10.0 milestone Sep 4, 2024
@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Sep 8, 2024
@jellyfin-bot
Copy link
Collaborator

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@gnattu gnattu force-pushed the add-audio-compatability-options branch from bde199f to f6efaaf Compare September 8, 2024 14:14
@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Sep 8, 2024
Copy link

sonarcloud bot commented Sep 8, 2024

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit f6efaaf379358029ca0dc28a1e7997667c4a0513
Status ✅ Deployed!
Preview URL https://ec72adef.jellyfin-web.pages.dev
Type 🔀 Preview

@thornbill thornbill merged commit 8720589 into jellyfin:master Sep 9, 2024
12 checks passed
@gnattu gnattu deleted the add-audio-compatability-options branch September 11, 2024 17:42
@thornbill thornbill added the release-highlight A major new feature for the next release label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request playback This PR or issue mainly concerns playback release-highlight A major new feature for the next release
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Issue]: Wrong play time shown Can't read certain FLAC files
5 participants