Skip to main content

Convert sequential bitmap images to video

Project description

BMP to Video Converter

A command-line tool to convert sequential bitmap images into a video file.

Requirements

  • Python 3.6+

Installation

pip install bmp-to-vid

Usage

After installation, use the bmp-to-vid command:

bmp-to-vid <input_directory> -f <fps> [-o output.mp4]

Arguments

Argument Required Description
input_directory Yes Directory containing BMP files
-f, --fps Yes Frames per second for output video
-o, --output No Output video path (default: output.mp4)
-h, --help No Show help message

Examples

# Basic usage at 30 FPS
bmp-to-vid ./frames -f 30

# Custom output filename
bmp-to-vid ./frames -f 24 -o my_video.mp4

# High frame rate video
bmp-to-vid ./frames -f 60 -o smooth.mp4

# Show help
bmp-to-vid --help

Supported File Naming

The tool automatically sorts frames using natural sorting. Any naming pattern with numbers will work:

  • frame_001.bmp, frame_002.bmp, frame_010.bmp
  • A_001.bmp, A_002.bmp, A_010.bmp
  • img1.bmp, img2.bmp, img10.bmp
  • 001.bmp, 002.bmp, 010.bmp

Both .bmp and .BMP extensions are supported.

Output

  • Format: MP4 (H.264 compatible)
  • Resolution: Same as input images
  • Audio: None

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

bmp_to_vid-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

bmp_to_vid-1.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file bmp_to_vid-1.0.1.tar.gz.

File metadata

  • Download URL: bmp_to_vid-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for bmp_to_vid-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7c875d95af4b5e6f79cdb61d2cf0bc74017027fa190d01b9507678f076bbf42f
MD5 b4ef0591ecdf7c23ae8270bdceadfacc
BLAKE2b-256 6f2429a94716f3c1e66ad45c6a6796a518597405b3b935b4cc787f5f1ce0ee26

See more details on using hashes here.

File details

Details for the file bmp_to_vid-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bmp_to_vid-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for bmp_to_vid-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67cf83144b1e14072f5bcc58306f46faa00b7d814d3daeff9eddf88d3fadfa98
MD5 f62178c42d11de7d55305e900e59461f
BLAKE2b-256 dcbeaba5d82a2bb67510f2af7a8395c4ae0be1eeec1c42367fd2c3fa991677d4

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