GithubHelp home page GithubHelp logo

video-extract's Introduction

Video Extraction Tool

Prerequisites

  • ffmpeg
  • node v16.17.0
  • yarn v3.2.3
  • npm >= 8.15

Setup

Create .env

DATABASE_URL=file:./database.db
API_PORT=5000
NEXT_PUBLIC_API_URL="http://localhost:5000"
$ yarn # install dependencies
$ yarn db:gen # generate prisma client
$ npx prisma db push # make sure db has the correct schema
$ yarn db:seed # optional: seed database
$ yarn dev # run all components in parallel

Development

Typesafety

You can run the check-types.sh script in the root directory (./scripts/check-types.sh) to check for typescript errors.

Overview

There are 3 components to this software:

  • Web Application
  • API
  • Downloader

The web application is a NextJS app with a tPRC backend.

The API is only there to serve the downloaded mp4 video and clip files.

The Downloader downloads the youtube videos and cuts the clips from those video files.

Features

Bigger Features

  • S3 Buckets for video storage
  • Queue System for downloading videos and clips (f.e. redis and bull)
  • Advanced Video Management (folders, tags, title search)
  • Download youtube videos in browser (with cors.sh / cors-anywhere proxy and ytdl-browser)
  • Download all videos in playlist

Smaller Features

  • Save thumbnails and show as video poster
  • Failed youtube clip download management
  • Clip modal, instead of opening mp4 in new tab
  • UI / UX Improvements (modals for alerts and prompts)
  • Bulk Import (text field with comma or line separated urls)

video-extract's People

Contributors

daniellionel01 avatar johnclever avatar kurz-net avatar raphaeltorsu 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.