An MP4 composition-offset table (ctts) is easy to miss if you only read ffprobe's default frame display. I wanted a narrower question: does the official imported Bama Bound preview actually carry a ctts box, what are the per-sample offsets in the video media timescale, and does a stream-copy remux keep that table?
I build bamabound.app. I did not invent a customer file for this. I measured the official imported field preview the homepage and the create page still play. Those pages label it an imported preview: "Imported preview of a person holding a Bama Bound sign." "Imported previews are references, not results from this studio." I re-downloaded the file today, 1 December 2026, at 15:21:39–15:21:40 CST (Asia/Shanghai, UTC+8) from the public media URL. It is 6,117,241 bytes. Its SHA-256 is 9dcb91afc8f985baaa1bae746380d2e2514b6d84abd5108b3b0284eb1fc6492a, unchanged from earlier captures. Origin Last-Modified remains Mon, 26 Oct 2026 05:55:53 GMT.
I also re-checked the pricing page and pricing.md at 15:21:38–15:21:39 CST. Official Field banner singles are still 480p $7.98 / 798 credits, 720p $9.98 / 998, 1080p $16.98 / 1923, and 4k $24.98 / 3921, tax extra. 1080p and 4k credits are not 1:1 with cents. Packs are still $22.99 for 3 credits, $59.99 for 10, and $99.99 for 20. Both files still say Updated 2026-11-04. This measurement is a post-download box walk and remux check. It is not a billed generation.
What the ctts box actually says
I walked the container and parsed the video sample table myself. The ctts box sits at offset 6,109,970, size 1,552, version 0, flags 0. entry_count is 192. The sample counts in those entries add up to 193, which is the video frame count: one of the entries is (sample_count=2, sample_offset=512); every other entry has sample_count=1.
The video media timescale is 12,288. At 24 fps that is exactly 512 ticks per frame. Expanding the table to one offset per sample gives this histogram:
| Composition offset (ticks) | Frames | Offset in frames | Offset in seconds |
|---|---|---|---|
| 0 | 47 | 0 | 0 |
| 512 | 49 | 1 | 0.041667 |
| 1024 | 49 | 2 | 0.083333 |
| 2048 | 1 | 4 | 0.166667 |
| 2560 | 47 | 5.0 | 0.208333 |
The largest offset is 2560 ticks, which is 5.0 frames at 24 fps. The first eight per-sample offsets are 1024, 2560, 1024, 0, 512, 2560, 1024, 0. ffprobe reports has_b_frames=2 on this stream. I am reporting the measured maximum, not a theory about why the table goes out to five frames rather than two.
Default ffprobe frame output applies the edit list and does not give you these offsets. With ffprobe -ignore_editlist 1 -show_packets, the packet pts - dts list matches the ctts table exactly: 193 packets, same histogram, same first five values. The first packet is the IDR / I-frame: pts=1024, dts=0, composition offset 1024, size 169,317 bytes.
Annex-B SHA-256 is 1d3959a35a26e70188de23474a76b1866db3e26c005ab69f3657adb2be869b67. ADTS SHA-256 is 084469e3d17abed811d2507a4c523bbcce57afc8fed17fb9f6fb623fd0dbac0e. The source SHA-256 was unchanged after every measurement in this run.
A default stream-copy remux keeps the same table
ffmpeg -hide_banner -loglevel error -y -i src/ref.mp4 -c copy remux-copy.mp4
The remux is 6,116,980 bytes. The ctts table is still there: entry_count 192, max offset 2560, the same histogram, and the same first eight per-sample offsets. Packet pts - dts still matches the box. Both bitstream hashes are unchanged. The official file remains 6,117,241 bytes; only the remuxed copy is smaller, because a stream-copy remux rewrites parts of moov.
I put the walker, the packet check, and the remux comparison in ctts_offsets.py (also saved next to this post as the script I actually ran). It exited 0 today.
If you only look at display timestamps after the edit list has been applied, you will think every frame is already in order. The ctts box is still in the file, and the largest composition offset on this imported preview is 2560 ticks.
How I ran the check
python3 src/ctts_offsets.py
The script walks every box until it finds ctts, expands the 192 entries into 193 per-sample offsets, then runs ffprobe -ignore_editlist 1 on the video packets and compares pts - dts with that list. It remuxes with -c copy into a temp file, repeats the walk and the packet comparison, and writes JSON under files/devto/ctts_offsets.json. Today it exited 0. The official preview's SHA-256 was unchanged after the remux.
This imported preview also has video and audio edit lists whose media_time is 1024 — the same number as the first composition offset, but in two different discussions (the edit list is in the movie timescale's presentation window; ctts is a per-sample decode-to-compose shift in the video media timescale). I am not repeating that edit-list walk here. The distinctive number for this measurement is the maximum ctts offset: 2560 ticks, or 5.0 frames at 24 fps.
Top comments (0)