Skip to content

Live Photos

Featured

A Live Photo is a still image plus a short video of about 1.5 to 3 seconds around the moment the shutter was pressed. Press and hold it to see the motion. WeChat Moments and Xiaohongshu (RedNote) both support posting Live Photos, but phone makers don't share a common format: Apple stores a HEIC image and a MOV video as two files, while Android makers mostly embed the video inside the still image, each in their own way.

CoreIX reads the original Live Photo file directly. Add parameters to the URL to get the still image or the video, then resize, convert, and watermark them like any other image or video, without parsing or transcoding anything yourself.

Demo

Press and hold the photo below, or click the Live badge in the top-left corner:

Children running through shallow water at a waterside playground at dusk

The still image and the video come from the same original file, 28b4f224….corelive (a Live Photo shot on iPhone). Only the URL parameters differ:

UseURLOutput
Still image….corelive?w=1200&fmt=jpgA 1200-wide JPEG that keeps HDR (gain map)
Video….corelive?fmt=mp4An H.264 + AAC MP4 that plays in all major browsers and apps

On HDR-capable devices and browsers, the still image in the demo is shown in HDR with brighter highlights. Other devices show SDR automatically. See HDR media processing.

Get the still image

Without any video parameters, CoreIX treats a Live Photo as an image and uses its still image. All image parameters work, for example:

GoalExample parametersDocs
Resizew=1200Resize images
Smart-crop to a squarew=600&h=600&pos=smartResize images
Convert formatfmt=avif, fmt=webpImage format conversion
Compressq=80Output quality
Convert to SDRhdr-rate=0HDR media processing

When the original is HDR, the still image keeps HDR by default, in the same form as a regular HDR photo: a gain map for JPEG, PQ for AVIF.

Get the video

Add fmt=mp4 to get the video from the Live Photo, transcoded to an H.264 + AAC MP4. The HEVC video in the original file won't play in some browsers and on some Android devices. After transcoding, you can use it directly in a web page's <video> element and in any player.

Watermark both the still image and the video

The feed shows the still image and opening it plays the video, so both need a watermark for full protection. The same set of text watermarks or image watermarks parameters works on both, with the same position, size, and style:

A Live Photo with a Bitiful text watermark
UseURL parameters
Still imagew=1200&fmt=jpg&txt=Bitiful&txt-shad=4
Videofmt=mp4&txt=Bitiful&txt-shad=4

URL-encode the txt value in real use. Use mark-hdr-rate to adjust the watermark's brightness on HDR still images.

Save the still image and video parameters as two styles for shorter URLs that are easy to update in one place. Combine them with Original file protection to block direct access to the unwatermarked original.

Supported Live Photos

SourceReadSupported processing
Apple Live Photo, OPPO, vivo, iQOO✅Split into a still image and a video, or convert between formats
Google, realme, Xiaomi, Huawei, Honor–Conversion target only

An Apple Live Photo is two files, HEIC and MOV. So that one Live Photo maps to one object and one URL in storage, CoreIX uses the .corelive format to package both together (an uncompressed zip containing the .heic still image and the .mov video). The demo above is one of these files.

For converting and merging Live Photos between phone makers (for example, to produce Live Photos you can post to WeChat or Xiaohongshu), and for how to create .corelive files, contact support for the parameters. See Supported media formats for the full list.

Showing Live Photos in web pages and apps

  • Load only the still image in lists and feeds, and load the video when the user presses or opens it, to save bandwidth.
  • The still image and video are generated from the same original file, so the picture, orientation, and watermark always match, and you never end up with two files that don't line up.

Pricing

Live Photo processing is in testing and free to use. See Media processing.