-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HLS and YouTube Live support. (#60)
Add support for HTTP Live Streaming (HLS) and YouTube Live videos (which is just HLS under the hood). Also do some general cleanup: remove unused imports clean up motion detection documentation support optional extra dependency installation move from python 3.7 -> python 3.9 (oldest version that is not out of service) --------- Co-authored-by: Auto-format Bot <[email protected]>
- Loading branch information
1 parent
09e7f98
commit d86b2d2
Showing
11 changed files
with
468 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "framegrab" | ||
version = "0.7.0" | ||
version = "0.8.0" | ||
description = "Easily grab frames from cameras or streams" | ||
authors = ["Groundlight <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -9,19 +9,30 @@ homepage = "https://www.groundlight.ai/" | |
repository = "https://github.com/groundlight/framegrab" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
python = "^3.9" | ||
opencv-python = "^4.4.0.46" | ||
pyyaml = "^6.0.1" | ||
pyyaml = "^6.0.2" | ||
imgcat = "^0.5.0" | ||
click = "^8.1.6" | ||
ascii-magic = "^2.3.0" | ||
wsdiscovery = "^2.0.0" | ||
onvif-zeep = "^0.2.12" | ||
pydantic = "^2.5.3" | ||
pydantic = "^2.9.2" | ||
pypylon = { version = ">=3.0.0", optional = true } | ||
pyrealsense2 = { version = "^2.55.1.6486", optional = true } | ||
picamera2 = { version = ">=0.3.21", optional = true } | ||
streamlink = { version = "^7.0.0", optional = true } | ||
|
||
[tool.poetry.extras] | ||
basler = ["pypylon"] | ||
realsense = ["pyrealsense2"] | ||
raspberrypi = ["picamera2"] | ||
youtube = ["streamlink"] | ||
all = ["pypylon", "pyrealsense2", "picamera2", "streamlink"] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "^23.3.0" | ||
pytest = "^7.0.1" | ||
black = "^24.10.0" | ||
pytest = "^8.3.3" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
image_sources: | ||
- name: Front Door | ||
input_type: generic_usb | ||
options: | ||
options: | ||
zoom: | ||
digital: 1.5 | ||
- name: Conference Room | ||
input_type: rtsp | ||
id: | ||
id: | ||
rtsp_url: rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=0 | ||
options: | ||
crop: | ||
|
@@ -17,8 +17,12 @@ image_sources: | |
right: .9 | ||
- name: Workshop | ||
input_type: basler | ||
id: | ||
id: | ||
serial_number: 12345678 | ||
options: | ||
basler: | ||
ExposureTime: 60000 | ||
- name: NamibiaCam Live stream at the Okaukuejo waterhole in Etosha National Park | ||
input_type: youtube_live | ||
id: | ||
youtube_url: https://www.youtube.com/watch?v=DAmFZj1y_a0 |
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.