Local server for video streaming and conversion based on Actix and FFmpeg
-
GET /
- return root html -
GET /chunk
- Pipe: return video chunk pipe -
GET /status
- SSE - check video existence status and start converting if needed -
PUT /source
- update videos' source folder
/status
request checks if requested video is in MP4 format or was already converted to MP4 and sends success response.
Otherwise, it starts conversion with FFmpeg in a separate process and sends SSE events to client with current conversion progress.
/chunk
selects file source and range based on request meta and sends buffer to client.
Handler and output parser - converter_service.rs