anxdpanic / plugin.video.youtube

Watch your favorite YouTube content on Kodi
https://ytaddon.panicked.xyz/forum
675 stars 111 forks source link

Some videos in my subscription list don't play #52

Closed M-Reimer closed 5 months ago

M-Reimer commented 3 years ago

Context

Please provide any relevant information about your setup


Expected Behavior

Video should play


Current Behavior

No playback. Just returned back to selection.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Try to play https://www.youtube.com/watch?v=F6t_HSo3tQ8 with YouTube Add-on on Kodi
  2. Seems like video is about to start, but then you just get back to the video list

Log

2020-11-15 20:49:50.019 T:140440542771904 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=F6t_HSo3tQ8 2020-11-15 20:49:50.109 T:140438048601664 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED 2020-11-15 20:49:50.292 T:140440162735680 WARNING: Previous line repeats 1 times. 2020-11-15 20:49:50.292 T:140440162735680 ERROR: /var/lib/kodi/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning, 2020-11-15 20:49:51.212 T:140438048601664 ERROR: Previous line repeats 1 times. 2020-11-15 20:49:51.212 T:140438048601664 NOTICE: Creating InputStream 2020-11-15 20:49:51.513 T:140438048601664 NOTICE: Creating Demuxer 2020-11-15 20:49:51.818 T:140438026237504 ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18) 2020-11-15 20:49:51.818 T:140438026237504 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1 2020-11-15 20:49:52.039 T:140438026237504 ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18) 2020-11-15 20:49:52.039 T:140438026237504 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1 2020-11-15 20:49:52.132 T:140438026237504 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 503 2020-11-15 20:49:52.143 T:140438048601664 ERROR: Open - Error, could not open file https://r5---sn-h0jeenek.googlevideo.com/videoplayback?expire=1605491482&ei=uoaxX--LNcqC8gPXlIqoCQ&ip=46.87.161.102&id=o-AGDF2bCPJmYM7SNL1BlfQkNbR7_4BheusON0PeLMfxfu&itag=22&source=youtube&requiressl=yes&mh=HX&mm=31%2C29&mn=sn-h0jeenek%2Csn-h0jeln7e&ms=au%2Crdu&mv=m&mvi=5&pl=26&initcwndbps=1283750&vprv=1&mime=video%2Fmp4&ns=IBC_QbzW6eC8TslDyX-sLlEF&ratebypass=yes&dur=605.112&lmt=1605450182709837&mt=1605469724&fvip=5&c=WEB&txp=6316222&n=OSs3i8i68HlWTB1QG&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIge0uBex_sri84hFR43ZMUH4SeLoAH1nujDHFB0xGvF8sCIHwg369M2FoWsVscbm-0i7D8xFaWtM-kARvfAXt1kBR2&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgGC1o2iHI1cJilTEUdMkYEjtbe7p_lupiZC0P1xowDDYCIQCuXJfxyb1INsvZfJt3IrjYlCQcsaWBHIMzQXAFu6RqdQ%3D%3D 2020-11-15 20:49:52.143 T:140438048601664 ERROR: OpenDemuxStream - Error creating demuxer 2020-11-15 20:49:52.143 T:140438048601664 NOTICE: CVideoPlayer::OnExit() 2020-11-15 20:49:52.143 T:140438048601664 NOTICE: Closing stream player 1 2020-11-15 20:49:52.143 T:140438048601664 NOTICE: Waiting for audio thread to exit 2020-11-15 20:49:52.148 T:140439382386240 NOTICE: thread end: CVideoPlayerAudio::OnExit() 2020-11-15 20:49:52.148 T:140438048601664 NOTICE: Closing audio device 2020-11-15 20:49:52.148 T:140438048601664 NOTICE: Deleting audio codec 2020-11-15 20:49:52.169 T:140440542771904 NOTICE: CVideoPlayer::CloseFile() 2020-11-15 20:49:52.176 T:140440542771904 NOTICE: VideoPlayer: waiting for threads to exit 2020-11-15 20:49:52.176 T:140440542771904 NOTICE: VideoPlayer: finished waiting 2020-11-15 20:49:52.582 T:140440162735680 ERROR: /var/lib/kodi/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning, 2020-11-15 20:50:35.087 T:140440542771904 ERROR: Previous line repeats 3 times.

captzapo commented 3 years ago

