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

Piers: HDR Videos Still Fail; Maybe some useful output now? #1022

Open
ilikenwf opened this issue Dec 8, 2024 · 1 comment
Open

Piers: HDR Videos Still Fail; Maybe some useful output now? #1022

ilikenwf opened this issue Dec 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ilikenwf
Copy link

ilikenwf commented Dec 8, 2024

Context

Related to the ongoing linux/intel vp9 HDR issues. See log below.

Video: https://www.youtube.com/watch?v=njX2bu-_Vw4

Please provide any relevant information about your setup

  • Add-on Version: 7.1.1+beta.1
  • Kodi Version: Piers (git tip)
  • Kodi GUI Language: eng
  • Operating System: linux
  • Operating System Language: eng

Expected Behavior

Please describe the behavior you are expecting.


Current Behavior

What is the current behavior?


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Play a hdr10 video from youtube https://www.youtube.com/watch?v=njX2bu-_Vw4
  2. Crash

Log

Please include a complete debug log.

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Sun Dec  8 16:54:19 CST 2024
 Kodi Options: 
 Arch: x86_64
 Kernel: Linux 6.12.3-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 06 Dec 2024 11:15:23 +0000
 Release: Arch Linux
############## END SYSTEM INFO ##############

############### STACK TRACE #################
############# END STACK TRACE ###############

################# LOG FILE ##################

2024-12-08 16:54:05.792 T:1373     info <general>: -----------------------------------------------------------------------
2024-12-08 16:54:05.792 T:1373     info <general>: Starting Kodi (22.0-ALPHA1 (21.90.700) Git:20241208-504c69cc3b2-dirty). Platform: Linux x86 64-bit
2024-12-08 16:54:05.792 T:1373     info <general>: Using Release Kodi x64
2024-12-08 16:54:05.792 T:1373     info <general>: Kodi compiled 2024-12-08 by Clang 18.1.8  for Linux x86 64-bit version 6.11.0 (396032)
2024-12-08 16:54:05.792 T:1373     info <general>: Running on Arch Linux 0.0, kernel: Linux x86 64-bit version 6.12.3-zen1-1-zen
2024-12-08 16:54:05.792 T:1373     info <general>: FFmpeg version/source: n7.1
2024-12-08 16:54:05.792 T:1373     info <general>: Host CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 8 cores available
2024-12-08 16:54:05.792 T:1373     info <general>: special://xbmc/ is mapped to: /usr/share/kodi
2024-12-08 16:54:05.792 T:1373     info <general>: special://xbmcbin/ is mapped to: /usr/lib/kodi
2024-12-08 16:54:05.792 T:1373     info <general>: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
2024-12-08 16:54:05.792 T:1373     info <general>: special://masterprofile/ is mapped to: /home/kodi/.kodi/userdata
2024-12-08 16:54:05.792 T:1373     info <general>: special://envhome/ is mapped to: /home/kodi
2024-12-08 16:54:05.792 T:1373     info <general>: special://home/ is mapped to: /home/kodi/.kodi
2024-12-08 16:54:05.792 T:1373     info <general>: special://temp/ is mapped to: /home/kodi/.kodi/temp
2024-12-08 16:54:05.792 T:1373     info <general>: special://logpath/ is mapped to: /home/kodi/.kodi/temp
2024-12-08 16:54:05.792 T:1373     info <general>: Webserver extra whitelist paths: 
2024-12-08 16:54:05.792 T:1373     info <general>: The executable running is: /usr/lib/kodi/kodi.bin
2024-12-08 16:54:05.792 T:1373     info <general>: Local hostname: settop
2024-12-08 16:54:05.792 T:1373     info <general>: Log File is located: /home/kodi/.kodi/temp/kodi.log
2024-12-08 16:54:05.792 T:1373     info <general>: -----------------------------------------------------------------------
2024-12-08 16:54:05.792 T:1373     info <general>: loading settings
2024-12-08 16:54:05.792 T:1373     info <general>: special://profile/ is mapped to: special://masterprofile/
2024-12-08 16:54:05.795 T:1373     info <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
2024-12-08 16:54:05.795 T:1373    error <general>: Error loading special://profile/advancedsettings.xml, Line 18
                                                   Error reading end tag.
2024-12-08 16:54:05.795 T:1373     info <general>: Default Video Player: VideoPlayer
2024-12-08 16:54:05.795 T:1373     info <general>: Default Audio Player: paplayer
2024-12-08 16:54:05.795 T:1373     info <general>: Disabled debug logging due to GUI setting. Level 0.
2024-12-08 16:54:05.795 T:1373     info <general>: Log level changed to "info"
2024-12-08 16:54:05.795 T:1373     info <general>: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
2024-12-08 16:54:05.797 T:1373     info <general>: New Cache GUI Settings (replacement of cache in advancedsettings.xml) are:
                                                     Buffer Mode: 4
                                                     Memory Size: 64 MB
                                                     Read Factor: 0.00 x (adaptive)
                                                     Chunk Size : 131072 bytes
2024-12-08 16:54:14.759 T:1469     info <general>: [plugin.video.youtube] Plugin: Running |v7.1.1+beta.1|
                                                   Kodi: |v22.0 (Kodi Piers)|
                                                   Python: |v3.12.7|
                                                   Path: |/play/|
                                                   Params: |{'video_id': 'njX2bu-_Vw4', 'incognito': False}|
