{"id":27627088,"url":"https://github.com/embd-io/kvs-bridge","last_synced_at":"2026-04-26T22:31:31.058Z","repository":{"id":286762239,"uuid":"962326894","full_name":"embd-io/kvs-bridge","owner":"embd-io","description":"MJPEG frames to AWS KVS","archived":false,"fork":false,"pushed_at":"2025-05-26T04:21:56.000Z","size":789,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-26T05:43:23.801Z","etag":null,"topics":["aws-kvs","camera","esp32","esp32-s3","iot"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/embd-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-08T01:54:16.000Z","updated_at":"2025-04-16T16:11:43.000Z","dependencies_parsed_at":"2025-04-23T13:57:11.266Z","dependency_job_id":"94d1977f-14d0-4be6-a1b3-19e074285986","html_url":"https://github.com/embd-io/kvs-bridge","commit_stats":null,"previous_names":["embd-io/kvs-bridge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/embd-io/kvs-bridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embd-io%2Fkvs-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embd-io%2Fkvs-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embd-io%2Fkvs-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embd-io%2Fkvs-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/embd-io","download_url":"https://codeload.github.com/embd-io/kvs-bridge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embd-io%2Fkvs-bridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32315711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T21:09:39.134Z","status":"ssl_error","status_checked_at":"2026-04-26T21:09:21.240Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-kvs","camera","esp32","esp32-s3","iot"],"created_at":"2025-04-23T13:52:43.570Z","updated_at":"2026-04-26T22:31:31.041Z","avatar_url":"https://github.com/embd-io.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MJPEG to KVS stream\n\n## Reference\n\n- https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-gstreamer-plugin.html\n- https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp.git\n![alt text](doc/gst-pipeline.png)\n\n## MP4 source example\n\n- https://www.pexels.com/download/video/2886841/\n\n## Procedure\n\n1. Convert video into 640x480 MJPEG frames\n\n```\n./static-mjpeg.sh \u003cpath/to/video/file\u003e.mp4\n```\n2. Install dependencies and build `kvssink` Gstreamer plugin\n\n```\n./build-gst-plugin.sh\n```\n3. Export path to plugin built and credentials\n\n```\n. ./export.sh\n```\n\n4. Run kvs-bridge\n\n4.1. standalone kvs-bridge.py example\n\n```\npython3 kvs-bridge.py\n```\n\n4.2. server-client kvs-bridge example\n\n```\n# first start the server\n\npython3 kvs-bridge-server-appsrc.py\n```\n\n```\n# then start the client\n\npython3 kvs-bridge-client.py\n```\n\n4.3. ESP32 based static jpeg producer\n\n```\n# first start the kvs bridge server\n\npython3 kvs-bridge-server-appsrc.py\n```\n\n```\n# then configure, build and flash ESP32 firmware\n# ref. esp32/tcp_client/README.md \n\nidf.py -p \u003cport\u003e build flash monitor\n```\n\n4.4. ESP32 UVC live MJPEG camera frames\n\n```\n# first start the kvs bridge server\n\npython3 kvs-bridge-server-appsrc.py\n```\n\n```\n# then configure, build and flash ESP32 firmware\n# ref. esp32/uvc/README.md \n\nidf.py -p \u003cport\u003e build flash monitor\n```\n\n5. Run kvs consumer sample\n\n5.1. Purpose\n\nThis is useful for debugging and postprocessing purposes\n\n5.2. Setup\n\n```\ngit submodule add https://github.com/aws-samples/amazon-kinesis-video-streams-consumer-library-for-python.git\ncd amazon-kinesis-video-streams-consumer-library-for-python\npip install virtualenv\npython -m virtualenv venv\nvenv/bin/python -m pip install requirements.txt\n```\n\n5.3. Modify sample\n\nE.g., update `on_fragment_arrived` callback to enable saving of mkv video contents into jpeg\n\n5.4. Run consumer sample\n\n```\nvenv/bin/python kvs_consumer_library_example.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembd-io%2Fkvs-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembd-io%2Fkvs-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembd-io%2Fkvs-bridge/lists"}