Skip to content
Projects

About

Live Photo Box(实况照片工具箱) — A Windows desktop solution for processing Live Photos across different devices, brands, and platforms, with powerful conversion and editing capabilities. | 面向 Windows 的实况照片处理工具,帮助不同设备、品牌与平台之间自由转换和处理实况照片,并尽可能保留原始照片的细节与信息。

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+6
in 15 days
+8
in 1 month
+15

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

Live Photo Box(实况照片工具箱)

Unifying all live photo protocols for seamless cross-device viewing & migration

Latest release Platform C# 13 C++20 .NET 9 WinUI 3


📖 Language / 语言:  English  ·  简体中文

🚀 Download

Get it from MicrosoftGitHub Releases

Or install the CLI via winget: winget install LengxiQwQ.LivePhotoBox


📌 Project Refactoring Status & Upcoming Update Plan

The project is currently undergoing a comprehensive core refactor, and there have been no new releases over the past two months. This work is now nearing completion, with the next major release expected in approximately two weeks.

  • Complete Format Compatibility & Stability: Once the core refactor and testing are finished, conversion stability will be significantly improved, ensuring that virtually all Live Photos from various brands and devices convert into any format smoothly, completely, and reliably.
  • Upcoming Major Overhaul of the Editor: Following the core refactor, the Editor page will also receive a major redesign with several new capabilities, including editing photos and videos independently, editing Live Photos frame-by-frame, and supporting edits via external tools followed by re-importing.

While spare time for development is limited outside of schoolwork, I will do my absolute best to make every feature solid and polished. My goal is to build a truly reliable tool that allows Live Photos across different brands to flow seamlessly. Thank you all for your understanding and continued support!


💡 Cross-Device Live Photos

Although Live Photos from different brands all combine a still image with a short video, they use different file structures and data formats. When moving across devices or platforms, this can lead to playback issues, incorrect orientation, lost motion, or missing metadata.

Live Photo Box provides a unified way to merge, split, convert, repair, and edit Live Photos, making it easy to move them between different brands and devices.

It also preserves as much of the original detail and information as possible, including HDR, EXIF data, camera settings, capture information, and original media content — keeping every conversion as close as possible to the original photo.


📸 Screenshots

🖼️ Live Photo Edit
Edit

🔗 Merge Live Photo
Merge


✨ Core Features

🖼️ Live Photo Edit

Change the key photo / cover frame of a Live Photo, picking the perfect moment from the video timeline.

  • Filmstrip video timeline with frame-by-frame preview
  • One-click cover replacement, export single frames or all video frames, or export as video / GIF animation
  • Quick live photo protocol conversion
  • View basic file attributes and live photo protocol information

🔗 Merge Live Photo (Combo)

Convert a dual-file Live Photo (or any image + video pair) into a single-file Live Photo, viewable on Windows and Android devices.

  • Merge anything in one click: drag & drop or pick an image (JPG / HEIC) + a video (MP4 / MOV), or scan a whole folder and auto-pair everything into a batch queue
  • Smart pairing: auto-match image + video by filename, Apple ContentIdentifier UUID, or vivo camera ID; or merge ready-made dual-file pairs directly
  • Brand switching: switch target protocols in one click, paired with JPEG+MP4 / JPEG+MOV / HEIC+MP4 / HEIC+MOV / HEIC+MP4(H.265) output formats (automatically filters supported options)
  • Batch file naming: compose filenames from template segments (original name / protocol / date / time / EXIF date-time / counter / custom text) with drag-to-reorder, presets, separators, and live preview — no regex needed
  • Post-processing: automatically move source files to a specified folder or Recycle Bin on completion
  • Parallel batch merging: queue with search, multi-dimension sorting, and status filters; multi-task parallel processing with real-time progress, success/failure counts, and elapsed time
