Skip to main content

Process multiple videos with one line of ffmpeg command.

Project description

BatchedFFmpeg

Process multiple videos with one line of ffmpeg command.

ezgif-1-b9b482fb9e6f ezgif-2-4ce90071b4cd

Requirements

  • ffmpeg

Install

pip install batchedffmpeg

Usage

batchedffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…

Usage for command is the same with original ffmpeg besides infile.

infile can be a video file or folder(=directory) where the video files are saved. If infile is a folder, program will search all video files in a folder including subfolders and then those files will be processed under the same command.

The output file is saved differently depending on the extension of outfile.

if outfile == video:

  input/
    hi.mp4
    bye.mp4

After running command(outfile=./output/out.avi)...

  output/
    hi_out.avi
    bye_out.avi

elif outfile == img:

  input/
    hi.mp4
    bye.mp4

After running command(outfile=./output/out%4d.jpg)...

  output/
    hi/
      hi_out0001.jpg
      hi_out0002.jpg
      ...
    bye/
      bye_out0001.jpg
      bye_out0002.jpg
      ...

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

batchedffmpeg-0.0.0.5.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

batchedffmpeg-0.0.0.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file batchedffmpeg-0.0.0.5.tar.gz.

File metadata

  • Download URL: batchedffmpeg-0.0.0.5.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/59.5.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for batchedffmpeg-0.0.0.5.tar.gz
Algorithm Hash digest
SHA256 5c3b71ec83fc724c95a089cb03f92d5c421eaaeb00d9801f877a98d41af7bdf0
MD5 0cea5a971986168daec2734aec9bf5ba
BLAKE2b-256 7eac266b6a4f825f621d35c76d363e712e9310233c3b9d8567fd0bd1f25f8cc7

See more details on using hashes here.

File details

Details for the file batchedffmpeg-0.0.0.5-py3-none-any.whl.

File metadata

  • Download URL: batchedffmpeg-0.0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/59.5.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for batchedffmpeg-0.0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 391ea0aa05e0d1d1f6553381f1d41cd5a8f10a91fd8984c4609dba23fa5c81a9
MD5 189cdbf6c609c00f21a8eb3a82c54dd4
BLAKE2b-256 2a65d7f308ac580e176d93804c517f0a6dc3be4f1647c34189f51bff30a23ac1

See more details on using hashes here.

Supported by

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