Skip to main content

Basic template of a python repository

Project description

Skelly Synchronize

This package synchronizes a set of videos of the same event by cross-correlating their audio files. The videos will be synchronized so that they all start at the earliest shared time, and end at the latest shared time.

Install and Run

Skelly_synchronize can be installed through pip by running pip install skelly_synchronize in your terminal. Once it has installed, it can be run with the command python -m skelly_synchronize. While running, the GUI window may appear frozen, but the terminal should show the progress. Large videos may take a significant amount of time.

Skelly_synchronize currently depends on FFmpeg, a command line tool that handles the video files. If you do not have FFmpeg downloaded, you will need to install it separately. You can download FFmpeg here: https://ffmpeg.org/download.html

Skelly_synchronize_gui_window

Video Requirements

The following requirements must be met for the script to function:

  1. Videos must have audio
  2. Videos must be in the same file format (default is ".mp4")
  3. Videos must have the exact same framerate (frames per second). There are often slight differences between brands/models of camera that lead to one camera's "60 fps" being different from another's. If your frame rates do not match, an error will be thrown.
  4. All videos in folder must have overlapping audio from the same real world event

How to run from source

First clone this repository and pip install the requirements.txt file.

Synchronize your videos by setting the path to your folder of raw videos and the file types of your videos into skelly_synchronize.py, lines 343-344, then run the file.

skelly_synchronize_main_function

The terminal output while running should look like this:

TerminalOutput

A SyncedVideos folder will be created in the session folder and filled with the synchronized video files. The session folder will also have an AudioFiles folder containing audio files of the raw videos, which are used in processing.

FileStructureAfterRunning

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skelly_synchronize-2023.4.1007.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

skelly_synchronize-2023.4.1007-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file skelly_synchronize-2023.4.1007.tar.gz.

File metadata

File hashes

Hashes for skelly_synchronize-2023.4.1007.tar.gz
Algorithm Hash digest
SHA256 676d22f695de11fcd720e77e1504fd820b6dbd8a1bf72484271ae618880ec608
MD5 8a6eb8a5adb861b6b4706ca586de424f
BLAKE2b-256 5e276375aaa9c0d2bfc7d83d8f77b7f8b3f19057ba1dcb575aea2e1e6fe89788

See more details on using hashes here.

File details

Details for the file skelly_synchronize-2023.4.1007-py3-none-any.whl.

File metadata

File hashes

Hashes for skelly_synchronize-2023.4.1007-py3-none-any.whl
Algorithm Hash digest
SHA256 b9300e3ab68ef8b29aab2a5b92d9a9766ddb3e3c24422936b3ff51f869dd6962
MD5 5a096d79f3551964c4180194fea21852
BLAKE2b-256 86cb9737def467f9c8e12d5a224ceda92b79870074d3f4d3fcc81458ccfc2e09

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page