This is a webcam application designed as a side project to record videos and capture images using a simple and modular approach. The goal was to experiment with React.js and create a user-friendly interface.
- Live Video Stream: Real-time display of the webcam feed.
- Video Recording: Record webcam videos in
.webm
format. - Image Capture: Take snapshots from the live video feed.
- CamVideo.jsx: Displays the live webcam feed.
- InfoOverlay.jsx: Displays overlay information on the video.
- LightControl.jsx: Controls lighting settings.
- MediaLibrary.jsx: Manages media files (images and videos).
- MovementControl.jsx: Controls motion settings.
- Settings.jsx: Provides options for personalization.
- CSS files for styling each component (e.g.,
CamVideo.css
,LightControl.css
, etc.).
- Pin.jsx: Implements the PIN system for basic access control.
- Pin.css: Styles for the PIN system.
- Sample media files for testing (e.g.,
image1.png
,video.mp4
).
- App.jsx: Entry point for the application.
- index.css: Global styling.
- main.jsx: Main file to render the app.
- Node.js (v14 or higher)
- Yarn or npm (Node Package Manager)
- Clone the repository:
git clone https://github.com/ubejdullah/webcam-recorder.git
- Navigate to the project directory:
cd webcam-website
- Install dependencies:
yarn install # or npm install
- Start the development server:
yarn dev # or npm run dev
- Open your browser and go to:
http://localhost:3000
- Launch the application and allow camera access when prompted.
- Use the control panel to:
- Record videos or take snapshots.
- This project is a simple side project for learning and experimenting with React.js.
- Component-based structure ensures modularity and reusability.
Ubejdullah Gashi
ubejdullah-gashi.ch