I had the same issue before I did a complete sign out/sign in and emptied the caches. Now the video list does not load at all (issue #49 )

jakebriggs commented 3 years ago

I get the same, on https://www.youtube.com/watch?v=yBeNVcsyjPA I can however play the lower quality 320p version by choosing "Play (ask for quality)" in the context menu. I am using kodi on a raspberypi (osmc actually)

2020-11-16 22:03:32.021 T:1916642224  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=yBeNVcsyjPA
2020-11-16 22:03:32.108 T:1333784800  NOTICE: Creating InputStream
2020-11-16 22:03:32.712 T:1333784800  NOTICE: Creating Demuxer
2020-11-16 22:03:36.175 T:1232048352   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2020-11-16 22:03:36.176 T:1232048352 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2020-11-16 22:03:36.371 T:1232048352   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2020-11-16 22:03:36.371 T:1232048352 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2020-11-16 22:03:36.434 T:1232048352   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 503
2020-11-16 22:03:36.469 T:1333784800   ERROR: Open - Error, could not open file https://r4---sn-8vq54voxo1-fabe.googlevideo.com/videoplayback?expire=1605539010&ei=YUCyX9riOZKYvQT8hanADQ&ip=203.118.184.58&id=o-ACceDrJYbW97DBDYOJZZ-OpAD7LJUtfZo4XAJy-JCtDL&itag=22&source=youtube&requiressl=yes&mh=ZQ&mm=31%2C29&mn=sn-8vq54voxo1-fabe%2Csn-8vq54voxo1-53as&ms=au%2Crdu&mv=m&mvi=4&pl=21&initcwndbps=1797500&vprv=1&mime=video%2Fmp4&ns=YIzmdBsB4sYKo9TkTdpWHdEF&ratebypass=yes&dur=1664.383&lmt=1605441989909515&mt=1605517243&fvip=4&c=WEB&txp=6416222&n=OucOfW_FpsPO2if4s&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKquR8zSgjAURXpe2KsUvrb5MCqcUg7aKcyfNxleZR3hAiABv9TnpcBJeX7oHDIGdlweiiWURpAEfMPrsnfswaRr2w%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAKDaTGqR7iKr98rQQIt74d_yfwb4gYS8c3vC1MWRaGA7AiEAnqb-b_12JZbTa55bu4cz0L33d--d0zeQlITBSPn46w0%3D
2020-11-16 22:03:36.469 T:1333784800   ERROR: OpenDemuxStream - Error creating demuxer
2020-11-16 22:03:36.470 T:1333784800  NOTICE: CVideoPlayer::OnExit()
2020-11-16 22:03:36.555 T:1916642224  NOTICE: CVideoPlayer::CloseFile()
2020-11-16 22:03:36.556 T:1916642224  NOTICE: VideoPlayer: waiting for threads to exit
2020-11-16 22:03:36.556 T:1916642224  NOTICE: VideoPlayer: finished waiting
AlexNk commented 3 years ago

Having the same issue with the same errors in logs. First happened 2-3 weeks ago

DeWillem78 commented 3 years ago

Not sure if it's relevant but I've been having the same issue for a few weeks. I can send more info if needed. In my log the same 503 error is preceded by a successful GetMimeType. When I open the full googlevideo.com link in a browser, the video does play.

As suggested by jakebriggs choosing 360p manually does play the video. Using LibreELEC 9.2.6, Kodi 18.9, YouTube addon 6.8.7.

This is one of many videos that fails to play in Kodi: https://www.youtube.com/watch?v=wkox2TdFQZ0

Cheers

bassmadrigal commented 3 years ago

I was having a similar issue but found a bug report on the old repo that contained a fix (for me). In there, they said it was an issue on YouTube's end, but you could play it with a lower quality or switch to mpeg-dash. I did the latter and the video started working again.

jakebriggs commented 3 years ago

I was having a similar issue but found a bug report on the old repo that contained a fix (for me). In there, they said it was an issue on YouTube's end, but you could play it with a lower quality or switch to mpeg-dash. I did the latter and the video started working again.

I just tried it, works for me too. I thought I had that on....

DeWillem78 commented 3 years ago

After some fiddling with HTTP server to get that active and listening, installing InputStream Adaptive and configuring mpeg-dash I also got the failing videos to work again. Thanks! Not sure though, if everyone will be able to figure this out on their own. :)