Merge Protocol Target Devices Status
Google - Micro Video (v1) Windows / Xiaomi (legacy MIUI) / Pixel ✅ Supported
Google - Motion Photo (v2) Windows / Xiaomi / Pixel ✅ Supported
OPPO - O-Live Photo Windows / Xiaomi / OPPO ✅ Supported
HUAWEI - Moving Photo Huawei / Honor ✅ Supported
Samsung - Motion Photo Windows / Samsung ✅ Supported
vivo - Live Photo Windows / vivo (≥ x300) 🟡 In Testing

📸 Split Live Photo

Split a Live Photo (single-file format) into a dual-file Live Photo, or into an independent still image (JPG / HEIC) and video (MP4 / MOV).

  • Batch split: scan a folder, auto-detect and queue all Live Photos; filter by protocol (Google / OPPO / vivo / Samsung / Huawei) to split specific brands
  • Protocol output: convert to Apple / vivo dual-file Live Photos (writing pairing metadata), or remux to HEIC+MOV / JPG+MOV / JPG+MP4 formats
  • Strip live photo metadata: prevents extracted still images from being falsely recognized as live photos again; preserves all other metadata including EXIF / ICC / GPS / capture settings
  • Naming templates: segment-based naming consistent with the merge page, supporting drag-and-drop reordering and live preview

⚠️ About iPhone / iPad: Due to iOS system limitations, Live Photos cannot be imported directly into iOS devices. This software generates standard Live Photo data; import requires third-party tools like i4Tools.

Split Protocol Target Devices Status
Apple - Live Photo iPhone / iPad ✅ Supported
vivo - Live Photo vivo (≤ x200) ✅ Supported

🛠️ Repair Live Photo

Repair display anomalies from exported Apple Live Photos. View diagnostic details for each photo after scanning, and filter by file type or repair status.

  • Excess thumbnail & horizontal stretching (before iOS 17.3): Apple embedded low-resolution thumbnails with orientation tags, causing Windows to treat them as horizontal photos and stretch or compress them. Clears orientation anomalies and strips excess thumbnails
  • Front camera video rotation: iPhone front cameras store vertical pixels horizontally and rely on orientation tags, which Windows ignores. Clears the rotation matrix so videos play in the correct orientation
  • HEIC orientation errors: Corrects erroneous Orientation tags if present

📂 Photo Organize (In Development)

Automatically scan, categorize, and archive photos by device, date, and Live Photo type based on metadata. Starting with iPhone photos, expanding to more brands.


💻 Command Line (CLI)

Live Photo Box ships a command-line interface — livephotobox — that shares 100% of its core logic with the GUI, ideal for scripting and AI agents.

  • Commands: merge (single-pair or batch merge), split (split into photo + video), repair (repair Apple live photo display issues), cover (inspect/modify cover timestamp), protocols (protocol & format compatibility query), update / update-check (check & install updates)
  • Four executable aliases: livephotobox / livephoto / livebox / lpb
  • Batch pairing & naming: auto-pair by filename, Apple ContentIdentifier UUID, or vivo camera ID; rename outputs with templates like -n custom:{name}_{date}; --after moves sources to a folder / recycle bin on completion
  • Script-friendly: --json outputs structured results that scripts and AI agents can consume directly; --dry-run previews operations without touching files
  • Sane output defaults: single-pair merges write next to the source photo (protocol-suffixed name); batch merges write into a {folder}_<protocol> subfolder — never the terminal’s current directory. -w overwrites existing outputs instead of auto-renaming
  • Distribution: bundled with the installer / portable build (optional “Add to PATH”), or a standalone single-file -x64-cli.zip (no install needed; ships add-to-path.cmd / remove-from-path.cmd helpers to add/remove PATH in one click); install the CLI-only edition via winget install LengxiQwQ.LivePhotoBox

📖 CLI User Guide: English · 简体中文


🛠️ Tech Stack

