Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mateuszitelli/convert360

360 degree media toolkit.
https://github.com/mateuszitelli/convert360

Last synced: 16 days ago
JSON representation

360 degree media toolkit.

Awesome Lists containing this project

README

        


Convert360 🌎


360 degree media toolkit (WIP).



> GPU accelerated command line tool to convert 360 images and videos between different projections.

### Supported Convertions

- [x] Equirectangular to (connected) cube-map
- [ ] Cube-map to Equirectangular

## Setup

*Convert360* is available as a pip package and **requires FFMpeg**.

```sh
pip install convert360
```

## Usage

```
convert360 -h
usage: convert360 [-h] -i FILE -o FILE [-s WIDTH HEIGHT] [-it TYPE] [-ot TYPE]

Cube-map to equiretangular conversor.

optional arguments:
-h, --help show this help message and exit
-i FILE, --input FILE
Equiretangular video to be converted.
-o FILE, --output FILE
Output cube-map video.
-s WIDTH HEIGHT, --size WIDTH HEIGHT
Cube faces size in pixels.
-it TYPE, --input-type TYPE
Input projection type.
-ot TYPE, --output-type TYPE
Output projection type.
```

## Example

```sh
$ convert360 -i ~/Pictures/Barcelona/sagrada-familia.jpg -o example.png -s 300 300
```

```sh
$ convert360 -i ~/Pictures/Barcelona/sagrada-familia.jpg -o example.png -s 300 300 -ot connected-cubemap
```

## Licence

[GPLv3 License](https://opensource.org/licenses/GPL-3.0)