2024-12-08 16:54:14.773 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:15.216 T:1469     info <general>: Skipped 26 duplicate messages..
2024-12-08 16:54:15.216 T:1469    error <general>: [plugin.video.youtube] Player request failed
                                                   exc: |"error" in response JSON data|
                                                   reason: badRequest
                                                   message: |Request contains an invalid argument.|
                                                   video_id: njX2bu-_Vw4, client: ios, auth: True
                                                   Response:
                                                   	|{'error': {'code': 400, 'message': 'Request contains an invalid argument.', 'errors': [{'message': 'Request contains an invalid argument.', 'domain': 'global', 'reason': 'badRequest'}], 'status': 'INVALID_ARGUMENT'}}|
                                                   Stack trace (most recent call last):
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py", line 16, in <module>
                                                       plugin_runner.run()
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin_runner.py", line 60, in run
                                                       plugin.run(provider, context, focused=(current_uri == new_uri))
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py", line 176, in run
                                                       result, options = provider.navigate(context)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 173, in navigate
                                                       result = handler(provider=self, context=context, re_match=re_match)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 358, in process
                                                       media_item = _play_stream(provider, context)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 70, in _play_stream
                                                       streams = client.get_streams(context,
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 201, in get_streams
                                                       use_mpd=use_mpd).load_stream_info(video_id)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/stream_info.py", line 1398, in load_stream_info
                                                       _result = self.request(
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/network/requests.py", line 151, in request
                                                       stack_trace = format_stack()
                                                   
2024-12-08 16:54:15.216 T:1469  warning <general>: [plugin.video.youtube] Failed to retrieve video info - video_id: njX2bu-_Vw4, client: ios, auth: True,
                                                   status: ERROR, reason: UNKNOWN
2024-12-08 16:54:15.225 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:15.493 T:1405     info <general>: Skipped 16 duplicate messages..
2024-12-08 16:54:15.506 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:15.624 T:1373     info <general>: Skipped 6 duplicate messages..
2024-12-08 16:54:15.624 T:1373     info <general>: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=njX2bu-_Vw4&incognito=false
2024-12-08 16:54:15.624 T:1472     info <general>: Creating InputStream
2024-12-08 16:54:15.626 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:15.637 T:1472     info <general>: AddOnLog: inputstream.adaptive: [Repr. chooser] Resolution set: 3840x2160, max allowed: 3840x2160, Adjust refresh rate: 0
2024-12-08 16:54:15.658 T:1472     info <general>: AddOnLog: inputstream.adaptive: Manifest successfully parsed (Periods: 1, Streams in first period: 19, Type: VOD)
2024-12-08 16:54:15.658 T:1472     info <general>: Creating Demuxer
2024-12-08 16:54:15.658 T:1472     info <general>: Opening stream: 1001 source: 256
2024-12-08 16:54:15.741 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:15.783 T:1471     info <general>: Skipped 3 duplicate messages..
2024-12-08 16:54:15.799 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:15.847 T:1405     info <general>: Skipped 3 duplicate messages..
2024-12-08 16:54:15.857 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:16.169 T:1472     info <general>: Skipped 18 duplicate messages..
2024-12-08 16:54:16.169 T:1472     info <general>: Creating video codec with codec id: 225
2024-12-08 16:54:16.169 T:1472     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: Alliance for Open Media AV1
2024-12-08 16:54:16.169 T:1472     info <general>: Creating video thread
2024-12-08 16:54:16.169 T:1475     info <general>: running thread: video_thread
2024-12-08 16:54:16.170 T:1472     info <general>: Opening stream: 1018 source: 256
2024-12-08 16:54:16.177 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:16.339 T:1471     info <general>: Skipped 28 duplicate messages..
2024-12-08 16:54:16.339 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:16.465 T:1472     info <general>: Skipped 20 duplicate messages..
2024-12-08 16:54:16.465 T:1472     info <general>: Finding audio codec for: 86018
2024-12-08 16:54:16.467 T:1472     info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-12-08 16:54:16.467 T:1472     info <general>: OpenStream: Allowing max Out-Of-Sync Value of 50 ms
2024-12-08 16:54:16.467 T:1472     info <general>: Creating audio thread
2024-12-08 16:54:16.467 T:1477     info <general>: running thread: CVideoPlayerAudio::Process()
2024-12-08 16:54:16.473 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:17.035 T:1405     info <general>: Skipped 67 duplicate messages..
2024-12-08 16:54:17.039 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:17.222 T:1471     info <general>: Skipped 21 duplicate messages..
2024-12-08 16:54:17.222 T:1373    error <general>: Invalid GUI Shader selected - 8
2024-12-08 16:54:17.382 T:1545     info <general>: Skipped 19 duplicate messages..
2024-12-08 16:54:17.382 T:1545     info <general>: COutput::OnStartup: Output Thread created
2024-12-08 16:54:17.387 T:1477     info <general>: Creating audio stream (codec id: 86018, channels: 6, sample rate: 48000, no pass-through)
2024-12-08 16:54:17.390 T:1390     info <general>: CActiveAESink::OpenSink - initialize sink
2024-12-08 16:54:17.390 T:1373    error <general>: Invalid GUI Shader selected - 8


############### END LOG FILE ################

############ END Kodi CRASH LOG #############

Additional Information

Please provide any additional information that may be helpful.


@ilikenwf ilikenwf added the bug Something isn't working label Dec 8, 2024
@MoojMidge
Copy link
Collaborator

MoojMidge commented Dec 9, 2024

First, try updating to https://github.com/anxdpanic/plugin.video.youtube/releases/tag/v7.1.1.6 and try again. There are a few issues identified in your log that are resolved in more recent versions.

Second, what is the actual problem? What do you mean by crash? There is no stack trace, but this addon is not certainly not crashing. If the issue is HDR playback would need debug logs as previously discussed.

Third, you are not playing a VP9 video, you are playing an AV1 video.

Happy to have a look at whatever issues are occurring but there is a happy balance to be struck between supplying too much unnecessary information and terseness to the point where nothing is clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants