Git Product home page Git Product logo

lg's Introduction

Clip Generator project

clip generator construct of following services:

1.a worker that is the main part of the project . this worker picks up jobs with status Scheduled (SCHED) and complete them.

2.a server that you could interact with that , create , remove , queue and cancel them. also its a very very versatile tool to monitor your jobs status and created clips. (i will talk about that after)

All above services are availble as docker containers so dont worry about dependencies.

How to start:

  • Excecute Unix shell script setup.sh . this will setup database, required directories and run the manage.py startworker commmand.
  • Go to http://localhost:8000 , create a job with a video url , create two pointers with values larger than 5. then change job status to Scheduled. Watch logs and Clip model records. As time goes by , clips will generated.

NOTE: To change database username and password change the values in setup.sh

glasoory:

  • job: a job is a entity that points to a video that shoudl be downloaded and trimed at some points (called pointers).
  • pointer: points on video file that triming eccures before and after them.
  • clip: a clip is a entity that involves trimed videos urls . every clip points to a job and a pointer.
  • job status: jobs have such status: UnProcessed , Scheduled , UnderProcess , Finished , Canceled and Queued.

lg's People

Contributors

vahid75 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.