Metadata-Version: 2.1
Name: py-ffmpeg-splitter
Version: 0.0.1
Summary: A simple python library used to split media files.
Author-email: Sahar Shulman <dillpickledev@gmail.com>
Project-URL: Homepage, https://github.com/hohfchns/py-ffmpeg-splitter
Project-URL: Issues, https://github.com/hohfchns/py-ffmpeg-splitter/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# A simple python library used to split media files.


## Examples

*From the command line*
``` bash
python ffmpeg_splitter --help
python ffmpeg_splitter.py source.mp4 1000000000 -t "out.mp4" # Will split `source.mp4` into files of 1GiB size (named out-x.mp4).
```

*From Python*
``` python
from py-ffmpeg-splitter import ffmpeg_splitter.split_by_size

if __name__ == "__main__":
    split_by_size("my_file.mp4", 1000000000, print_function=print) # Will also print output and useful information
```
