video-preprocessing icon indicating copy to clipboard operation
video-preprocessing copied to clipboard

Can not load video *******, broken link

Open CodingMice opened this issue 5 years ago • 29 comments

When I run load_video.py following the instruction, it return broken link, and no files have been downloaded.

CodingMice avatar Feb 25 '20 05:02 CodingMice

Can you provide an exact command that you are using?

AliaksandrSiarohin avatar Feb 25 '20 06:02 AliaksandrSiarohin

I just run "python load_videos.py --metadata vox-metadata.csv --format .mp4 --out_folder vox --workers 8", and it returns "Can not load video 2F1FU9mWlUc, broken link"

CodingMice avatar Feb 25 '20 06:02 CodingMice

Does the process stops or it continues? If it continues, this is expected behavior many videos from youtube is no longer avaliable. If you need exactly the same videos that was used in my research for research purposes (for example to compute the scores), please contact me by email.

AliaksandrSiarohin avatar Feb 25 '20 06:02 AliaksandrSiarohin

The process continues. I visit the website directly on the chrome, the video exists. So I am confused.

CodingMice avatar Feb 25 '20 06:02 CodingMice

Hmm, seems like a youtube-dl problem. I check youtube-dl not able to download that one. Maybe some update of youtube-dl or new youtube policy break it.

AliaksandrSiarohin avatar Feb 25 '20 06:02 AliaksandrSiarohin

What is the version of your youtube-dl? It worked with 2020.02.16

AliaksandrSiarohin avatar Feb 25 '20 06:02 AliaksandrSiarohin

yes, I use youtube-dl of version 2020.02.16

CodingMice avatar Feb 25 '20 08:02 CodingMice

Have you tried to run youtube-dl 2F1FU9mWlUc. What was the result?

AliaksandrSiarohin avatar Feb 25 '20 17:02 AliaksandrSiarohin

Did you solve the issue? Im also facing the same problem. Please help me with that. Thanks in advance.

akhilsantha7 avatar Mar 26 '20 06:03 akhilsantha7

For me it worked with the latest version of youtube-dl. In your case no videos have been downloaded? Can you download the video using youtube-dl <video-id>? Is it possible to access the same video from youtube website?

Also if you need datasets for educational purposes, contact me by email.

AliaksandrSiarohin avatar Mar 26 '20 08:03 AliaksandrSiarohin

I had the same problem. The issue was that youtube-dl tried to run python, but on my system the executable file is named python3. I fixed it by creating a symlink: sudo ln -s /usr/bin/python3 /usr/bin/python Maybe there is a smarter way, but it works for me!

siberov avatar Apr 02 '20 14:04 siberov

Hi @AliaksandrSiarohin. When I try to preprocess the VoxCeleb dataset, it is giving me an unusual error. After installing the requirements and following the instructions of this page, I have used the following command in my colab notebook: !python load_videos.py --metadata vox-metadata.csv --format .png --out_folder vox --workers 1

The output is this: 0it [00:00, ?it/s]

How can I solve this issue?

stark-akib avatar Apr 07 '20 14:04 stark-akib

What unusual error?

AliaksandrSiarohin avatar Apr 07 '20 19:04 AliaksandrSiarohin

By unusual error, I meant the output of that command is

0it [00:00, ?it/s]

Then the cell stops executing. There is no output in the vox folder.

stark-akib avatar Apr 07 '20 19:04 stark-akib

This is a progress bar and not an error. Hard to say what is going on. Try to print names of the videos during loading.

AliaksandrSiarohin avatar Apr 08 '20 00:04 AliaksandrSiarohin

Thanks for your great work! And I had the same problem,I need the same videos ,how can I contact you?

zhaoloulou avatar Jun 30 '20 07:06 zhaoloulou

By email from the paper.

AliaksandrSiarohin avatar Jun 30 '20 07:06 AliaksandrSiarohin

It can be related to https://github.com/ytdl-org/youtube-dl/issues/27119

shiron8bit avatar Dec 01 '20 19:12 shiron8bit

What is the rough expected number of downloaded videos? I managed to download about 18500 train and 450 test videos. And I have seen a lot of failed downloads too.

