BigNoid / Aeon-Nox

A skin for XBMC/Kodi
Other
255 stars 187 forks source link

Youtube trailer delay #750

Open TheNetStriker opened 6 years ago

TheNetStriker commented 6 years ago

I am using Kodi 17.6 on a Wetek Play 2 with Aeon Nox. Every time I want to play a trailer I get a delay of about 2 to 3 minutes until the trailer actually plays. (In previous version the delay was only a few seconds) Is there a way to make this faster? Here is the log output that I found:

22:40:40.335 T:18446744073423550768 WARNING: Previous line repeats 1 times.
22:40:40.338 T:18446744073423550768  NOTICE: GL_VENDOR = ARM
22:40:40.344 T:18446744073423550768  NOTICE: GL_RENDERER = Mali-450 MP
22:40:40.344 T:18446744073423550768  NOTICE: GL_VERSION = OpenGL ES 2.0
22:40:40.344 T:18446744073423550768  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
22:40:40.344 T:18446744073423550768  NOTICE: GL_EXTENSIONS = GL_EXT_debug_marker GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_mapbuffer GL_KHR_no_error
22:40:41.874 T:18446744073500887344 WARNING: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 3
22:40:45.354 T:18446744073143163184 WARNING: Previous line repeats 5 times.
22:40:45.355 T:18446744073143163184  NOTICE: Trying to open: 44100 samplerate 12 channelMask 4 encoding
22:40:45.686 T:18446744073143163184  NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 60416 m_frames: 3776 m_frameSize: 8 channels: 2
22:40:45.984 T:18446744073500887344 WARNING: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 3
22:40:48.383 T:18446744072761301296 WARNING: Previous line repeats 3 times.
22:40:48.383 T:18446744072761301296   ERROR: DoWork - Direct texture file loading failed for resource://resource.images.studios.white/Denver and Delilah Productions.png
22:40:49.341 T:18446744073500887344 WARNING: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 3
22:41:13.094 T:18446744072883796272 WARNING: Previous line repeats 7 times.
22:41:13.094 T:18446744072883796272  NOTICE: script.module.youtube.dl: youtube_dl core version: 2017.07.09
22:42:06.457 T:18446744072739092784  NOTICE: Previous line repeats 2 times.
22:42:06.457 T:18446744072739092784  NOTICE: [plugin.video.youtube] Running: YouTube (5.4.5) on Krypton (Kodi-17.6) with Python 2.7.12
22:42:06.553 T:18446744072739092784 WARNING: [plugin.video.youtube] DEPRECATED "plugin://plugin.video.youtube/?action=play_video&videoid=HNKX2Ymfhbg"
22:42:06.554 T:18446744072739092784 WARNING: [plugin.video.youtube] USE INSTEAD "plugin://plugin.video.youtube/play/?video_id=HNKX2Ymfhbg"
22:42:08.305 T:18446744072953788720 WARNING: CPythonInvoker(49, /storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py): the python script "/storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui10DialogBusyE
22:42:32.815 T:18446744073025091888  NOTICE: script.module.youtube.dl: youtube_dl core version: 2017.07.09
22:42:33.598 T:18446744072752290096 WARNING: CPythonInvoker(51, /storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py): the python script "/storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui10DialogBusyE
22:42:34.155 T:18446744072883796272 WARNING: CPythonInvoker(50, /storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py): the python script "/storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui10DialogBusyE
22:42:34.690 T:18446744073423550768  NOTICE: VideoPlayer: Opening: https://r7---sn-1gi7zne7.googlevideo.com/videoplayback?ratebypass=yes&lmt=1508329826156589&requiressl=yes&ip=85.195.235.12&ei=L6kQWuPCFYm-Ve_UpbAK&expire=1511062927&mime=video%2Fmp4&id=o-AB5WEcPBL9aPqHjeLGqy3eY9GSXn9i2Gw-PF80dXP1w2&ipbits=0&itag=22&mn=sn-1gi7zne7&mm=31&signature=282A6A276E5241420C8546E617EF170529D4021B.514F2F043B12C8A71B692EF2AB5A2F80032BA63D&pl=20&dur=101.169&key=yt6&ms=au&mt=1511041223&initcwndbps=2042500&mv=m&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&source=youtube
22:42:34.690 T:18446744073423550768 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:42:34.745 T:18446744072883796272  NOTICE: Creating InputStream
22:42:34.901 T:18446744072883796272  NOTICE: Creating Demuxer
22:42:34.995 T:18446744072883796272  NOTICE: Opening stream: 0 source: 256
22:42:34.995 T:18446744072883796272  NOTICE: Creating video codec with codec id: 28
22:42:35.041 T:18446744072883796272  NOTICE: Creating video thread
22:42:35.041 T:18446744072883796272  NOTICE: Opening stream: 1 source: 256
22:42:35.042 T:18446744072638695728  NOTICE: running thread: video_thread
22:42:35.042 T:18446744072883796272  NOTICE: Finding audio codec for: 86018
22:42:35.044 T:18446744072883796272  NOTICE: Creating audio thread
22:42:35.046 T:18446744072637651248  NOTICE: running thread: CVideoPlayerAudio::Process()
22:42:35.057 T:18446744072637651248  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
22:42:35.061 T:18446744073143163184  NOTICE: Trying to open: 44100 samplerate 12 channelMask 4 encoding
22:42:35.288 T:18446744073423550768  NOTICE: Using GL_TEXTURE_2D
22:42:35.292 T:18446744073423550768  NOTICE: GL: Using MediaCodec (Surface) render method
22:42:35.293 T:18446744073423550768  NOTICE: GL: NPOT texture support detected
22:42:35.342 T:18446744073423550768  NOTICE: Display resolution ADJUST : 1920x1080 @ 23.976025 - Full Screen (16) (weight: 0.000)
22:42:35.449 T:18446744073143163184  NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 60416 m_frames: 3776 m_frameSize: 8 channels: 2
22:42:35.456 T:18446744073423550768  NOTICE: VideoPlayer: OnLostDisplay received
22:42:36.267 T:18446744072637651248   ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:42:36.934 T:18446744072953788720  NOTICE: [plugin.video.youtube] Running: YouTube (5.4.5) on Krypton (Kodi-17.6) with Python 2.7.12
22:42:37.326 T:18446744073025091888 WARNING: CPythonInvoker(53, /storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py): the python script "/storage/3731-3433/Android/data/org.xbmc.kodi/files//.kodi/addons/script.extendedinfo/plugin.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui10DialogBusyE
22:42:40.375 T:18446744073423550768  NOTICE: VideoPlayer: OnResetDisplay received
22:42:40.375 T:18446744073143163184  NOTICE: Trying to open: 44100 samplerate 12 channelMask 4 encoding
22:42:40.628 T:18446744073143163184  NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 60416 m_frames: 3776 m_frameSize: 8 channels: 2
BigNoid commented 6 years ago

This is in Extended Info and not the trailer button in the default video info screen, right? This should be fixed in that script, nothing I can do in the skin.

TheNetStriker commented 6 years ago

I'am not sure if the extended info script is causing the issue. I tried the fix posted here and that did not solve the problem.

Also when I switch to the Estuary Skin it works always with just a few seconds delay. Any idea what could make this difference?