Skip to content

brianlevis/video-synchronization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 194-26 Final Project

Video Synchronization

Overview

This was made as the final project for my Computational Photography class, and development is ongoing.

My goal was to modify the frames of a video such that they appeared somehow synchronized or reacting to a song or other audio. Applications include syncing dance-heavy music videos to different songs, or making it look like a person or animal is dancing to a beat.

Peak matching audio strength with optical flow magnitude yielded cool results, but I have started to implement everything from Abe Davis's Visual Rhythm Project, which matches audio onset envelopes with video impact envelopes, taking tempo into account.

See a demo here.

Directory Structure

### Code Files
main.py             # Select file names and methods
peak.py             # Simple peak detection functions
media
---- media.py       # Interfaces and content processing code
sychronize/
---- rhythm.py      # Identify potential matching points
---- synch.py       # Merge media

### Required Media Folders
input_files/
---- audio/
---- video/
output_files/

About

Synchronize video frames to music

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages