/fabric-video-editor

A simple video editor made with nextjs, react, tailwindcss, mobx, typescript and fabric.js

Primary LanguageTypeScriptMIT LicenseMIT

The app's live link to test in the browser is: https://fabric-video-editor.vercel.app/

Do you need a custom editor? Get in touch with me at Linked In Other: Website | Twitter |

This was a hobby project. I will add support for other features in the future. Looking for backend/ffmpeg developers to help me generate video from Canvas in the backend.

Fabric Video Editor

Fabric Video Editor is a video editor that runs in the browser. It is built with fabric.js, Next.js (a React framework), Tailwindcss, Mobx, and typescript.

Samples

3. New Updated UI

Screenshot 2024-02-22 at 12 09 30 PM

2. The editor supports Animations and Effects

Github.Fabric.Video.Editor.Video.mp4

1. Basic Working

Clip.720.-.Copy.Converted.mp4

Tech Explanation

todo

Features

  • User can add
    • Text
    • Images
    • Video
    • Audio
  • User can change
    • Canvas Background Color
  • Timeline
  • Export Video with Audio
  • Animations
  • Filters

Main Issues

  1. There might be a problem with audio handling
  2. Exported video doesn't have a time duration
  3. Exported videos have flickering issue

Future Features

  1. Properties Editing panel
  2. Video Trimming

NextJs Default Guide (Updated)

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Setup

  1. Clone the repo

  2. Run the development server:

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

Debugging

  1. Run the development server:
npm run dev
  1. Then run Launch Chrome against localhost in Run and Debug tab in VSCode

Learn More

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel (Failing)

Failing because of 50MB function limit on Vercel. Node-Canvas is too big to be deployed on Vercel.

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.