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

Add new youtube fetch backend - rusty_ytdl #314

Merged
merged 4 commits into from
Oct 28, 2023
Merged

Conversation

gokberkkocak
Copy link
Owner

This PR adds a new youtube fetching backend called rusty_ytdl and enabled by default. rustube backend has been moved to alt_yt_backend feature and now archived ytextract crate dependency alongside with its feature has been removed.

This backend uses downloading the first chunk of the video stream to a tempfile and letting opencv to work on that rather than giving stream signature url to opencv which is more prone to failures. Technically, it should be less efficient since we fetch a chunk of stream instead of single frame. But this is negligible.


Also update dependencies across the workspace.

@gokberkkocak gokberkkocak self-assigned this Oct 28, 2023
@gokberkkocak gokberkkocak merged commit 637312a into main Oct 28, 2023
@gokberkkocak gokberkkocak deleted the feat/rusty_ytdl branch October 28, 2023 13:14
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.

1 participant