Skip to main content

This tool allows bulk conversion of videos using ffmpeg

Project description

Convert Videos

Test Status codecov

This tool allows bulk conversion of videos using ffmpeg

Usage

Usage: convert-videos [OPTIONS] DIRECTORY

Options:
  -i, --in-place            Replace the original files instead of appending
                            the new codec name
  -f, --force               Force conversion even if the format of the file
                            already matches the desired format
  --video-codec TEXT        A target video codec  [default: HEVC]
  -q, --quality INTEGER     The quantizer quality level to use  [default: 22]
  -p, --preset TEXT         FFmpeg preset to use  [default: medium]
  -w, --width INTEGER       Specify a new width to enable resizing of the
                            video
  -e, --extra-args TEXT     Specify any extra arguments you would like to pass
                            to FFMpeg here
  --audio-codec TEXT        A target audio codec  [default: AAC]
  --audio-channels INTEGER  The number of channels to mux sound in to
                            [default: 2]
  --audio-bitrate INTEGER   The bitrate to use for the audio codec  [default:
                            160]
  --temp-dir TEXT           Specify a temporary directory to use during
                            conversions instead of the system default
  -v, --verbose             Enable verbose log output
  --container TEXT          Specify a video container to convert the videos in
                            to  [default: mkv]
  -h, --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

convert_videos-2.0.2.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

convert_videos-2.0.2-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

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