Video shrinker that uses ffmpeg.
Project description
pyvid 0.1.2
Pyvid is a package that shrinks video files using defaults on ffmpeg to get high quality and low file size. Works best on 1080p videos.
Dependencies
- install
ffmpeg with libx264 or libx265 support and make sure the executable can be found with the
$PATH
environment variable.
Installation
Install as global executable
pip install --user pyvid
Usage
The most basic usage is as follows:
pyvid PATH
where PATH
is a file or directory. If PATH
is a directory, it will look for video files. Converted videos are placed in a converted/
subfolder.
The following
pyvid files -e ext1,ext2
will convert all .ext1
and .ext2
files in directory files/
to output directory files/converted/
.
Usage: pyvid [OPTIONS] PATH
Convert video(s) in specified path.
Options:
-e, --ext TEXT Comma seperated list of file extension(s) to look for
-y, --force A single count disables per-video prompts. A count of 2
disables all prompts.
-d, --rem Delete source video files
--version Show the version and exit.
--help Show this message and exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyvid-0.1.2.tar.gz
(6.1 kB
view details)
Built Distribution
pyvid-0.1.2-py3-none-any.whl
(6.2 kB
view details)
File details
Details for the file pyvid-0.1.2.tar.gz
.
File metadata
- Download URL: pyvid-0.1.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.14 CPython/3.7.3rc1 Linux/4.19.0-parrot4-28t-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64847866846d8105c1061370b72c9b0bb063bc3c37eb9b5cde866a3cf85745e5 |
|
MD5 | 691702643b9722d85d3580cc63d435a5 |
|
BLAKE2b-256 | 7f984d038c7bdd0300a7917a1f6d9f8d7dcc5cf6eee99b4034df0355bb2f7e39 |
File details
Details for the file pyvid-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pyvid-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.14 CPython/3.7.3rc1 Linux/4.19.0-parrot4-28t-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d6d9f48d21fe2dbe3af4c28c2906fab15011135fef9bf93463b888b88fb9ed5 |
|
MD5 | f8e23eb42dbc4feb7ed989528702c537 |
|
BLAKE2b-256 | 0ff9bde785f470c2be39cdea5aaebb3d9298bf7db95843f32f1c7aeb1b08b698 |