bassmadrigal commented 3 years ago

I did already have inputstream installed so I could use the Netflix and Amazon addons, so I didn't think about that aspect of it. However, I didn't have to do anything with the http server settings. I just flipped the switch at the top and it worked.

jakebriggs commented 3 years ago

I did already have inputstream installed so I could use the Netflix and Amazon addons, so I didn't think about that aspect of it. However, I didn't have to do anything with the http server settings. I just flipped the switch at the top and it worked.

That goes for me as well, it just worked when I turned it on.

Well, not quite - my poor old raspberry pi 2 couldn't handle 1080p so I had to turn that down to 720p in the input stream settings

SubZero5 commented 3 years ago

Just entered to post exactly this issue.

Thev video with issue was: https://www.youtube.com/watch?v=HJV_TL9hqso

Strangely it seems on the youtube page, the video looked at it was stopped at about the 2 minute mark...

Can't there be a work-around for this issue? Or when could it be fixed?

bassmadrigal commented 3 years ago

Did you try my fix with switching to mpeg-dash? I haven't had any issues with it since I made the change a week ago.

SubZero5 commented 3 years ago

Did you try my fix with switching to mpeg-dash? I haven't had any issues with it since I made the change a week ago.

This fixed my issue, thank you @bassmadrigal 👻

jpohjolainen commented 3 years ago

For me this switching to mpeg-dsh didn't help at all. I tried trough all different resolutions down to 360, and none of the videos on my subscription opens up. I have 6.8.9-beta2

satter commented 2 years ago

Issue still exists in 6.8.18:

2022-04-23 17:59:58.378 T:1893812    INFO <general>: Creating InputStream
2022-04-23 17:59:58.880 T:1893812    INFO <general>: Creating Demuxer
2022-04-23 17:59:59.447 T:1893815   ERROR <general>: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2022-04-23 17:59:59.447 T:1893815 WARNING <general>: CCurlFile::FillBuffer - Reconnect, (re)try 1
2022-04-23 17:59:59.932 T:1893815   ERROR <general>: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2022-04-23 17:59:59.932 T:1893815 WARNING <general>: CCurlFile::FillBuffer - Reconnect, (re)try 2
2022-04-23 18:00:00.504 T:1893815   ERROR <general>: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2022-04-23 18:00:00.505 T:1893815   ERROR <general>: CFileCache::Process - <https://rr4---sn-axq7sn7z.googlevideo.com/videoplayback?expire=1650747598&ei=bhRkYoCPCpePv_IPn6C1mAE&ip=2001%3A470%3A28%3A94d%3Aca60%3Aff%3Afea6%3A1c35&id=o-AIGqvw-jzMXCst4Ld0ZrbAeKXXYhXO87RyxqkBisFueK&itag=22&source=youtube&requiressl=yes&hcs=ir%2C&mh=VR&mm=31%2C26&mn=sn-axq7sn7z%2Csn-5hne6nzd&ms=au%2Conr&mv=u&mvi=4&pl=64&rmhost=rr18---sn-axq7sn7z.googlevideo.com%2C&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=7216.994&lmt=1650678272811847&mt=1650725637&fvip=2&fexp=24001373%2C24007246&c=ANDROID&txp=4432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRgIhANFCIKiXTaq7_pyDRf9FWWSvmsdKiusUbh-r4UiTAUS2AiEA6zDqIEHDFrmtXYkEpRy8wtdQVPThJ1ugKNhKbNa-v7M%3D&lsparams=hcs%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crmhost&lsig=AG3C_xAwRQIhAJTtJ4O0xNBx_0BMcIBi-q1qiAK9l8QZqIOZUQG1PRzhAiANTSxK_rHXCp8AmCPUgTHJaBqSHSN3KTtqTGiVtHPj_Q%3D%3D|User-Agent=Mozilla/5.0%20%28Linux%3B%20Android%207.0%3B%20SM-G892A%20Build/NRD90M%3B%20wv%29%20AppleWebKit/537.36%20%28KHTML%2C%20like%20Gecko%29%20Version/4.0%20Chrome/67.0.3396.87%20Mobile%20Safari/537.36&Accept=%2A/%2A&DNT=1&Accept-Encoding=gzip%2C%20deflate&Accept-Language=en-US%2Cen%3Bq%3D0.5> source read didn't return any data before eof!

Enabling mpeg-dash seems to be fixing this