FFMPEG-based tool for converting either two separate stereo videos or an existing 3D video into a wide range of 3D video formats.
Project description
3D Video Converter
A simple FFMPEG-based script for converting either two separate stereo videos or an existing 3D video into a wide range of 3D video formats.
Installation
Install 3d-video-converter
From PyPI:
pip install 3d-video-converter
Or from the source on GitHub:
pip install "3d-video-converter @ git+https://github.com/evoth/3d-video-converter"
The package will be installed with the module name video_converter_3d
.
Install FFmpeg
This package depends on ffmpeg-python, which means that FFmpeg must be installed and accessible via the $PATH
environment variable. Please follow appropriate installation instructions for your platform.
To check if FFmpeg is installed, run the ffmpeg
command from the terminal. If it is installed correctly, you should see version and build information.
Usage examples
Convert a full-width parallel view video to full color red/cyan anaglyph:
from video_converter_3d import convert_3d
convert_3d("video_parallel.mp4", "sbsl", "video_anaglyph.mp4", "arcc")
Combine two separate stereo videos into a full-width parallel view video, only keeping audio from the left video:
from video_converter_3d import convert_2d_to_3d
convert_2d_to_3d(
"video_left.mp4",
"video_right.mp4",
True,
False,
"video_parallel.mp4",
"sbsl"
)
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 3d-video-converter-0.0.2.tar.gz
.
File metadata
- Download URL: 3d-video-converter-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257c35a07f086163d0a141a3ffb40569502c91c295f53281a0f36273dbb17cd0 |
|
MD5 | 3319d80b97f43d56d050cc6e9ebb8c8d |
|
BLAKE2b-256 | 0bbb0338a1d9cd50d47cdaab53a6b6ff380cb0460738c753e6763b47fcb3afc8 |
File details
Details for the file 3d_video_converter-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: 3d_video_converter-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7866e01df17b780379c861ae0304354aa9004c425eda6a07d7ab3716b6d3e438 |
|
MD5 | 537c1877f0dd0c2383994a95fb06fef3 |
|
BLAKE2b-256 | dfac67b600c2485f28e7c8c166f5b41154ee7bbc2220a7dc928c7cd5a5ca3e98 |