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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for skelly_synchronize-2023.2.1004.tar.gz
Algorithm Hash digest
SHA256 447c45a81029a0cc133d321147f13636f4eb01ab37cc3a33418be34be3d4487b
MD5 1f174b9c8d987115f4888f992beb8e55
BLAKE2b-256 b133de20a48c8388b5b194939e956a56fdce2473bfbb59667f60cedf20cb8ee8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skelly_synchronize-2023.2.1004-py3-none-any.whl
Algorithm Hash digest
SHA256 d2176d31636f9b35b7de7656db81db400105a012db7234d39a7e3b00405d6222
MD5 1cd74f90b0b1d7dcacc635bb58e3d1cc
BLAKE2b-256 72fb18ce88adb6b1c43a6fa93f705e99f97932be69d0c5449972f00c6125d567

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