Metadata-Version: 2.1
Name: konvertek
Version: 0.1.3
Summary: Convert media. 
Author-email: The220th <The220th@gmail.com>
Project-URL: Homepage, https://github.com/The220th/konvertek
Project-URL: Issues, https://github.com/The220th/konvertek/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ksupk
Requires-Dist: argparse
Requires-Dist: ffmpeg-python
Requires-Dist: tqdm

# konvertek

konvertek konvert all video files from one folder to another with certain video encoder, bitrate, resolution and fps. 
The file hierarchy will be preserved exactly as in the original directory.


# Installation and usage

Install by typing:

```bash
pip3 install konvertek
```

Run:

```bash
konvertek convert /path/to/source/dir /path/to/destenation/dir /path/to/progress.json \
                  --v_codec libx265 --bitrate 3M \ 
                  --resolution 720p --fps 24

         # progress.json is file, which contains transcode progress. 
         # If failed or power outages, this file will store progress.
         # Just retype command again with same progress.json
```

If needed hardware acceleration, use video encoder (`--v_codec`) `hevc_nvenc` (H.265) or `h264_nvenc` (H.264) for nvidia 
and  `h265_vaapi` (H.265) or `h264_vaapi` (H.264) for amd. Use `--help` for more parameters.
