mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
VAAPI does not work #1274
Reference in New Issue
Block a user
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?
Originally created by @SimplyCorbett on GitHub (Feb 14, 2020).
Describe the bug
VAAPI gives a "NoCompatibleStream" error even with H.264 encoding/decoding. On both nightly and stable builds.
@nyanmisaka commented on GitHub (Feb 14, 2020):
Please provide ffmpeg logs and your GPU model.
@SimplyCorbett commented on GitHub (Feb 14, 2020):
UHD 630. intel_gpu_top shows no usage and CPU is transcoding.
I'll grab the logs in a bit but all I'm doing is streaming rips made by makemkv.
@Artiume commented on GitHub (Feb 14, 2020):
so Vaapi cant decode h264 10bit. the ffmpeg logs are important :)
@SimplyCorbett commented on GitHub (Feb 15, 2020):
@SimplyCorbett commented on GitHub (Feb 15, 2020):
Nevermind, this is infact a iGPU issue as it doesn't work on my windows laptop either but nvenc does.
I thought regular bluray didn't have 10bit profiles?
You can replicate this by using makemkv and transcoding the resulting .mkv file.
@Artiume commented on GitHub (Feb 15, 2020):
Are those the full ffmpeg logs? I was expecting more before
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 linux(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2020-02-13 18:44:21 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_IDHere's the mapping you're doing. I'm not sure the bit of your media since the logs are incomplete but you didn't use vaapi to decode so I think the bit might not be the problem. Those pgs subs look suspicious in any case.
ffmpeg: i965_encoder.c:1692: intel_enc_hw_context_init: Assertion encoder_context->mfc_context' failed.Try this, I think it's libs you might be missing. I hope it isn't non-free but it might be.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910486
@SimplyCorbett commented on GitHub (Feb 15, 2020):
I've encoded one of the makemkv's into a regular H264 file with audio passthrough using handbrake and it still will not play using vaapi on the linux server or quicksync on my windows laptop.
NVENC works fine. I'm pretty sure at this point it's not an issue on my end as I've replicated the problem on two different devices with different hardware.
The only thing they have in common is the 630 iGPU.
@Artiume commented on GitHub (Feb 15, 2020):
Try this
https://superuser.com/questions/1462402/ffmpeg-not-working-using-h264-vaapi/1462586
@SimplyCorbett commented on GitHub (Feb 16, 2020):
That fixed it!
@Artiume commented on GitHub (Feb 16, 2020):
Awesome! I'm glad we could get it working. I'm not sure which section of the documents to update.
I was thinking perhaps we could suggest libraries to install here
https://jellyfin.org/docs/general/administration/hardware-acceleration.html#setup
Or here
https://jellyfin.org/docs/general/administration/installing.html#packages-1
You want to make some updates to how you think it would've been helpful?