All series fail to play #183
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
When trying to watch a series using the VOD feature, all episodes on every series instantly fails with "Playback failed due to a fatal player error."
The series are correctly displayed, and movies work fine.
Relevant Jellyfin logs:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should be able to watch the series.
Software stack
Plugin version: 0.7.1.0
Server version: 10.10.7
Tested clients:
Additional context
They work on Tivimate.
This seems to be a NVIDIA-specific transcoding error. Does transcoding work with other content and/or does streaming working when you disable the NVIDIA HW transcoding?
I'll provide a little extra context that may help push this along. This issue only occurs when NVIDIA HW trans-coding is enabled.
Symptom:
System.InvalidOperationException: Nullable object must have a value
at MediaBrowser.Controller.MediaEncoding.EncodingHelper.GetHwScaleFilter(...)
Repro recipe
Make sure hardware transcoding is enabled and the profile requests scaling, e.g.browser limits to 720 p
“Max width” set in client profile
Hit play → server throws above InvalidOperationException, client sees “Playback error”.
The issue is in the
GetHwScaleFilter
method in/jellyfin-packaging/jellyfin-server/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
.Root Cause Analysis
The Problem
The bug occurs when:
videoWidth
and/orvideoHeight
are nullGetFixedOutputSize
returns(null, null)
when bothvideoWidth
andrequestedWidth
are nulloutWidth.Value
oroutHeight.Value
on line 2951, which throwsInvalidOperationException
when the nullable has no valuePossible Fix
The method should check if
outWidth
andoutHeight
have values before accessing them:6 · Temporary work-arounds for users
If this doesn't get picked up and solved and other people are having the same issues I may come back to this when I have time.