Skip to content

michael-sutu/Video-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Generator

Video Generator is a versatile web application that automates the creation of videos by combining randomly selected backgrounds with text pulled from an API. It provides an easy-to-use platform for generating unique videos with custom text overlays, suitable for content creation, marketing, and more.

Features

  • Automated Video Creation: Combine text and backgrounds to create unique videos.
  • Custom Text Overlays: Fetch text from an API to overlay on video backgrounds.
  • Flexible File Handling: Support for multiple video and audio formats with conversion capabilities.
  • Web Interface: Simple web interface for uploading background and text data.

Getting Started

Prerequisites

  • Node.js installed on your system.
  • FFmpeg installed for video processing.

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/michael-sutu/Video-Generator.git
  2. Navigate to the project directory:
    cd Video-Generator
  3. Install the required dependencies:
    npm install

Running the Application

  1. Start the application:
    npm start
  2. Open your web browser and navigate to:
    http://localhost:1000
    
  3. Use the web interface to upload your videos and audio files or to merge them with custom text overlays.

Usage

  • Uploading Files: Use the web interface to upload background videos and optional audio files. Ensure the files adhere to the supported formats (.mp4 for videos, .mp3 for audio).
  • Generating Videos: After uploading, the system automatically fetches text from a predefined API and overlays it onto the chosen background video.
  • Downloading: Once the video is generated, you can download it directly from the web interface.

File Structure

  • uploads/: Temporary storage for uploaded video and audio files.
  • conversions/: Temporary storage for video conversions.
  • Videos/: Storage for final video outputs.
  • index.html: Frontend HTML file for the web interface.
  • script.js: Frontend JavaScript for handling UI interactions.

Technologies

  • Express.js: For setting up the server and handling HTTP requests.
  • Multer: For handling file uploads.
  • FFmpeg (fluent-ffmpeg): For video processing and conversion.
  • Node.js: Backend JavaScript runtime environment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published