https://github.com/jan-janssen/pymov2gif
Convert *.mov files from Mac OS X screen recordings to *.gif files for uploading on Github.
https://github.com/jan-janssen/pymov2gif
converter gif mybinder
Last synced: 6 months ago
JSON representation
Convert *.mov files from Mac OS X screen recordings to *.gif files for uploading on Github.
- Host: GitHub
- URL: https://github.com/jan-janssen/pymov2gif
- Owner: jan-janssen
- License: bsd-3-clause
- Created: 2020-03-30T11:50:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T19:49:59.000Z (about 1 year ago)
- Last Synced: 2025-03-08T15:47:47.886Z (7 months ago)
- Topics: converter, gif, mybinder
- Language: Python
- Homepage: https://jan-janssen.github.io/pymov2gif/
- Size: 328 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pymov2gif
Convert `*.mov` to `*.gif`:## Web Interface
[](https://mybinder.org/v2/gh/jan-janssen/pymov2gif/main?urlpath=/voila/render/app.ipynb)
## Python Interface
To integrate the functionality in your project, just import the `convert` function:
```
from pymov2gif import convert
convert(file, resolution='800x600', framerate=10, output_file=None)
```* file (str): Input movie file in *.mov format
* resolution (str): Resolution of the output *.gif file - default: 800x600
* framerate (int): Framerate of the output *.gif file - default: 10
* output_file (str/None): Filename of the output *.gif file - optional## Comand Line Interface
Quickly convert your *.mov files to the *.gif format on the command line:
```
pymov2gif test.mov --resolution=800x600 --framerate=10 --output_filename=test.gif
```* `test.mov`: Input movie file in *.mov format
* `--resolution`: Resolution of the output *.gif file - default: 800x600
* `--framerate`: Framerate of the output *.gif file - default: 10
* `--output_filename`: Filename of the output *.gif file - optional## Installation
Both the python interface and the command line interface require `pymov2gif` to be installed via `pip`:
```
pip install pymov2gif
```
Alternatively, `pymov2gif` can be installed using conda-forge:
```
conda -c conda-forge pymov2gif
```