Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements.txt #160

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Update requirements.txt #160

wants to merge 20 commits into from

Conversation

HaujetZhao
Copy link

the pytube is updated to pytube3

@HaujetZhao
Copy link
Author

Fix the problem that video files whose path contains space or other special characters can't be supported.

# test if the TEMP folder exists, when it does, delete it. Prevent the error when creating TEMP while the TEMP already exists
@HaujetZhao
Copy link
Author

test if the TEMP folder already exists, when it does, delete it. Prevent the error when creating TEMP while the TEMP already exists.

If we interrupted the editing process, it could leave the TEMP file undeleted, which causes errors when next edit.

@HaujetZhao
Copy link
Author

delete a comment which might disturb the deletion of TEMP

加上了一些中文注释。解决了原作者遗留的一些问题:
1. 带空格的目录出问题
2. 视频过长时,因音频在内存中作 numpy.concat 连接处理,当内存较小时,会直接失败。我是把音频片段存在 TEMP 文件夹,用 ffmpeg 的 concat 处理。
an example of auto cut based on the keywords within the srt subtitle file
change float into int ( sample rate ). It's a history bug.
@integerrr
Copy link

"Update requirements.txt" should not take 20 commits to do, most of these commits aren't even relevant to "updating requirements.txt"

Copy link

@m-rey m-rey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR deletes necessary files, apart from adding another dependency that, as far as I know, is not needed. The change in the requirements.txt file from pytube to pytube3 looks good.
Please revert the deletions and make sure to only update the necessary dependencies.
Note that PR #169 does this already. Thus, this PR can be closed and #169 merged.
(PR #162, while implementing the same change as #169, doesn't include a nice description explaining why the PR is necessary.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants