Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 2.52 KB

File metadata and controls

73 lines (42 loc) · 2.52 KB

Video Player User Manual

Introduction

The Video Player is a Python application that allows you to play local MP4 files. It provides a simple and intuitive user interface for loading and playing videos.

Installation

To use the Video Player, you need to install the required dependencies. You can do this by following these steps:

  1. Make sure you have Python installed on your system. You can download Python from the official website: https://www.python.org/downloads/

  2. Clone or download the Video Player code from the repository: https://github.com/your-repository

  3. Open a terminal or command prompt and navigate to the directory where you downloaded the code.

  4. Create a virtual environment (optional but recommended) by running the following command:

    python -m venv venv
    
  5. Activate the virtual environment by running the appropriate command for your operating system:

    • For Windows:

      venv\Scripts\activate
      
    • For macOS/Linux:

      source venv/bin/activate
      
  6. Install the required dependencies by running the following command:

    pip install -r requirements.txt
    

Usage

To use the Video Player, follow these steps:

  1. Open a terminal or command prompt and navigate to the directory where you downloaded the code.

  2. Activate the virtual environment (if you created one) by running the appropriate command as mentioned in the installation steps.

  3. Run the following command to start the Video Player application:

    python main.py
    
  4. The Video Player window will open. You will see two buttons: "Open" and "Play".

  5. Click the "Open" button to select an MP4 file from your local system. Only MP4 files are supported.

  6. Once you select a file, a success message will be displayed, indicating that the video has been loaded successfully.

  7. Click the "Play" button to start playing the loaded video. The video will be displayed in a separate window.

  8. While the video is playing, you can use the following controls:

    • Press the "q" key to stop playing the video and close the video window.
  9. To play another video, click the "Open" button again and repeat the process.

Conclusion

The Video Player is a simple and easy-to-use Python application for playing local MP4 files. It provides a convenient user interface and basic playback controls. Enjoy watching your videos with the Video Player!