Influence IQ
Video and cover orientation

Source
Jeff Shillitto's four Samsung Galaxy S9 recordings, Shotstack test-media, CC0.
Pinned revision b790a2b72325feecd189291c52663ed8123b1839.
https://github.com/shotstack/test-media/tree/b790a2b72325feecd189291c52663ed8123b1839/orientation

Download the four MP4 files from the pinned folder into a directory called source.
The original filenames, Git blob IDs and SHA-256 digests are in source-manifest.csv.
The archive contains the results and scripts. Get the original clips from their
publisher.

FFmpeg replay
Use Python 3.12 or later, FFmpeg and FFprobe 8.1.2, and an FFmpeg build with libx264.
Save analyze.py alongside the source directory, then run:

  python3 analyze.py source --output reproduced.csv
  cmp aggregate-results.csv reproduced.csv

The program validates the clip checksums, reads track dimensions and rotation,
and checks that the first video frame at or after each of 1 and 2 seconds has
the expected luminance-plane rotation. It then encodes a short video-only
excerpt with autorotation enabled and checks dimensions, effective rotation
and the first frame of the result. Rotation in the aggregate CSV is clockwise
from the stored image to its presentation. A zero normalized rotation denotes
no remaining turn to apply.

Mac replay
On macOS 26.5.1 with Swift 6.3.2, compile and run:

  swiftc -parse-as-library replay-avfoundation.swift -o orientation-replay
  ./orientation-replay source > reproduced-apple.csv
  cmp observed-apple.csv reproduced-apple.csv

AVFoundation can select a nearby frame for a requested time. The CSV records
its actual time as a rational number and compares the two extraction settings
using the same decoded moment within each clip. Decode paths can choose
different nearby frames across tools. The article compares orientation and
dimensions across tools. It makes no claim about identical pixels across
different decoders.

Find the checklist in your language in the guides folder.
