sciveo 0.1.77__tar.gz → 0.1.79__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sciveo-0.1.77 → sciveo-0.1.79}/PKG-INFO +1 -1
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/cli.py +4 -2
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/gst_server.py +7 -6
- sciveo-0.1.79/sciveo/version.py +2 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo.egg-info/PKG-INFO +1 -1
- sciveo-0.1.77/sciveo/version.py +0 -2
- {sciveo-0.1.77 → sciveo-0.1.79}/README.md +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/api/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/api/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/api/predictors.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/api/server.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/api/upload.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/common/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/common/configuration.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/common/model.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/common/optimizers.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/common/sampling.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/content/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/content/dataset.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/content/experiment.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/content/project.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/content/runner.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/db/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/db/read_table.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/cam.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/draw.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/asteroid.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/base_move.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/circle.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/game.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/geometrics.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/gravity_ball.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/laser.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/rocket.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/space_asteroids.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/games/asteroids/volume_bar.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/motion_detection.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/nvr.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/readers.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/capture/rtsp.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/encoders/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/encoders/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/encoders/normalizer.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/nlp/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/nlp/search.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/time_series/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/time_series/dataset.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/time_series/predictor.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/time_series/trainer.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/ml/time_series/window_generator.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/job_daemon.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/layouts/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/layouts/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/pipeline.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/postprocessors/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/postprocessors/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/postprocessors/default.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/audio/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/audio/audio.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/audio/audio_extractor_process.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/aws.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/file/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/file/archive.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/album.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/album_in_image.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/depth_esimation.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/embeddings.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/filters.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/generators.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/histogram.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/mask.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/object_detection.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/resize.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/segmentation.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/image/watermark.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/media_info.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/nlp/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/nlp/address.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/qr.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/dataset.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/time_series/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/time_series/predictor.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/time_series/trainer.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/tpu_base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/video/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/video/generators.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/video/motion_detection.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/video/resize.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/video/video_album.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/video/video_frames.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/video/video_resample.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/queues.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/server.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/web/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/web/server.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/tools/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/tools/video_interactive.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/dataset/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/dataset/object_detection.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/evaluation/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/evaluation/markdown.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/evaluation/object_detection.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/images/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/images/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/images/description.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/images/embeddings.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/images/object_detection.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/images/tools.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/images/transformers.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/nlp/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/nlp/embeddings.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/nlp/tokenizers/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/nlp/tokenizers/bpe.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/video/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/ml/video/description.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/monitor.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/power/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/power/ems300.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/power/sim.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/power/tools.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/start.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/watchdog/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/watchdog/base.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/monitoring/watchdog/process.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/network/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/network/camera.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/network/sniffer.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/network/tools.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/array.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/aws/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/aws/priority_queue.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/aws/s3.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/common.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/complexity.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/compress.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/configuration.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/crypto.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/daemon.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/draw/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/draw/contours.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/formating.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/hardware.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/http.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/logger.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/os.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/queue.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/random.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/remote.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/simple_counter.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/synchronized.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/timers.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/tools/totp.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/web/__init__.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo/web/common.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo.egg-info/SOURCES.txt +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo.egg-info/dependency_links.txt +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo.egg-info/entry_points.txt +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo.egg-info/requires.txt +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/sciveo.egg-info/top_level.txt +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/setup.cfg +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/setup.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_complexity.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_compress.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_configuration.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_crypto.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_eval_markdown.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_ml_datasets.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_monitoring.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_runner.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_sampling.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_tokenizers.py +0 -0
- {sciveo-0.1.77 → sciveo-0.1.79}/test/test_totp.py +0 -0
|
@@ -60,6 +60,7 @@ def main():
|
|
|
60
60
|
parser.add_argument('--execute', type=str, default=None, help='Execute command')
|
|
61
61
|
parser.add_argument('--pid', type=int, default=None, help='Process PID')
|
|
62
62
|
parser.add_argument('--serial', type=str, default=None, help='Serial Name')
|
|
63
|
+
parser.add_argument('--data-json', type=str, default="{}", help='Json Data')
|
|
63
64
|
|
|
64
65
|
args = parser.parse_args()
|
|
65
66
|
|
|
@@ -113,14 +114,15 @@ def main():
|
|
|
113
114
|
player.run()
|
|
114
115
|
else:
|
|
115
116
|
from sciveo.media.capture.gst_server import CamFactory, ColorBarFactory
|
|
117
|
+
data = json.loads(args.data_json)
|
|
116
118
|
if args.src_id is not None:
|
|
117
|
-
server = CamFactory(args.src_id, args.width, args.height, args.fps)
|
|
119
|
+
server = CamFactory(args.src_id, args.width, args.height, args.fps, list_draw=data)
|
|
118
120
|
elif args.src is not None:
|
|
119
121
|
if "color" in args.src:
|
|
120
122
|
server = ColorBarFactory(args.width, args.height, args.fps)
|
|
121
123
|
else:
|
|
122
124
|
# warning("RTSP src", args.src, "not recognised")
|
|
123
|
-
server = CamFactory(args.src, args.width, args.height, args.fps)
|
|
125
|
+
server = CamFactory(args.src, args.width, args.height, args.fps, list_draw=data)
|
|
124
126
|
server.serve(host=args.host, port=args.port, stream=args.stream)
|
|
125
127
|
elif args.command == 'media-server':
|
|
126
128
|
from sciveo.media.pipelines.server import __START_SCIVEO_MEDIA_SERVER__
|
|
@@ -23,16 +23,17 @@ from sciveo.media.capture.cam import CameraDaemon
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
class RTSPFactoryBase(GstRtspServer.RTSPMediaFactory):
|
|
26
|
-
def __init__(self, width, height, fps):
|
|
26
|
+
def __init__(self, width, height, fps, appsrc_name="rtspvideo"):
|
|
27
27
|
super().__init__()
|
|
28
28
|
self.width = width
|
|
29
29
|
self.height = height
|
|
30
30
|
self.fps = fps
|
|
31
|
+
self.appsrc_name = appsrc_name
|
|
31
32
|
self.set_shared(True)
|
|
32
33
|
|
|
33
34
|
def do_create_element(self, url):
|
|
34
35
|
pipeline_str = (
|
|
35
|
-
f"appsrc name=
|
|
36
|
+
f"appsrc name={self.appsrc_name} is-live=true block=true format=time "
|
|
36
37
|
f"caps=video/x-raw,format=BGR,width={self.width},height={self.height},framerate={self.fps}/1 "
|
|
37
38
|
"! videoconvert "
|
|
38
39
|
"! x264enc tune=zerolatency speed-preset=ultrafast "
|
|
@@ -41,7 +42,7 @@ class RTSPFactoryBase(GstRtspServer.RTSPMediaFactory):
|
|
|
41
42
|
return Gst.parse_launch(pipeline_str)
|
|
42
43
|
|
|
43
44
|
def do_configure(self, rtsp_media):
|
|
44
|
-
self.appsrc = rtsp_media.get_element().get_child_by_name(
|
|
45
|
+
self.appsrc = rtsp_media.get_element().get_child_by_name(self.appsrc_name)
|
|
45
46
|
self.appsrc.connect("need-data", self.on_need_data)
|
|
46
47
|
self.timestamp = 0
|
|
47
48
|
|
|
@@ -108,8 +109,8 @@ class ColorBarsGenerator:
|
|
|
108
109
|
|
|
109
110
|
|
|
110
111
|
class ColorBarFactory(RTSPFactoryBase):
|
|
111
|
-
def __init__(self, width, height, fps):
|
|
112
|
-
super().__init__(width, height, fps)
|
|
112
|
+
def __init__(self, width, height, fps, appsrc_name="colorbar"):
|
|
113
|
+
super().__init__(width, height, fps, appsrc_name=appsrc_name)
|
|
113
114
|
self.gen = ColorBarsGenerator(width=width, height=height)
|
|
114
115
|
|
|
115
116
|
def next_frame(self):
|
|
@@ -118,7 +119,7 @@ class ColorBarFactory(RTSPFactoryBase):
|
|
|
118
119
|
|
|
119
120
|
class CamFactory(ColorBarFactory):
|
|
120
121
|
def __init__(self, cam_id, width, height, fps, list_draw={}):
|
|
121
|
-
super().__init__(width, height, fps)
|
|
122
|
+
super().__init__(width, height, fps, appsrc_name=f"cam{cam_id}")
|
|
122
123
|
self.cam = CameraDaemon(cam_id=cam_id)
|
|
123
124
|
self.cam.start()
|
|
124
125
|
self.list_draw = list_draw
|
sciveo-0.1.77/sciveo/version.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/audio/audio_extractor_process.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/time_series/__init__.py
RENAMED
|
File without changes
|
{sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/time_series/predictor.py
RENAMED
|
File without changes
|
{sciveo-0.1.77 → sciveo-0.1.79}/sciveo/media/pipelines/processors/sci/time_series/trainer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|