Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vdechenaux/phpwebcammjpeg
Create a Mjpeg stream of a webcam using PHP
https://github.com/vdechenaux/phpwebcammjpeg
ffi mjpeg mjpeg-stream opencv php webcam webcam-streaming
Last synced: 9 days ago
JSON representation
Create a Mjpeg stream of a webcam using PHP
- Host: GitHub
- URL: https://github.com/vdechenaux/phpwebcammjpeg
- Owner: vdechenaux
- License: mit
- Created: 2019-10-27T21:41:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-06T18:50:42.000Z (about 5 years ago)
- Last Synced: 2024-01-14T13:43:52.341Z (10 months ago)
- Topics: ffi, mjpeg, mjpeg-stream, opencv, php, webcam, webcam-streaming
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Php Webcam Mjpeg
Create a Mjpeg stream of a webcam using PHP
## Introduction
This project is a demo of the library [vdechenaux/webcam](https://github.com/vdechenaux/PhpWebcam)
## Usage
### Local PHP 7.4
```
composer install
php -d ffi.enable=1 -S localhost:8000 -t public
```### With Docker
```
docker build -t phpwebcam docker
docker run --rm -p 8000:80 -v "$PWD:/src" --device=/dev/video0 -it phpwebcam
```### Use it !
http://localhost:8000/