ivan-alles avatar Oct 10 '21 17:10 ivan-alles

When I run load_video.py following the instruction, it return broken link, and no files have been downloaded. I want to contact you by email , but the email address in paper can't be find. Can you tell me how to get VoxCeleb dataset or how to contact you by email?

chxinyv avatar Apr 18 '23 03:04 chxinyv

When I run youtube-dl 2F1FU9mWlUc, the result is "Unable to download API page: <urlopen error [Errno 101] Network is unreachable> (caused by URLError(OSError(101, 'Network is unreachable')))"

chxinyv avatar Apr 18 '23 03:04 chxinyv

When I execute this command, python load_videos.py --metadata vox-metadata.csv -- format.mp4 --out_folder vox --workers 8, the code works normally in the terminal, But at the terminal it prints can not load broken link ... Therefore, I would like to ask you how to solve the problem. I am currently a first-year graduate student and need this Voxceleb dataset for experiment.

wmxlovextt avatar Jun 16 '23 08:06 wmxlovextt

I also had a problem downloading the voxceleb dataset, Run python load_videos.py --metadata vox-metadata.csv -- format.mp4 --out_folder vox --workers 8 Always print out can not load video ****broken link, there are no videos in the folder. How can I solve it, or do you have a voxceleb dataset that you can share with me for research

wmxlovextt avatar Jun 19 '23 06:06 wmxlovextt

该过程是停止还是继续?如果继续下去,这是预期的行为,YouTube上的许多视频将不再可用。如果您需要与我的研究中使用的用于研究目的(例如计算分数)完全相同的视频,请通过电子邮件与我联系。

您好,您的电子邮箱是什么?

wmxlovextt avatar Jun 20 '23 07:06 wmxlovextt

I also had a problem downloading the voxceleb dataset, Run python load_videos.py --metadata vox-metadata.csv -- format.mp4 --out_folder vox --workers 8 Always print out can not load video ****broken link, there are no videos in the folder. How can I solve it, or do you have a voxceleb dataset that you can share with me for research

Hi WMX,

The problem lies in that the youtube-dl program is out-of-date. The youtube-dl repo is not well maintained currently, and the "latest" youtube-dl program is actually the version in 2021.12.17.

To solve this problem, you can use yt-dlp, which is the forked and well-maintained version of youtube-dl. Specifically, replace the code of step 2 into:

wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O youtube-dl
chmod a+rx youtube-dl

Plus, 你的github昵称让我想起了我以前的昵称,祝你科研和爱情都顺利。

SCZwangxiao avatar Jun 29 '23 08:06 SCZwangxiao

下载视频的粗略预期数量是多少?我设法下载了大约 18500 个火车和 450 个测试视频。我也看到了很多失败的下载。

May I ask how did you successfully download the video, I also followed this line of code python load_videos.py --metadata vox-metadata.csv --format .mp4 --out_folder vox --workers 8 runs, but 257it [75:29:08,. 966.54s/it] Can not load video 75sBThtNTdo, broken link This keeps on happening without any video being downloaded, what should I do to successfully download the video, can you tell me your method?

wmxlovextt avatar Dec 14 '23 14:12 wmxlovextt

May I ask how did you successfully download the video, I also followed this line of code python load_videos.py --metadata vox-metadata.csv --format .mp4 --out_folder vox --workers 8 runs, but 257it [75:29:08,. 966.54s/it] Can not load video 75sBThtNTdo, broken link This keeps on happening without any video being downloaded, what should I do to successfully download the video, can you tell me your method?

wmxlovextt avatar Dec 14 '23 14:12 wmxlovextt

Today I solve this problem, my problem is due to the youtube-dl need the python version 3.8, but my env is 3.10 so it doesn't work. I recommand all you guys have this problem to use ./youtube-dl {video_address} to make sure your youtube-dl work.

Logible avatar Jan 25 '24 12:01 Logible

Today I solve this problem, my problem is due to the youtube-dl need the python version 3.8, but my env is 3.10 so it doesn't work. I recommand all you guys have this problem to use ./youtube-dl {video_address} to make sure your youtube-dl work.

This worked lollllllllllllllllllllllllllllll

Provemj avatar Sep 23 '24 02:09 Provemj