0jdxt / pyvid

Video conversion utility written in python using ffmpeg and click

Home Page:https://pypi.org/project/pyvid/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyvid 0.1.2

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.

About

Video conversion utility written in python using ffmpeg and click

https://pypi.org/project/pyvid/

License:MIT License


Languages

Language:Python 100.0%