{"id":15562392,"url":"https://github.com/longsleep/webcam-test-source","last_synced_at":"2025-03-29T04:48:15.656Z","repository":{"id":73624306,"uuid":"142138628","full_name":"longsleep/webcam-test-source","owner":"longsleep","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-24T09:49:06.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T14:46:40.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/longsleep.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}},"created_at":"2018-07-24T09:48:42.000Z","updated_at":"2018-07-24T09:49:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e604d77-a3ff-4814-9547-9a28c07c50b6","html_url":"https://github.com/longsleep/webcam-test-source","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"d0b8e4571333ee8be176aefe61c441dece676dc9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longsleep%2Fwebcam-test-source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longsleep%2Fwebcam-test-source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longsleep%2Fwebcam-test-source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longsleep%2Fwebcam-test-source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/longsleep","download_url":"https://codeload.github.com/longsleep/webcam-test-source/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140547,"owners_count":20729798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-02T16:14:03.230Z","updated_at":"2025-03-29T04:48:15.637Z","avatar_url":"https://github.com/longsleep.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test web cam or muliple web cams\n\nFor testing, a Linux Kernel module is required which emulates video4linux\ndevices which then can be fed with data and used line a web cam by applications.\n\n## Video4Linux emulator loopback\n\nDownload, build and install by following instructions from \nhttps://github.com/umlaeute/v4l2loopback and then start a bunch of devices\n\n```\nsudo modprobe v4l2loopback devices=2\n```\n\nExamples: https://github.com/umlaeute/v4l2loopback/wiki\n\n## GStreamer\n\nWith GStreamer it is very easy to feed data into the emulated devices.\n\n### Send video test data \n\n```\ngst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video2\n```\n\n### View data stream\n\nAlso with the help of GStreamer it is very easy to show whats going on with\na video4linux device.\n\n```\ngst-launch-1.0 v4l2src device=/dev/video2 ! xvimagesink\n```\n\n## Usage\n\nThis project contains a `./run.sh` file which can be used for simple testing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongsleep%2Fwebcam-test-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flongsleep%2Fwebcam-test-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongsleep%2Fwebcam-test-source/lists"}