Skip to main content

Utility to encode and recreate whole directories with ffmpeg.

Project description

FFenmass

FFenmass is a simple python utility to manipulate in directories and recreate them recursively, inspired by h265ize. Currently works in Linux folder structures only.

Dependencies

ffmpeg yaspin rich

Installation

pip3 install ffenmass

Usage

ffenmass is transparent above ffmpeg, this means all ffmpeg syntax can be used with ffenmass as is , with the only exception being the input (-i) and the output being directories instead of files. Because ffenmass ignores file extensions, you will need to specifify file container using ffmpeg's -f argument.

ffmpeg -i input.mkv -vcodec libx265 out.mkv


ffenmass -i /path/to/media/ -vcodec libx265 -f mkv /output/directory/

ffenmass will encode all video files detected under the input directory and output them with the same folder structure and filenames in the output directory.

Make sure your input/output directories have a trailing /

/path/to/directory   #Is not a valid input

/path/to/directory/  #Is a valid input

Contributing

Open an issue first to discuss what you would like to change.

Changelogs

0.2.0

  • Ignores extensions, will now work with audio,video,subs etc.
  • Made into a pip module.

License

MIT

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

ffenmass-0.2.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page