video-stream-new.mp4
This project is a lightweight video streaming platform built with Flask. It allows users to upload and stream videos efficiently using HTTP Live Streaming (HLS) and HTTP range requests for smooth playback.
-
Efficient Video Streaming
- Implements HLS to parse and serve video in small segments, ensuring adaptive streaming.
- Utilizes HTTP range requests to deliver video chunks dynamically for seamless playback.
-
Video Upload
- Allows users to upload video files directly from the platform.
-
Responsive Playback
- Ensures smooth streaming on various devices and networks by breaking videos into manageable segments.
Follow these steps to set up and run the platform locally. (Soon to be deployed on a live server!)
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodesgit clone https://github.com/tushar1977/Video-Streaming-Plateform
cd Video-Streaming-Plateform
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export FLASK_APP=myserver
python3 run.py