Git Product home page Git Product logo

video-converter's Introduction

Video Conversion to Web Format Project

Python Flask MoviePy Amazon S3

Video Converter Demo

Description

This project is a web application that allows the conversion of video files from a specific format (incompatible with web standards) to a format compatible with modern browsers. The application enables users to upload a video, perform the conversion, and watch the converted video directly in the browser. The application uses Python and Flask for the backend, Amazon S3 for file storage, and MoviePy for video conversion.

Features

  • Video Upload: Web interface for video file uploads.
  • Video Conversion: Converts videos to a browser-compatible format (e.g., from AVI to MP4).
  • S3 Storage: Videos are stored in Amazon S3 before and after conversion.
  • Video Playback: Users can watch the converted video directly in the browser.

Technologies Used

  • Python 3
  • Flask: Web framework used to create the application.
  • MoviePy: Library for video conversion.
  • Amazon S3: Cloud file storage.
  • Python-dotenv: To securely manage environment variables.

Prerequisites

Before you begin, make sure you have the following tools installed:

  • Python 3.8+
  • pip (Python package manager)
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repository.git
    cd your-repository
  2. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # For Linux/MacOS
    venv\Scripts\activate   # For Windows
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Configure environment variables by creating a .env file in the root of the project:

    AWS_ACCESS_KEY_ID=your-access-key-id
    AWS_SECRET_ACCESS_KEY=your-secret-access-key
    S3_BUCKET_NAME=your-bucket-name
    S3_REGION=your-region
    

Usage

  1. Run the application locally:

    python app.py
  2. Access the application in the browser:

    http://127.0.0.1:5000
    

video-converter's People

Contributors

igorth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.