Giter Club home page Giter Club logo

davinci-precutter's Introduction

Davinci Precutter

The problem

Given multiple sources (screen recording and cam recording) with both having audio (important!) the audio will often be out of sync. Syncing videos per audio or syncing 2 videos at all isn't the big problem to solve here but it's part of the solution.

The problem however is cutting those sources in a way that will remove the silent parts as this is cumbersome, time-consuming work.

The idea

  1. Sync the sources by detecting the syncing point (can be done pretty will by running syncstart -s videoA.mkv videoB.mkv which will return the offset. It will return something like {'videoB.mkv', 1.942120}
  2. Cut the offset via ffmpeg -ss 1.942120 -i videoB.mkv -vcodec copy -acodec copy fixed_videoB.mkv
  3. Use auto-editor fileName.mkv --margin 0.2sec --export premiere to create an XML file with the cuts to be imported in DaVinci. Then, if feasible, use the exact same file and replace the filename and clip name occurences to meet with the other file
  4. Now both files should be well-cut in davinci/premiere whatever and can still be changed. They should align
  5. If they don't, we can also sync them from the end and make a cut off at the end. This will ensure they can be in exact sync
  6. The final tool should not only combine these things and make them easily accessible (e.g. CLI) but also allow to add additional manual offset in case there was an audio/video delay (it probably just makes sense to substract/add it to -ss)

Tools

syncstart

https://github.com/rpuntaie/syncstart

auto-editor

https://github.com/WyattBlue/auto-editor/

Drain

https://github.com/JorenSix/SyncSink

davinci-precutter's People

Contributors

activenode avatar

Watchers

 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.