celebv-text / CelebV-Text

(CVPR 2023) CelebV-Text: A Large-Scale Facial Text-Video Dataset
https://celebv-text.github.io/
388 stars 33 forks source link

Unable to download files: errorCode=24 Authorization failed #2

Closed julius-richter closed 1 year ago

julius-richter commented 1 year ago

Thanks a lot for providing the AV-dataset!

I tried to download the files using the download script. However, for most of the files I get errors which look like this:

03/31 08:17:30 [ERROR] CUID#116 - Download aborted. URI=https://rr1---sn-i5h7lner.googlevideo.com/videoplayback?expire=1680272246&ei=FpcmZJHZEMmo1gLRppLYDg&ip=134.100.39.1&id=o-ANKFN11e07mCS-kMtmYgxlutGeMzS3L-Ueq5WV07sJZ_&itag=571&source=youtube&requiressl=yes&mh=qR&mm=31%2C26&mn=sn-15h7lner%2Csn-4g5ednde&ms=au%2Conr&mv=m&mvi=1&pl=16&initcwndbps=1746250&spc=99c5CCRFgXoYdn JOKHnMwjobavn5bfc&vprv=1&svpuc=1&mime=video%2Fmp4&gir=yes&clen=3233938512&dur=1141.773&lmt=1658591182862542&mt=1680250180&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID&txp=3318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=A0q0QJ8wRQIgJ0mk3b-hMwbwy_mT6U2M3diwZZuZOZBkyXdVARVpE5UCIQD5E-JSsfALRO1vqEQriI-s5wTS9c-UG_SOBT6Ih4S4nw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_XAWRAIGLUleLEJr_h-4iWFqKr8CDwDa EXG1XvnhbhSMjHy2SDMCIElz28fQ_r4NakiiDZORO5QArd30zgzpK-GXA6NnLl2l&range=1142947840-1153433599
Exception: [AbstractCommand.cc: 351] errorCode=24 URI=https://rr1---sn-i5h7lner.googlevideo.com/videoplayback? expire=1680272246&ei=FpcmZJHZEMmo1gLRppLYDg&ip=134.100.39.1&id=0-ANKFN11e07mCS-kMtmYgxlutGeMzS3L-Ueq5WV07sJZ_&itag=571&source=youtube&requiressl=yes&mh=qR&mm=31%2C26&mn=sn-i5h7lner%2Csn-4g5ednde&ms=au%2Conr&mv=m&mvi=1&pl=16&initcwndbps=1746250&spc=99c5CCRFgXoYdn JOKHnMwjobaVn5bfc&vprv=1&svpuc=1&mime=video%2Fmp4&gir=yes&clen=3233938512&dur=1141.773&lmt=1658591182862542&mt=1680250180&fvip=4&keepalive=yes&fexp=24007246&C=ANDROID&txp=3318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=A0q0QJ8wRQIgJomk3b-hMwbwy_mT6U2M3diwZZUZOZBkYXdVARVpE5UCIQD5E-JSSfALR01vqEQriI-s5wTS9c-UG_SOBT6Ih454nw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_XAwRAIgLuleLEJr_h-4iWFqKr8CDwDa
-> [HttpSkipResponse Command.cc: 215] errorCode=24 Authorization failed.

It's probably related to some authorization problem using aria2, see: https://github.com/aria2/aria2/issues/512

Do you have any idea how to fix this issue?

Best, Julius

Crane-YU commented 1 year ago

Hi @julius-richter,

I am guessing this is due to your version of yt-dlp. Can you try to reinstall/upgrade the yt-dlp version and see how everything goes. Since all videos are publicly avalilable on youtube, it might not be the issue of authorization.

julius-richter commented 1 year ago

Yep, it was indeed a version problem of yt-dlp. Now it works, thanks for your reply! Perhaps you consider adding a requirements.txt :)

With the most recent version yt-dlp==2023.3.4 I ran into the aforementioned errors. But after downgrading to yt-dlp==2023.2.17 your script seems to work. Only get the following warning for every video:

WARNING: External Downloader arguments given without specifying name. The arguments will be given to aria2c

Best, Julius

celebv-text commented 1 year ago

The requirement file has been added.