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.2.tar.gz (3.4 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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bmp_to_vid-1.0.2.tar.gz
  • Upload date:
  • Size: 3.4 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.2.tar.gz
Algorithm Hash digest
SHA256 afdf4d37df14576bf756defd104720ed0af263469c250e7483e11651833494a0
MD5 91a869d365414d4f95b84abd10076188
BLAKE2b-256 51664990ccc5666136fe59f0b2680361cbd73a8eeea20287309fe53b38ad730f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bmp_to_vid-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 29615b23b62799c50c4eb6cd211d4bb86e26d002da9eb32f54037e9136c63c63
MD5 cb6521bcc7f8cb561a096da883b0c87c
BLAKE2b-256 15000de8254756d3b0dfc59b9bfac4f0cb7d5521329e4b16d018494e4c72e47d

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