Skip to content

stribny/fastapi-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streaming video with FastAPI

Read the blog post: Streaming video with FastAPI.

You will need a video in the video format that is supported by your browser. Place it in the root folder as video.mp4 or modify the video path in the source code.

To run the example, install Poetry and then execute:

poetry install && poetry shell
uvicorn main:app --reload

Then just navigate to the main page at http://127.0.0.1:8000/ and the video should be streamed.

Releases

No releases published

Packages

No packages published