Youtube problem with inputstream adaptive

Hello,
I have problems with youtube addon when inputstream adaptive is activated.
My box is H96pro+ 3/32gb after clean install of CE 9.2.0.
Here is the section of my log for playing the video:

2019-10-01 12:11:45.524 T:3382608704 NOTICE: [plugin.video.youtube] Running: YouTube (6.5.1) on Leia (Kodi-18.4) with Python 2.7.16
Path: /play/
Params: {‘video_id’: ‘Wnzz-orPdcU’}
2019-10-01 12:11:45.622 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Playlist.OnAdd: {“item”:{“title”:“Mystery Wheel of Slime Challenge 2 w/ Funny Satisfying DIY How To Switch Up Game”,“type”:“video”,“year”:2018},“playlistid”:1,“position”:0}
2019-10-01 12:11:48.132 T:4094476304 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=Wnzz-orPdcU
2019-10-01 12:11:48.133 T:3391001408 NOTICE: Creating InputStream
2019-10-01 12:11:48.297 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Info.OnChanged: null
2019-10-01 12:11:48.308 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Player.OnPlay: {“item”:{“title”:“Mystery Wheel of Slime Challenge 2 w/ Funny Satisfying DIY How To Switch Up Game”,“type”:“video”,“year”:2018},“player”:{“playerid”:1,“speed”:1}}
2019-10-01 12:11:48.357 T:3391001408 NOTICE: Creating Demuxer
2019-10-01 12:11:48.358 T:3391001408 NOTICE: Opening stream: 1 source: 256
2019-10-01 12:11:48.708 T:3509859136 NOTICE: [plugin.video.elementum] e[33mWARN main :arrow_forward: Notification e[0mOnPlay. No active player found
2019-10-01 12:11:48.873 T:3391001408 NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 167
2019-10-01 12:11:48.884 T:3391001408 NOTICE: Creating video thread
2019-10-01 12:11:48.884 T:3318387520 NOTICE: running thread: video_thread
2019-10-01 12:11:48.884 T:3391001408 NOTICE: Opening stream: 2 source: 256
2019-10-01 12:11:49.120 T:3391001408 NOTICE: Finding audio codec for: 86018
2019-10-01 12:11:49.130 T:3391001408 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2019-10-01 12:11:49.130 T:3391001408 NOTICE: Creating audio thread
2019-10-01 12:11:49.130 T:3301602112 NOTICE: running thread: CVideoPlayerAudio::Process()
2019-10-01 12:11:49.215 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Player.OnAVChange: {“item”:{“title”:“Mystery Wheel of Slime Challenge 2 w/ Funny Satisfying DIY How To Switch Up Game”,“type”:“video”,“year”:2018},“player”:{“playerid”:1,“speed”:1}}
2019-10-01 12:11:49.470 T:3301602112 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2019-10-01 12:11:49.471 T:3301602112 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2019-10-01 12:11:49.620 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Player.OnAVChange: {“item”:{“title”:“Mystery Wheel of Slime Challenge 2 w/ Funny Satisfying DIY How To Switch Up Game”,“type”:“video”,“year”:2018},“player”:{“playerid”:1,“speed”:1}}
2019-10-01 12:11:49.859 T:3318387520 NOTICE: CAMLCodec::OpenDecoder - using V4L2 pts format: 64Bit
2019-10-01 12:11:50.026 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Player.OnAVChange: {“item”:{“title”:“Mystery Wheel of Slime Challenge 2 w/ Funny Satisfying DIY How To Switch Up Game”,“type”:“video”,“year”:2018},“player”:{“playerid”:1,“speed”:1}}
2019-10-01 12:11:50.031 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Player.OnAVStart: {“item”:{“title”:“Mystery Wheel of Slime Challenge 2 w/ Funny Satisfying DIY How To Switch Up Game”,“type”:“video”,“year”:2018},“player”:{“playerid”:1,“speed”:1}}
2019-10-01 12:11:50.103 T:4094476304 NOTICE: Whitelist search for: width: 3840, height: 2160, fps: 59.940, 3D: false
2019-10-01 12:11:50.105 T:4094476304 NOTICE: Display resolution ADJUST : 3840x2160 @ 59.94 - Full Screen (41) (weight: 0.146)
2019-10-01 12:11:50.108 T:4094476304 NOTICE: VideoPlayer: OnLostDisplay received
2019-10-01 12:11:50.421 T:4094476304 NOTICE: VideoPlayer: OnResetDisplay received
2019-10-01 12:11:50.512 T:3509859136 NOTICE: [plugin.video.elementum] e[36mDEBU main :arrow_forward: Notification e[0mGot notification from xbmc/Player.OnAVChange: {“item”:{“title”:“Mystery Wheel of Slime Challenge 2 w/ Funny Satisfying DIY How To Switch Up Game”,“type”:“video”,“year”:2018},“player”:{“playerid”:1,“speed”:1}}

When inputstream adaptive is disabled the video is played ok but with low resolution.

Limit 4K playback to 30 fps, with 4K 50/60 there are some GUI and playback (with some players) issues. Devs are working on it.

Unfortunately this does not help. Playback is still the same.

Install Youtube 6.5.2-beta3 and try it. https://github.com/jdf76/plugin.video.youtube/wiki/Installation#in-development-versions
Which version of inputstream.adaptive is installed?

Inputstream adaptive is v2.4.2.1, installed from CE repository.
Problem still exists after updating to the latest beta of youtube addon.

If I set the addon to ask for video quality before play and choose 720p(h.264) it plays fine even with inpustream adaptive enabled.
If i choose >1080p stream with VP9 codec it is the same as the screenshot above.

I don’t think VP9 support is present yet. Its a upstream issue.

Shoog

Same video - VP9 plays fine on:

Rpi2 - software decoding : image

OSMC Vero4k+ - Hardware decoding
IMG_20191003_124311

I don’t have issues with Youtube add-on and inputstream.adaptive enabled. Hardware acceleration is enabled?
CE Nightly_20191001 +Youtube 6.5.2_beta3+inputstream.adaptive 2.4.2.1

VP9 is supported.

1 Like

I’ve just got my Odroid N2. Tested the same configuration throught backup from old box and restore the archive to N2 and youtube is working without any problems.
It might be something wrong with 9.2.0 and 912 chipsets (H96pro+ 3/32gb).