iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.07k stars 1.78k forks source link

[Bug] Video does not load / DASH returned is not valid #3552

Open iBicha opened 1 year ago

iBicha commented 1 year ago

Describe the bug Video does not load, and DASH returned is not valid

Steps to Reproduce

  1. Open https://iv.ggtyler.dev/watch?v=kRbzjAxJ29Y
  2. Open https://iv.ggtyler.dev/api/manifest/dash/id/kRbzjAxJ29Y (You can try other instances as well)

Logs DASH response

<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 404 (Not Found)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>404.</b> <ins>That’s an error.</ins>
  <p>The requested URL <code>/api/manifest/dash/expire/1673584097/ei/gYnAY6XuOtS3hwaB7oCYBw/ip/167.114.211.189/id/9116f38c0c49dbd6/source/youtube/requiressl/yes/playback_host/rr1---sn-t0a7sn7d.googlevideo.com/mh/FE/mm/31%2C29/mn/sn-t0a7sn7d%2Csn-t0a7ln7d/ms/au%2Crdu/mv/m/mvi/1/pl/22/as/fmp4_audio_cenc%2Cfmp4_sd_hd_cenc/gcr/ca/initcwndbps/211250/vprv/1/mt/1673562069/fvip/1/keepalive/yes/fexp/24007246/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Cas%2Cgcr%2Cvprv%2Citag/sig/AOq0QJ8wRQIhAMQGnBfjNJWFSdrKTeqR9GaxeKhVQSdGpEKNdYOvpRGJAiAt23k1d5Isa6W1_4WOqwOf9EPekK9diKvgcG2_vYWDrg%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRAIgHqoXfzGI39SBPyVimlZPgke09C8MxP5VJK0FUxUX_cQCIDIxMbqGMFnazta4OAWPvTr6AIwYxYj7NXvCMLNvErbb</code> was not found on this server.  <ins>That’s all we know.</ins>

Additional context Some other instances will show "not available in this region/country" but the ones where it is supposed to work, this error happens.

Also, interestingly /videos/:id returns no storyboards, no formatStreams (only adaptive) and no recommendedVideos.

EDIT: important to note that this is not a regular video, but "movie with ads"

unixfox commented 1 year ago

Please post the other instances where the video can load.

iBicha commented 1 year ago

Please post the other instances where the video can load.

There are no instances where this video loads. It's either not available in that country, or this error (404)

unixfox commented 1 year ago

This is actually a Widevine protected video content.

Closing in favor of https://github.com/iv-org/invidious/issues/3021

iBicha commented 1 year ago

@unixfox I'm not so sure this is the same issue. The video/audio streams are downloadable from the Download button! (although the speed is throttled)

unixfox commented 1 year ago

hum right, reopening

SamantazFox commented 1 year ago

I can't find an instance where the video linked in OP is available.

iBicha commented 1 year ago

I can't find an instance where the video linked in OP is available.

@SamantazFox Try https://invidious.esmailelbob.xyz/watch?v=kRbzjAxJ29Y and https://invidious.esmailelbob.xyz/api/manifest/dash/id/kRbzjAxJ29Y

github-actions[bot] commented 5 days ago

This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.