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

Support for various Video-Streaming-Services (Twitch.tv, Livestream, Dailymotion etc.) in CamGear API #160

Closed
abhiTronix opened this issue Sep 29, 2020 · 1 comment · Fixed by #183 or #186
Assignees
Labels
ENHANCEMENT ⚡ New Feature/Addition/Improvement PROPOSAL 📩 A proposal/proposition SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Milestone

Comments

@abhiTronix
Copy link
Owner

abhiTronix commented Sep 29, 2020

Detailed Description

This Proposal to add feature for pipelining video-frames from various services(Twitch.tv, Livestream, Dailymotion etc.) in CamGear API, just by passing video/live-streams URL as input to its source parameter.

Context

CamGear API currently only supports YouTube video/live-streams URLs, but we this proposal we're looking forward to extend it to all major video services websites (such as Twitch.tv, Livestream, Dailymotion etc.) while keeping the functionality same as before.

Your Current Environment

  • VidGear version: 0.2.0-dev
  • Branch: development
  • Python version: all
  • Operating System and version: all

Any Other Important Information

Possible backends (suggestions welcomed):

@abhiTronix abhiTronix added ENHANCEMENT ⚡ New Feature/Addition/Improvement PROPOSAL 📩 A proposal/proposition PR WELCOMED 📬 Related Pull Requests are welcomed for this issue! labels Sep 29, 2020
@abhiTronix abhiTronix added this to the 0.2.0 milestone Sep 29, 2020
@abhiTronix abhiTronix added WORK IN PROGRESS 🚧 currently been worked on. and removed PROPOSAL 📩 A proposal/proposition labels Nov 7, 2020
@abhiTronix abhiTronix added PROPOSAL 📩 A proposal/proposition and removed WORK IN PROGRESS 🚧 currently been worked on. labels Dec 1, 2020
abhiTronix added a commit that referenced this issue Dec 28, 2020
)

- Added seamless support for live video streaming sites like Twitch, LiveStream, Dailymotion etc.
- Implemented flexible framework around `streamlink` python library with easy control over parameters and quality.
- Stream Mode can now automatically detects whether `source` belong to YouTube or elsewhere, and handles it with appropriate API.
- Added additional `STREAM_QUALITY` and `STREAM_PARAMS` attributes.
- Updated docs with all new additions and examples.
- Moved WebGear API to Streaming Gears.
- Added `restore_levelnames` auxiliary method.
- Updated CI tests, `setup.py` and `ReadMe.md`.
- Fixed Several logging bugs.
- Bumped `dev` version.
@abhiTronix abhiTronix linked a pull request Dec 28, 2020 that will close this issue
6 tasks
@abhiTronix abhiTronix self-assigned this Dec 28, 2020
@abhiTronix abhiTronix added WORK IN PROGRESS 🚧 currently been worked on. PROPOSAL 📩 A proposal/proposition and removed PROPOSAL 📩 A proposal/proposition PR WELCOMED 📬 Related Pull Requests are welcomed for this issue! labels Dec 28, 2020
abhiTronix added a commit that referenced this issue Dec 29, 2020
- CamGear: Support for various Live-Video-Streaming services (Fixes #160)
	- Added seamless support for live video streaming sites like Twitch, LiveStream, Dailymotion etc.
	- Implemented flexible framework around `streamlink` python library with easy control over parameters and quality.
	- Stream Mode can now automatically detects whether `source` belong to YouTube or elsewhere, and handles it with appropriate API.
	- Added additional `STREAM_QUALITY` and `STREAM_PARAMS` attributes.
	- Updated docs with all new additions and examples.
	- Moved WebGear API to Streaming Gears.
	- Added `restore_levelnames` auxiliary method.
	- Updated CI tests, `setup.py` and `ReadMe.md`.
	- Fixed Several logging bugs.

- Logging: Added file support (Fixes #182)
	- Added `VIDGEAR_LOGFILE` environment variable to manually add file/dir path.
	- Reworked `logger_handler()` Helper methods (in asyncio too).
	- Added new formatter and Filehandler for handling logger files.
	- Added auto version extraction from package `version.py` in setup.py.

- CamGear: Re-implemented YouTube URLs Handler (Fixes #133)
	:warning: `y_tube` parameter renamed as `stream_mode`!
	:warning: Removed `FORCE_YTUBE_VAMODE` attribute.

	- Re-implemented CamGear's YouTube URLs Handler completely from scratch.
	- New Robust Logic to flexibly handing video and video-audio streams.
	- Intelligent stream selector for selecting best possible stream compatible with OpenCV.
	- Added support for selecting stream qualities and parameters.
	- Added additional `STREAM_QUALITY` and `STREAM_PARAMS` attributes for CamGear.
	- Implemented new `get_supported_quality` helper method for handling specified qualities
	- Fixed Live-Stream URLs not supported by OpenCV's Videocapture and its FFmpeg.
	
- CI: Maintance Updates
	- Added support for new `VIDGEAR_LOGFILE` environment variable in Travis CI.
	- Fixed failing CI tests.
	- Added missing CI tests.
	- Added logging for helper functions.
	- Updated `contributing.md`

- Bash Scripts: Fixed OpenCV Release binaries detection bugs
- Docs: Few minor additions and fixes
- Bumped `dev` version.
- Docs: Quick typo fixed
- CI: Bumped codecov
- CI: Bugs fixed
@abhiTronix
Copy link
Owner Author

abhiTronix commented Dec 29, 2020

Successfully resolved and merged in commit b31ca58

⚠️ y_tube parameter renamed as stream_mode in CamGear API!

@abhiTronix abhiTronix pinned this issue Dec 29, 2020
@abhiTronix abhiTronix added SOLVED 🏁 This issue/PR is resolved now. Goal Achieved! and removed WORK IN PROGRESS 🚧 currently been worked on. labels Dec 29, 2020
@abhiTronix abhiTronix linked a pull request Jan 1, 2021 that will close this issue
58 tasks
@abhiTronix abhiTronix mentioned this issue Jan 1, 2021
58 tasks
@abhiTronix abhiTronix changed the title Add support for various video/live-streams services(Twitch.tv, Livestream, Dailymotion etc.) in CamGear API Support for various Video-Streaming-Services (Twitch.tv, Livestream, Dailymotion etc.) in CamGear API Jan 1, 2021
@abhiTronix abhiTronix unpinned this issue Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENHANCEMENT ⚡ New Feature/Addition/Improvement PROPOSAL 📩 A proposal/proposition SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Projects
None yet
1 participant