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

Install from PyPI (when published)

pip install bmp-to-vid

Install from source

git clone https://github.com/yourusername/bmp-to-vid.git
cd bmp-to-vid
pip install .

Install in development mode

pip install -e .

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.0.tar.gz (3.6 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.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bmp_to_vid-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 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.0.tar.gz
Algorithm Hash digest
SHA256 1a08ed65d6989bf95f5fed69124ec60bec6402e96adb2e519630e0ad9aaa77d9
MD5 e61874438494d154288deadbb6a1d29f
BLAKE2b-256 0520ba7b56f6bc3b325663fce1f806a0e69d6559ddef5285771477ee205d519c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bmp_to_vid-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 259a38ebbc0a7f4cf7d1f5445112d6dfa7242cf8dffdae6025dc1405cafad64e
MD5 5b125c59901fb4df4fe36e488311e53a
BLAKE2b-256 23b54319db3fd68d67763d9fb66865a824ac2cdfd70520cb89731651255791e5

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