Skip to main content

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


Download files

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

Source Distribution

3d-video-converter-0.0.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

3d_video_converter-0.0.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file 3d-video-converter-0.0.4.tar.gz.

File metadata

  • Download URL: 3d-video-converter-0.0.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for 3d-video-converter-0.0.4.tar.gz
Algorithm Hash digest
SHA256 898d947933e41b6ccdc079474fa07cda65c8ec1dea0f62b10f8842e798e2625f
MD5 8c8d54ade2e1bf953ab4b755bd24361c
BLAKE2b-256 aca0673c9dc358b33f9234ab30243f242ee117d93dacf81dd90f000e6fb11002

See more details on using hashes here.

File details

Details for the file 3d_video_converter-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for 3d_video_converter-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a743e3b2353539ab7e404bf6cbf368502f76eab4e94dc90a9e7c4815be413c7c
MD5 c9085f4c75db732027d2fa7b3bc620e3
BLAKE2b-256 796ec0315d7de86ab94efaf783079656e709d002fd1cab87162dc332678f9ded

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