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

Change encoding preset and play stats for server change #6043

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

gnattu
Copy link
Member

@gnattu gnattu commented Sep 9, 2024

Changes

  • Use correct "auto" string value for encoding presets because server is now using enum for it
  • Hide the hardware acceleration type info in play stats because can be misleading.

The hardware acceleration type currently only reflects the configuration in the dashboard, without accounting for potential software fallback and/or situations like QSV interop with VAAPI. This can result in displaying that a hardware encoder of certain type is in use when it's actually not. In 10.9 and earlier, we did not display this field due to an enum type mismatch. However, this issue has been fixed on the server side, causing the field to now appear, though with inaccurate data. We need to hide that until the server refactored the transcoding pipeline so that the actual encoder can be reported.

Issues

Changes made for jellyfin/jellyfin#12561

Fixes jellyfin/jellyfin#12630

@gnattu gnattu requested a review from a team as a code owner September 9, 2024 08:49
// label: globalize.translate('LabelHardwareEncoding'),
// value: session.TranscodingInfo.HardwareAccelerationType
// });
// }
Copy link
Member

@nyanmisaka nyanmisaka Sep 9, 2024

Choose a reason for hiding this comment

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

Actually you can just delete it. This field has little value to the user.

If anyone is interested in this field, it must be admin. Looking at ffmpeg logs or gpu-top is much more accurate than this.

Copy link

sonarcloud bot commented Sep 12, 2024

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit 2a522f795f87cf8c87cc8a2b8fa7138c4e02278d
Status ✅ Deployed!
Preview URL https://6fd80798.jellyfin-web.pages.dev
Type 🔀 Preview

soultaco83 added a commit to soultaco83/jellyfin-web-requeststab that referenced this pull request Sep 15, 2024
@thornbill thornbill merged commit 818f90d into jellyfin:master Sep 16, 2024
12 checks passed
@gnattu gnattu deleted the fix-enum-transcode branch September 16, 2024 04:34
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.

10.10.0 latest build. QSV transcoding fails
4 participants