Name | enjam JSON |
Version |
1.0
JSON |
| download |
home_page | None |
Summary | batch convert videos |
upload_time | 2024-10-30 18:48:42 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | MIT |
keywords |
ffmpeg
encoder
cli
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![PyPI Version](https://img.shields.io/pypi/v/enjam)](https://pypi.org/project/enjam/)
![Github Actions](https://github.com/Fak3/enjam/workflows/Tests/badge.svg)
[![codecov](https://codecov.io/gh/Fak3/enjam/branch/main/graph/badge.svg?token=6Q1NS6P9F4)](https://codecov.io/gh/Fak3/enjam)
# Enjam
Batch convert video files.
![Screenshot](Screenshot.png)
```
Usage: enjam [OPTIONS]
Batch convert videos.
Options:
--src DIRECTORY [default: .]
--dst TEXT Output directory path. Can include
variables. Example: ./{vcodec}-{crf}
[default: (src)]
--exclude-dstdir Do not pick source files from dstdir, if it
is located inside srcdir [default: True]
--jobs INTEGER [default: 4]
--acodec TEXT [default: copy]
--vcodec [libaom-av1|librav1e|libsvtav1|libx264|libx265|copy]
[default: libsvtav1]
--vbitrate TEXT If stars with x, resulting bitrate is a
ratio of input file resolution. Example:
x2.3 or 200k
--abitrate TEXT [default: 38k]
--crf INTEGER RANGE Constant rate factor. Or qp for rav1e.
[default: (24, if vbitrate is not set);
0<=x<=63]
--speed [ultrafast|superfast|veryfast|faster|fast|medium|slow|slower|veryslow|placebo|-2|-1|0|1|2|3|4|5|6|7|8|9|10|11|12|13]
Speed preset. String for x264/x265. Numeric
for av1. Lower is slower. [default: 7]
--fprefix TEXT Output file prefix. Can include variables.
If fprefix is not provided and dst dir
includes variables, fprefix is set to the
same pattern as dst dir name. Example:
{vcodec}-{crf}- [default: (f'{dst.name}-'
if '{' in dst else None)]
--gop INTEGER Group of pictures size. The GOP size sets
the maximum distance between key frames.
Higher GOP size results in smaller file
size. [default: 200]
--resolution INTEGER Output resolution height in pixels.
--grain INTEGER [default: 0]
--svt-variance-boost INTEGER [default: 0]
--write-log / --no-write-log [default: write-log]
--verbose / --no-verbose Print more verbose messages. [default: no-
verbose]
--loglevel [debug|info|warning|error]
File log level. [default: debug]
--skip-errors / --no-skip-errors
Continue processing queue after one file
error [default: skip-errors]
--pattern TEXT Source file glob search pattern. Example:
'Camera1*.mp4' [default: *.gif]
--outformat [mp4|mkv] Output file format. [default: mkv]
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to
copy it or customize the installation.
--help Show this message and exit.
```
## Installation
```
pipx install enjam
enjam --install-completion
```
## Development
```
pdm venv create -n 11 3.11
eval $(pdm venv activate 11)
```
### Test
```
pytest -s --doctest-modules
```
Raw data
{
"_id": null,
"home_page": null,
"name": "enjam",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "ffmpeg, encoder, cli",
"author": null,
"author_email": "Evstifeev Roman <someuniquename@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/8b/72/796909282547dc29878e0d96841296d6096be37f4fe011da241fc64ef169/enjam-1.0.tar.gz",
"platform": null,
"description": "[![PyPI Version](https://img.shields.io/pypi/v/enjam)](https://pypi.org/project/enjam/)\n![Github Actions](https://github.com/Fak3/enjam/workflows/Tests/badge.svg)\n[![codecov](https://codecov.io/gh/Fak3/enjam/branch/main/graph/badge.svg?token=6Q1NS6P9F4)](https://codecov.io/gh/Fak3/enjam)\n\n# Enjam\n\nBatch convert video files.\n\n![Screenshot](Screenshot.png)\n\n```\nUsage: enjam [OPTIONS]\n\n Batch convert videos.\n\nOptions:\n --src DIRECTORY [default: .]\n --dst TEXT Output directory path. Can include\n variables. Example: ./{vcodec}-{crf}\n [default: (src)]\n --exclude-dstdir Do not pick source files from dstdir, if it\n is located inside srcdir [default: True]\n --jobs INTEGER [default: 4]\n --acodec TEXT [default: copy]\n --vcodec [libaom-av1|librav1e|libsvtav1|libx264|libx265|copy]\n [default: libsvtav1]\n --vbitrate TEXT If stars with x, resulting bitrate is a\n ratio of input file resolution. Example:\n x2.3 or 200k\n --abitrate TEXT [default: 38k]\n --crf INTEGER RANGE Constant rate factor. Or qp for rav1e.\n [default: (24, if vbitrate is not set);\n 0<=x<=63]\n --speed [ultrafast|superfast|veryfast|faster|fast|medium|slow|slower|veryslow|placebo|-2|-1|0|1|2|3|4|5|6|7|8|9|10|11|12|13]\n Speed preset. String for x264/x265. Numeric\n for av1. Lower is slower. [default: 7]\n --fprefix TEXT Output file prefix. Can include variables.\n If fprefix is not provided and dst dir\n includes variables, fprefix is set to the\n same pattern as dst dir name. Example:\n {vcodec}-{crf}- [default: (f'{dst.name}-'\n if '{' in dst else None)]\n --gop INTEGER Group of pictures size. The GOP size sets\n the maximum distance between key frames.\n Higher GOP size results in smaller file\n size. [default: 200]\n --resolution INTEGER Output resolution height in pixels.\n --grain INTEGER [default: 0]\n --svt-variance-boost INTEGER [default: 0]\n --write-log / --no-write-log [default: write-log]\n --verbose / --no-verbose Print more verbose messages. [default: no-\n verbose]\n --loglevel [debug|info|warning|error]\n File log level. [default: debug]\n --skip-errors / --no-skip-errors\n Continue processing queue after one file\n error [default: skip-errors]\n --pattern TEXT Source file glob search pattern. Example:\n 'Camera1*.mp4' [default: *.gif]\n --outformat [mp4|mkv] Output file format. [default: mkv]\n --install-completion Install completion for the current shell.\n --show-completion Show completion for the current shell, to\n copy it or customize the installation.\n --help Show this message and exit.\n\n```\n\n## Installation\n```\npipx install enjam\n\nenjam --install-completion\n```\n\n\n## Development\n```\npdm venv create -n 11 3.11\neval $(pdm venv activate 11)\n\n```\n\n### Test\n```\npytest -s --doctest-modules\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "batch convert videos",
"version": "1.0",
"project_urls": null,
"split_keywords": [
"ffmpeg",
" encoder",
" cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "97b1022ce11259b7ad774cbb63dd7af4fbb07d6ff6b9c17bdef87160633630d3",
"md5": "a7fd7958154f882fad6cdf96ad4814fe",
"sha256": "6c93412d00652e56ecca262e66f0bc67ff8b49c6a2ec7e4f694fd2594045cc2d"
},
"downloads": -1,
"filename": "enjam-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a7fd7958154f882fad6cdf96ad4814fe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 12101,
"upload_time": "2024-10-30T18:48:40",
"upload_time_iso_8601": "2024-10-30T18:48:40.715418Z",
"url": "https://files.pythonhosted.org/packages/97/b1/022ce11259b7ad774cbb63dd7af4fbb07d6ff6b9c17bdef87160633630d3/enjam-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8b72796909282547dc29878e0d96841296d6096be37f4fe011da241fc64ef169",
"md5": "741949c6352ca18937b2082a9386e27f",
"sha256": "93aa889451ab247ba3cf9e80f2a154c54e4a9b3c79ff14129b31d4ae1d0c76da"
},
"downloads": -1,
"filename": "enjam-1.0.tar.gz",
"has_sig": false,
"md5_digest": "741949c6352ca18937b2082a9386e27f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 15166,
"upload_time": "2024-10-30T18:48:42",
"upload_time_iso_8601": "2024-10-30T18:48:42.908118Z",
"url": "https://files.pythonhosted.org/packages/8b/72/796909282547dc29878e0d96841296d6096be37f4fe011da241fc64ef169/enjam-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-30 18:48:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "enjam"
}