Build an interactive CLI or Streamlit tool to record, play, or view webcam video feed based on user input.
-
Ask user:
“What would you like to do?”
Choose one of the following options:
-
1. Record a Video -
2. Play an Existing Video -
3. Use Webcam to See Yourself
-
-
Provide buttons for:
-
▶️ Play -
⏸️ Pause -
⏺️ Record -
⏹️ Stop
-
-
Capture video from webcam.
-
Display the recorded video immediately after recording ends.
-
Offer a Download option for the recorded video.
-
Ask the user to:
-
Provide a file path (CLI)
OR -
Upload a video file (Streamlit)
-
-
Play the selected video with playback controls.
-
Access the webcam feed.
-
Stream live video back to the user in real time (no recording or saving).