Coder Social home page Coder Social logo

jhpark16 / video-audio-sync-for-ffmpeg Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 55.96 MB

For high quality audio, sound is separately recorded with an audio recorder when video is recorded. So, it is necessary to synchronize the video with the audio. This application reads multiple MTS (common camcorder recording format) and a MP3 file using FFMPEG library and and present them as wave forms for easier alignment. Using left and right arrow keys with the combination of Ctrl and Shift keys, users can zoom in and out and shift the audio relative to the video.

C++ 40.13% C 55.43% HTML 3.75% JavaScript 0.61% Makefile 0.01% CSS 0.01% Objective-C 0.06%

video-audio-sync-for-ffmpeg's Introduction

Video Audio Sync for FFMPEG

For high audio quality, sound is separately recorded with an audio recorder when video is taken. So, it is necessary to synchronize the video with the audio. This application reads multiple MTS (common camcorder recording format) and a MP3 file using FFMPEG library and and present them as wave forms for easier alignment. The audio is played with SDL2 library. Using left and right arrow keys with the combination of Ctrl and Shift keys, users can zoom in and out and shift the audio relative to the video.

A short instruction

  1. Click Open and select multiple files using Ctrl and Shift keys: GroupX.mp3, GroupX_0.MTS, GroupX_1.MTS, .....
  2. Change the starting position using the Left or Right key
  3. Shift->Left or Right changes the zoom level
  4. Ctrl-Left or Right shifts the Audio relative to the Video
  5. You can enable or disable the audio playback with the Video and Audio checkboxes
  6. Click Save to save SyncX.bat on the directory with the current Start position
  7. Run Sync1.bat to run a ffmpeg command. The command combines multiple MTS file and a mp3 file and produces a combined synchronized MTS file.

Video_Audio_Waveform

video-audio-sync-for-ffmpeg's People

Contributors

jhpark16 avatar

Stargazers

Leger Charlie avatar  avatar  avatar Hbtech avatar  avatar

Watchers

James Cloos avatar

Forkers

changwng

video-audio-sync-for-ffmpeg's Issues

[SUGGESTION] License & others

Hi there, 1st of all thanks for this awesome work !

Since we've 'doxed' it in our HyMPS project (under AUDIO section \ Treatments page \ Alignmentsynch), can you please add a GH-compliant license file for it ?

As you know, expliciting licensing terms is extremely important to let anyone better/faster understand how to reuse/adapt/modify sources (and not only) in other open projects and vice-versa.

Although it may sounds like a minor aspect, license file omission obviously causes an inconsistent generation of the relative badge too:


(badge-generator URL: https://badgen.net/github/license/jhpark16/Video-Audio-Sync-for-FFMPEG)

You can easily set a standardized one through the GH's license wizard tool.

We also suggest you to keep in consideration both AudioAlign by @protyposis - even if it'sunfortunally adbandoned/not updated - and Audalign by @benfmiller, that are the most interesting projects on the scene.

Last but not least, let us know how - in your opinion - we could improve our categorizations and links to resources in order to favor collaboration between developers (and therefore evolution) of listed projects.

Last but not least, let us know how we could improve - in your opinion - our categorizations and links to resources in order to favor collaboration between developers (and therefore evolution) of listed projects.

Hope that helps/inspires !

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.