Giter Site home page Giter Site logo

Comments (27)

siberov avatar siberov commented on September 3, 2024 4

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!

from video-preprocessing.

SCZwangxiao avatar SCZwangxiao commented on September 3, 2024 4

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

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024 2

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.

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

Can you provide an exact command that you are using?

from video-preprocessing.

CodingMice avatar CodingMice commented on September 3, 2024

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"

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

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.

from video-preprocessing.

CodingMice avatar CodingMice commented on September 3, 2024

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

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

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.

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

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

from video-preprocessing.

CodingMice avatar CodingMice commented on September 3, 2024

yes, I use youtube-dl of version 2020.02.16

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

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

from video-preprocessing.

akhilsantha7 avatar akhilsantha7 commented on September 3, 2024

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

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

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.

from video-preprocessing.

stark-akib avatar stark-akib commented on September 3, 2024

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?

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

What unusual error?

from video-preprocessing.

stark-akib avatar stark-akib commented on September 3, 2024

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.

from video-preprocessing.

zhaoloulou avatar zhaoloulou commented on September 3, 2024

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

from video-preprocessing.

AliaksandrSiarohin avatar AliaksandrSiarohin commented on September 3, 2024

By email from the paper.

from video-preprocessing.

shiron8bit avatar shiron8bit commented on September 3, 2024

It can be related to ytdl-org/youtube-dl#27119

from video-preprocessing.

ivan-alles avatar ivan-alles commented on September 3, 2024

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.

from video-preprocessing.

chxinyv avatar chxinyv commented on September 3, 2024

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?

from video-preprocessing.

chxinyv avatar chxinyv commented on September 3, 2024

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

from video-preprocessing.

wmxlovextt avatar wmxlovextt commented on September 3, 2024

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.

from video-preprocessing.

wmxlovextt avatar wmxlovextt commented on September 3, 2024

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

from video-preprocessing.

wmxlovextt avatar wmxlovextt commented on September 3, 2024

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

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

from video-preprocessing.

wmxlovextt avatar wmxlovextt commented on September 3, 2024

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

from video-preprocessing.

wmxlovextt avatar wmxlovextt commented on September 3, 2024

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?

from video-preprocessing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.