pyvid

Video shrinker that uses ffmpeg.


Keywords
cli, video, conversion, ffmpeg, tools, command-line, python3, shrinker, sphinx-doc, video-files
License
MIT
Install
pip install pyvid==0.1.2

Documentation

pyvid 0.1.1

PyPI version Build Status Documentation Status Coverage Status

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.