DEV Community

Peiguan
Peiguan

Posted on

Why Do Three Public Tiny Desk AI Samples Have No Colour Tags, and How Do You Label Them bt709/tv Without Re-Encoding? (ffmpeg, Tested)

I pulled the eight public Tiny Desk Outstanding samples and asked ffprobe a simple question: what colour space, primaries, transfer, and range does each file declare? Five of them answer bt709 / bt709 / bt709 / tv. Three of them answer nothing at all. One of those three is the official reference clip, db09b1c5.

This is a measurement on the public files. I did not use a paid studio render. The product, for context, is a 15-second vertical remake with the original soundtrack at tinydeskoutstanding.video. As of 24 November 2026, a single run is $9.98 at 480p (998 credits), $12.98 at 720p (1,298), $24.98 at 1080p (2,498), or $39.98 at 4K (3,998). I am quoting the pricing page, which still says those tables were recorded on November 12, 2026; the generator shows the current charge. The amounts have not changed since I last checked.

What ffprobe prints

I ran ffprobe -show_streams on all eight public MP4s. For colour I looked at color_space, color_primaries, color_transfer, and color_range.

Tagged bt709 / bt709 / bt709 / tv:

  • 0299078c
  • 632c0129
  • 947f5eb2
  • db033545
  • f7ff5268

No colour tags (all four fields unset):

  • 8256cd87
  • 875d2458
  • db09b1c5 — the official 720×1280 reference, 435 frames, container duration 14.506 s, video 14.500 s

The missing tags are not a different pixel format. All eight files are yuv420p, 8-bit, 720×1280. A player that assumes bt.709 and limited (tv) range will often look fine. A player or a later filter that treats “unset” as full range, or as an unknown / sRGB / jpeg range, can shift the blacks. I wanted to label the official reference without touching a single luma or chroma sample.

Tagging the official reference without a re-encode

The H.264 bitstream filter h264_metadata can write VUI colour fields. The MP4 muxer can write the same values on the track. Together:

ffmpeg -i db09b1c5.mp4 -c copy \
  -bsf:v h264_metadata=colour_primaries=1:transfer_characteristics=1:matrix_coefficients=1:video_full_range_flag=0 \
  -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv \
  db09b1c5_tagged_bt709_tv.mp4
Enter fullscreen mode Exit fullscreen mode

1 is the H.264 code for BT.709 primaries, transfer, and matrix. video_full_range_flag=0 is limited range.

ffmpeg printed a warning I want to be honest about: 4 bytes left at end of AVCC header. The command still exited 0. I did not ignore the warning; I checked the pixels.

What changed, and what did not

Official reference After -c copy + h264_metadata
File size 4,258,704 bytes 4,258,732 bytes (+28)
Container duration 14.506000 s 14.506000 s
Video duration 14.500000 s 14.500000 s
Audio duration 14.506000 s 14.506000 s
Frames 435 435
color_space / primaries / transfer / range unset bt709 / bt709 / bt709 / tv
Raw video MD5 (ffmpeg -map 0:v -c copy -f md5) 86b0082694c375785f866ba2f629b644 86b0082694c375785f866ba2f629b644
Raw audio MD5 6b187e27fe39772dec0e75dc747a0cf3 6b187e27fe39772dec0e75dc747a0cf3

The 28 extra bytes are the tags. The picture and the soundtrack are bit-identical to the source.

I used bt.709 / tv because that is what the other five public samples already declare, and because these are 8-bit 4:2:0 HD-resolution clips. I did not measure a display. If you have a reason to tag one of these files as full range, measure first; I am not claiming the unset files were “wrong,” only that they were unlabeled, and that the label can be added without a transcode.

A small Python helper that prints the four colour fields and, optionally, runs the copy command lives with this post's notes. The official reference is public on tinydeskoutstanding.video. If you tag a file you paid for, keep the original beside the tagged copy until you have checked the MD5s yourself.

Top comments (0)