-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚡️ CamGear: Added a new YT_backend Internal Class with YT-DLP backend […
…#274] - ✨ Implemented `YT_backend` a new CamGear's Internal YT-DLP backend class for extracting metadata from Streaming URLs. - ✨ Added support for pipeling (live) video-frames from all yt-dlp supported streaming sites: https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md#supported-sites - ⚡️ Implemented algorithm from scratch for auto-extracting resolution specific streamable URLs for pipelineing. - ⚡️ Implemented logic for auto-calculating `best` and `worst` resolutions. - ✨ Added `is_livestream` global YT_backend parameters. - ✨ Added default options for yt-dlp for extracting info_dict(metadata) of the video as a single JSON line. - ✨ Added new `ytv_metadata` global parameter to CamGear for accessing video's metadata(such as duration, title, description) on-the-go. - 💥 Removed automatic enforcing of GStreamer backend for YouTube-livestreams and made it optional. - ⚰️ Completely removed old logic for extracting streams using pafy. -⚠️ Playlists are still unsupported. - **CamGear:** - 💥 Removed `streamlink` backend support from `stream_mode` in favor of more reliable CamGear's Internal YT-DLP backend class for extracting metadata from Streaming URLs. - ⚰️ Removed all dead code related to streamlink backend. - 🐛 Fixed KeyError Bug for missing attributed in meta_data json in some streaming sites. - 💥 CamGear will raise `ValueError` if streaming site URL is unsupported by yt-dlp backend. - 💥 CamGear will raise ImportError if `yt-dlp` isn't installed and `stream_mode` is enabled. - **Docs:** - 📝 Added complete usage docs with new CamGear's Internal Class with YT-DLP backend. - 🚩 Updated CamGear parameters. - 📝 Added instructions to extract video's metadata. - 📝 Updated Admonitions with related information. - 🔥 Removed any `pafy` and `streamlink` references. - 💄 Updated Functional Block Diagram(`gears_fbd.png`) image. - ♿️ Updated installation instructions. - ⚰️ Removed dead code. - 💡 Updated code comments. - **Helper:** - 💥 Removed `restore_levelnames` method. - 💥 Removed `youtube_url_validator` helper method. - **Setup.py:** - ➖ Removed `streamlink` dependency. - ➖ Removed `pafy` dependency. - 🎨 Removed `pyzmq` from latest_version group. - 🏷️ Updated SEO Keywords. - **Maintenance:** - 🔥 Removed unused imports. - 🔊 Updated logging messages. - 💡 Updated code comments. - **CI:** - 💚 Restored `test_stream_mode` CamGear test. - 👷 Updated Streaming Sites test links. - 👷 Added more tests cases.
- Loading branch information
Showing
19 changed files
with
526 additions
and
482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.