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.
The terminal output while running should look like this:
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.
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:
- Videos must have audio
- Videos must be in the same file format
- Videos must have overlapping audio from the same real world event
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file skelly_synchronize-2023.2.1004.tar.gz
.
File metadata
- Download URL: skelly_synchronize-2023.2.1004.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 447c45a81029a0cc133d321147f13636f4eb01ab37cc3a33418be34be3d4487b |
|
MD5 | 1f174b9c8d987115f4888f992beb8e55 |
|
BLAKE2b-256 | b133de20a48c8388b5b194939e956a56fdce2473bfbb59667f60cedf20cb8ee8 |
File details
Details for the file skelly_synchronize-2023.2.1004-py3-none-any.whl
.
File metadata
- Download URL: skelly_synchronize-2023.2.1004-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2176d31636f9b35b7de7656db81db400105a012db7234d39a7e3b00405d6222 |
|
MD5 | 1cd74f90b0b1d7dcacc635bb58e3d1cc |
|
BLAKE2b-256 | 72fb18ce88adb6b1c43a6fa93f705e99f97932be69d0c5449972f00c6125d567 |