AliaksandrSiarohin / video-preprocessing

517 stars 135 forks source link

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

Open CodingMice opened 4 years ago

CodingMice commented 4 years ago

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

AliaksandrSiarohin commented 4 years ago

Can you provide an exact command that you are using?

CodingMice commented 4 years ago

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"

AliaksandrSiarohin commented 4 years ago

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.

CodingMice commented 4 years ago

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

AliaksandrSiarohin commented 4 years ago

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 commented 4 years ago

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

CodingMice commented 4 years ago

yes, I use youtube-dl of version 2020.02.16

AliaksandrSiarohin commented 4 years ago

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

akhilsantha7 commented 4 years ago

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

AliaksandrSiarohin commented 4 years ago

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.

siberov commented 4 years ago

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!

stark-akib commented 4 years ago

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?

AliaksandrSiarohin commented 4 years ago

What unusual error?

stark-akib commented 4 years ago

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.

AliaksandrSiarohin commented 4 years ago

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.

zhaoloulou commented 4 years ago

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

AliaksandrSiarohin commented 4 years ago

By email from the paper.

shiron8bit commented 3 years ago

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

ivan-alles commented 3 years ago

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.

chxinyv commented 1 year ago

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 commented 1 year ago

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')))"

wmxlovextt commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

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

SCZwangxiao commented 1 year ago

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昵称让我想起了我以前的昵称,祝你科研和爱情都顺利。

wmxlovextt commented 11 months ago

下载视频的粗略预期数量是多少?我设法下载了大约 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 commented 11 months ago

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?

Logible commented 9 months ago

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.

Provemj commented 1 month ago

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