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

Black screen with video playback by using inputstream.adaptive with LineageOS (Kodi 19.3) #20639

Closed
1 of 7 tasks
werimail opened this issue Dec 6, 2021 · 9 comments · Fixed by #21421
Closed
1 of 7 tasks
Labels

Comments

@werimail
Copy link

werimail commented Dec 6, 2021

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

I'am using Kodi 19.3 (Matrix) with LineageOS running on Raspberry Pi 400 with Android 11.0.0 (API level 30). When I Start using Addons the widevine encryption the Inputstream Adaptive only plays the sound but no picture.

Expected Behavior

Here is a clear and concise description of what was expected to happen:

Addons which use widevine also output a picture in addition to the sound

Actual Behavior

When I Start using Addons the widevine encryption the Inputstream Adaptive on Kodi 19.3 with LineageOS only plays the sound but no picture.

Possible Fix

A possible theory of the cause is that getCodecCount not work anymore, because has been deprecated on API 21.

To Reproduce

Steps to reproduce the behavior:

  1. Start Kodi-Addon (DAZN, Tvnow, ...) for encrypted videos via inputstream adaptive plugin
  2. Start playing stream

Debuglog

The debuglog can be found here:
kodi_debug.log

Screenshots

Here are some links or screenshots to help explain the problem:

unavailable

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

after log line:
CDVDVideoCodecAndroidMediaCodec::Open: Secure decoder requested: false (stream flags: 0)
is missing the codec testing, in your case should appears like:
CDVDVideoCodecAndroidMediaCodec::Open Testing codec: OMX.google.h264.decoder
and then fails with:
CDVDVideoCodecAndroidMediaCodec:: Failed to create Android MediaCodec

According to CastagnaIT feedback, this is where the problem lies in the code:(https://github.com/xbmc/xbmc/blob/master/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp#L664-L750)

For further information also looking at (xbmc/inputstream.adaptive#771 (comment))

Your Environment

Used Operating system:

  • Android

  • iOS

  • tvOS

  • Linux

  • OSX

  • Windows

  • Windows UWP

  • Operating system version/name: LineageOS 18.1 based on Android for Raspberry Pi 400

  • Kodi version: 19.3 (Matrix)

*note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

Greetings Weri

@werimail werimail changed the title Error testing codec using input stream adaptive with LineageOS Error testing codec using inputstream.adaptive with LineageOS (Kodi 19.3) Dec 6, 2021
@CastagnaIT
Copy link
Collaborator

CastagnaIT commented Dec 6, 2021

You have not opened the issue in right way, you have to fullfill the issue template: https://github.com/xbmc/xbmc/issues/new/choose
Please edit this or close it and open a new one by using the template, and the log must not be pasted as text but attached as file or by using services like pastebin and have to be provided with debug info

@CastagnaIT CastagnaIT added the Ignored rules issue that does not follow the rules (no template, missing debug log, ...) label Dec 6, 2021
@CastagnaIT CastagnaIT changed the title Error testing codec using inputstream.adaptive with LineageOS (Kodi 19.3) Black screen with video playback by using inputstream.adaptive with LineageOS (Kodi 19.3) Dec 6, 2021
@werimail
Copy link
Author

werimail commented Dec 6, 2021

Thanks CastagnaIT for the hint. I have revised the issue accordingly. I hope this now fits into the required structure
Greetings Weri

@CastagnaIT
Copy link
Collaborator

well done so that other maintainers can understand

@CastagnaIT CastagnaIT added Component: Video Platform: Android and removed Ignored rules issue that does not follow the rules (no template, missing debug log, ...) labels Dec 6, 2021
@CastagnaIT
Copy link
Collaborator

this should be fixed by #21421
unfortunately i am no able to provide you with a test build
but i can tell you when there is a nightly build ready

@werimail
Copy link
Author

That sounds good @CastagnaIT. Will the nightly build be made for Kodi 19.x (Matrix) or 20 (Nexus)? Greeting Weri

@CastagnaIT
Copy link
Collaborator

v20 only i dont think will be allowed a backport

@werimail
Copy link
Author

Well I hope Kodi v20 (Nexus) works with LineageOS 18.1 (Android 11) too.

@joseluismarti
Copy link
Contributor

Can you test kodiapp-arm64-v8a-PR21421_ALL_CODECS.apk to see if it produces any improvement?

@werimail
Copy link
Author

werimail commented May 23, 2022

Hi @joseluismarti, i already tested with the kodiapp-arm64-v8a-PR21421_REGULAR_CODECS.apk version and it worked very well. Thanks and regards werimail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants