iphone-to-pixel
v0.0.2
Published
Convert iOS media files for Pixel compatibility
Downloads
317
Maintainers
Readme
iphone-to-pixel
Convert iOS media files (HEIC, HEVC, MOV) to Pixel-compatible formats while preserving HDR, metadata, and quality.
Features
- Lossless conversion for HEIC photos (Google Pixel 1 supports them)
- Near-lossless conversion from MOV and M4A videos to mp4
- Metadata preservation (iOS Photos sometimes sets time metadata weirdly)
Installation
Prerequisites
# macOS
brew install ffmpeg exiftoolNote: This is currently only tested for macOS. I don't know if this will support Windows or Linux.
Install CLI
npm install -g iphone-to-pixel
# or
bun install -g iphone-to-pixelUsage
# Convert all files in a directory
itp convert ./MyPhotosOutput will be created in {directory}_Remuxed
What it does
Images (HEIC, JPG, PNG, GIF)
- Copies files bit-for-bit
- Fixes filesystem dates to match EXIF capture date
Videos (MOV, MP4, M4V)
- Remuxes to MP4 container (no quality loss)
- Preserves HEVC/H.264 video streams (keeps HDR)
- Converts audio to AAC 320k if needed
- Adds
faststartflag for faster playback - Fixes all metadata dates
Development
# Install dependencies
bun install
# Build
bun run build
# Run locally
bun run start convert ./test-folderLicense
MIT
