Skip to content

umrabdulllah/faceless-editor

Repository files navigation

React Video Editor Pro

React Video Editor Pro is a powerful, web-based video editing tool built with React and Next.js. This project allows users to create and edit videos with features like timeline editing, text overlays, and sound integration.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js (v14.0.0 or later)
  • npm (v6.0.0 or later)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/react-video-editor-pro.git
    
  2. Navigate to the project directory:

    cd react-video-editor-pro
    
  3. Install the dependencies:

    npm install
    
  4. Create a .env.local file in the root directory and add your configuration:

    NEXT_PUBLIC_PEXELS_API_KEY=your_pexels_api_key_here
    NEXT_PUBLIC_DISABLE_RENDER=false
    

    Environment Variables:

    • NEXT_PUBLIC_PEXELS_API_KEY: Your Pexels API key for accessing stock videos and images
    • NEXT_PUBLIC_DISABLE_RENDER: Set to "true" to disable video rendering functionality (optional, defaults to false)

    You can obtain a free Pexels API key by:

    1. Going to https://www.pexels.com/api/
    2. Signing up for a Pexels account
    3. Copying your API key from the dashboard
  5. Start the development server:

    npm run dev
    
  6. Open http://localhost:3000 with your browser to see the result.

Project Structure

The project is organized with version-specific components and pages:

  • /versions: Contains markdown files for each version's changelog.
  • /app/versions: Contains version-specific pages.
  • /components/editor: Contains version-specific editor components.

Version Files and Folders

Each version of the React Video Editor is contained in its own folder under /components/editor. For example, version 1.0.0 is located at /components/editor/version-1.0.0/ReactVideoEditor.tsx.

To create a new version:

  1. Create a new folder under /components/editor with the version number.
  2. Copy the latest version's ReactVideoEditor.tsx file into the new folder.
  3. Make your changes and improvements to the new version.
  4. Create a new page for the version under /app/versions.
  5. Add a new markdown file in the /versions folder with the changelog for the new version.

Video Rendering

This project uses Remotion for video rendering on AWS Lambda, providing a scalable and efficient solution for processing video edits.

Remotion Setup

To enable video rendering capabilities:

  1. Follow the Remotion Lambda Setup Guide to configure your AWS environment
  2. Set up your AWS credentials and Lambda function
  3. Deploy your Remotion site to AWS S3

For a detailed walkthrough of integrating Remotion with Next.js, check out this comprehensive guide.

Common Issues

Video rendering can be tricky to get right initially. Some common pitfalls to watch out for:

  • Lambda Memory Issues: The most common problem is insufficient memory allocation. Start with at least 2048MB and adjust based on your video processing needs.
  • Timeout Errors: Complex renders may require increased Lambda timeout settings.
  • Asset Loading: Ensure all assets (fonts, images, etc.) are properly uploaded and accessible to Lambda.

Refer to the Remotion documentation for detailed troubleshooting guidance and best practices.

Usage

The main page of the application displays a version changelog. Users can navigate to specific versions of the editor by clicking on the corresponding version link.

License

This project is licensed under the React Video Editor Pro (RVE) License. For detailed terms and conditions, please visit our License Page.

Licensing Requirements

React Video Editor Pro utilizes Remotion for video rendering capabilities. Please note:

  1. For commercial use, you must obtain:

    • A React Video Editor Pro license
    • A separate Remotion license
  2. The React Video Editor Pro license does not include Remotion licensing rights. For Remotion licensing information, please refer to their official license terms.

Ensure compliance with both licenses before deploying to production.

Acknowledgments

About

Faceless Channels YouTube Editing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages