How Google Motion Photo JPGs Hide an MP4 Inside (and How to Extract Both Without Re-Encoding)
Read the Motion Photo directory, locate the original video by byte range, and check both downloads before attempting an Apple Live Photo handoff.
A Pixel photo plays a short movement on the phone but looks like an ordinary JPEG on a computer. That can be normal. A JPEG reader can display the still and finish its job without exposing the video carried later in the file. Start with the camera original downloaded as a file. A screenshot of the moving photo, a messaging app's compressed preview, and an export labeled “still image” can all look identical at thumbnail size while carrying none of the original motion.
Locate the clip using the camera's directory
In the supported JPEG-based Google format, metadata describes a primary image and the media that follows it. Modern files can use an XMP container directory with entries describing the primary image, a motion video and sometimes additional image data. A legacy file can instead describe the video length as an offset counted backwards from the file end. These are instructions for locating byte ranges. No frame needs to be drawn on a canvas and no video encoder needs to run to extract those ranges.
Illustrative legacy file size 5,000,000 bytes
MicroVideoOffset 1,200,000 bytes
Video starts at 3,800,000
Still output bytes [0, 3,800,000)
Video output bytes [3,800,000, 5,000,000)
The square bracket includes the first offset and the round bracket excludes the last. The first byte of the video therefore appears exactly once in the outputs. This calculation assumes a valid legacy declaration with the clip at the end. For a modern directory, follow the declared items and lengths instead. When both forms of metadata exist, an obsolete legacy offset may disagree with the current directory. Treat a conflict as something to investigate before trusting a guessed split.
| Evidence | What it establishes | What it leaves open |
|---|---|---|
| A readable JPEG preview | The primary image can be displayed | Whether any video bytes survived the export |
| A Motion Photo XMP declaration | The file describes motion content | Whether the declared range is present and complete |
| Bounded video boxes and a video track | The range has plausible movie structure | Whether this device decodes its codec |
| Matching photo and MOV identifiers | The two assets carry a common identifier | Whether Apple Photos can play them as a pair |
Validate the boundary before downloading
Open the original in the on-device Motion Photo splitter and choose the extraction action. It reads JPEG segments to locate the primary image end and standard XMP, then checks the proposed video range. Looking for the first occurrence of the letters “ftyp” in a hex viewer is an unreliable shortcut. Those letters can occur inside metadata or another payload. An ordinary marker search can also mistake an embedded thumbnail's JPEG end for the end of the primary image.
The movie reader checks box boundaries, the file type, media data and a video track. A box claiming a length beyond the available range indicates a damaged or incomplete clip. A file can pass structural checks and still use a codec unavailable in the browser. When extraction succeeds but the preview cannot play, download the video and try a local player that supports the codec. Keep a copy before converting it for distribution. A compatibility transcode creates a derivative with different video bytes.
Know what each download contains
The photo output retains the original bytes before the video. That can include padding, XMP and image data such as a gain map between the primary image and the clip. Trimming at the first apparent JPEG end marker might throw away those bytes. The extracted picture may still advertise a Motion Photo in its metadata even though the separated copy no longer has the clip. Seeing an old motion declaration in an image inspector is therefore consistent with successful extraction.
The video output retains its original container bytes, including audio if the camera recorded it. A QuickTime-branded movie may receive a MOV extension. The still is the original photograph, which can differ in size, exposure or framing from a paused video frame. Compare them using image dimensions and a recognizable moment, not a requirement that every pixel match. Choose the individual downloads when you need one component, or the combined archive when you want to keep both together.
To verify a legacy sample like the one above, compare the downloaded movie length with the declared 1,200,000 bytes. For this terminal-clip layout, concatenating the still and video byte ranges in their original order reconstructs the source exactly. A file hash comparison can confirm that fact without having to judge color by eye. Compare the media files themselves after unpacking an archive. A ZIP has its own headers and directory, so its total length need not equal the camera file length.
Decide whether the next step is Apple pairing
Google Motion Photos and Apple Live Photos organize their assets differently. Extracting a JPEG and a movie gives you two ordinary files suitable for separate viewing or editing. The linked identifier-matching tool temporarily uploads the photo and MOV to prepare and verify matching identifiers. An ordinary source photo may be converted to a JPEG copy during preparation. This is a separate operation from local byte-range extraction and may change image quality or metadata. Keep the original outputs before trying it.
A shared identifier cannot create the timed metadata track that identifies the still-image moment in a compatible Apple movie. Changing an MP4 filename to end in MOV does not author that track either. When delivery specifically requires Apple Photos playback, test the actual pair on the intended device and import path. If the goal is simply a still for printing and a short clip for sharing, the separate extracted files already supply those deliverables without a pairing step.
Limitations of extraction
The splitter supports the documented JPEG layout within its input limit. HEIC or AVIF motion containers, proprietary trailers and metadata available only through extended XMP can need different software. If a copy still carries a motion flag but its movie was removed, there is no missing sequence of frames for the tool to recover. Request the original camera asset or a full-resolution backup. Cropping or resaving the visible still usually produces a new image and may discard the appended data.
Before sharing the two downloads, listen to the clip and inspect its first and last frames. The motion segment can reveal people or speech outside the instant chosen for the still. Check photo and video metadata independently if location matters. The splitter preserves the original encoded content and its metadata, including details a standalone JPEG viewer may never have shown. Keep the complete camera file as the archival copy even after both extracted assets pass your checks.