Add new youtube fetch backend - rusty_ytdl #314
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new youtube fetching backend called
rusty_ytdl
and enabled by default.rustube
backend has been moved toalt_yt_backend
feature and now archivedytextract
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.