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.

How to run

Synchronize your videos by setting the path to your freemocap data folder, your sessionID, and the file types of your videos into main.py, then run the file. The sessionID should be the name of a subfolder of your freemocap data folder, and should contain a subfolder called RawVideos containing the videos that need synching.

Main

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

Installation

When this package reaches a point of semi-stable development, it will be pip installable. For now, clone this repository and pip install the requirements.txt file.

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
  3. Videos must have overlapping audio from the same real world event
  4. Videos must be in a folder titled "RawVideos", with no other videos in the folder

Expected File Structure

To function correctly, Skelly Synchronize expects the following folder structure:

freemocap_data_folder:
    sessionID:
        RawVideos:
            Cam0.mp4
            Cam1.mp4
            ...
    ...

The camera names can be changed, and the file format may changed as well, although freemocap currently only uses .mp4.

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.2.1004.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

skelly_synchronize-2023.2.1004-py3-none-any.whl (22.4 kB view hashes)

Uploaded Python 3

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