Skip to content

Latest commit

 

History

History
80 lines (38 loc) · 1.32 KB

File metadata and controls

80 lines (38 loc) · 1.32 KB

🎥 Video Interaction App

🎯 Objective

Build an interactive CLI or Streamlit tool to record, play, or view webcam video feed based on user input.


🔧 Instructions

  1. 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


🎬 If Option 1 Selected: Record a Video

User Interface:

  • Provide buttons for:

    • ▶️ Play

    • ⏸️ Pause

    • ⏺️ Record

    • ⏹️ Stop

Actions:

  • Capture video from webcam.

  • Display the recorded video immediately after recording ends.

  • Offer a Download option for the recorded video.


📽️ If Option 2 Selected: Play a Video

Steps:

  • Ask the user to:

    • Provide a file path (CLI)
      OR

    • Upload a video file (Streamlit)

  • Play the selected video with playback controls.


🧿 If Option 3 Selected: Use Webcam to See Yourself

Actions:

  • Access the webcam feed.

  • Stream live video back to the user in real time (no recording or saving).