Technology Version Role
C# 13.0 GUI, CLI, application workflows and orchestration
C++ C++20 Low-level media containers, metadata and Live/Motion Photo protocols
.NET 9.0 Application runtime
WinUI 3 / Windows App SDK 1.8 Windows desktop UI
CommunityToolkit.Mvvm 8.4.2 MVVM and state management
LivePhotoBox.Native Stable C ABI Bridge between C# and the Native C++ core
WIC Windows Image decoding, encoding and conversion
Windows Media Foundation Windows Video probing, remuxing and transcoding
PhotoSauce.MagicScaler 0.15.0 Image scaling and processing
System.CommandLine 2.0.11 CLI framework
MSIX / Self-contained — GUI and CLI distribution

Note: Some currently published releases still use the previous external-tool-based media pipeline. The development branch is moving these responsibilities into LivePhotoBox.Native, and the new Native architecture will replace that implementation in a future release.


💻 Build & Development

Prerequisites

  • Visual Studio 2022 or later
  • In VS Installer, select: .NET desktop development + Universal Windows Platform development + Desktop development with C++ (MSVC x64 toolchain)
  • .NET 9 SDK

Build

# Clone the repository
git clone https://github.com/lengxiqwq/live-photo-box.git
cd live-photo-box

The repo ships ready-made PowerShell build scripts (scripts/) for both GUI and CLI — no need to run dotnet commands by hand:

Script Produces
scripts/packaging/build-dev.ps1 Unpackaged dev build (GUI + CLI) into publish/
scripts/packaging/build-cli-release.ps1 Standalone single-file CLI zip (publish/Live-Photo-Box-v{version}-x64-cli.zip)
scripts/packaging/build-release.ps1 Full release trio: portable zip + CLI zip + installer

Packaging builds Native and checks the generated files. The Native smoke test runs separately on demand. Scripts accept -CI for GitHub Actions and other CI environments (no pause prompt).

For local verification, run the Native smoke test and the solution/CLI test suites from the repository root:

powershell -NoProfile -ExecutionPolicy Bypass -File scripts/native/test-native-smoke.ps1
dotnet test
python scripts/testing/run-cli-integration-test.py

All three commands must pass before creating a release tag. scripts/packaging/build-release.ps1 also invokes the Native build and checks that LivePhotoBox.Native.dll is present in GUI and CLI outputs.


📋 Changelog

📋 CHANGELOG:  English  ·  简体中文


🌍 Localization

Language Status
中文(简体)(zh-Hans) ✅ Complete
English (en) ✅ Complete

Follows system language automatically; can also be switched manually in Settings.


🤝 Contributing

Issues and Pull Requests are welcome!

  • 🐛 Bug reports and 💡 Feature requests → GitHub Issues
  • 🔧 Code contributions → Fork → Feature Branch → Pull Request

📄 License

This project is open-source under the GNU General Public License v3.0 (GPL 3.0). See the LICENSE file for details.


🙏 Credits

Tool / Library Purpose License
FFmpeg Video transcoding, remuxing & color conversion engine (integrated x264/x265) LGPL-2.1+ / GPL-3.0
libheif HEIF/HEIC image encoding and decoding engine LGPL-3.0
libjpeg-turbo High-speed SIMD-accelerated JPEG codec & lossless transforms IJG / BSD / zlib
Magick.NET HEIC image decoding & image processing Apache-2.0
PhotoSauce.MagicScaler High-performance image scaling and processing MIT
CommunityToolkit.Mvvm MVVM framework and application patterns MIT
FluentIcons Fluent System Icons collection for .NET MIT
Markdig Fast Markdown processor and HTML renderer BSD-2-Clause

⭐️ Star History

📊 Repository Traffic

Views: 6,265 | Uniques: 212 (14-day) | Clones: 9,135 | Cloners: 177 (14-day)

Top referrers (14-day): Google · github.com · Bing · noisedaohang.netlify.app · noisedh.cn · developer.huawei.com
Top content (14-day): releases · releases/tag/v2.2.1 · issues · README.md

Data since 2026-08-02 · Last updated: 2026-12-04 (UTC+8)


Made with ❤️ by LengxiQwQ

Stars Forks Downloads

Explore related projects

Loading…