What bext is
Broadcast Wave Format (BWF), defined in EBU Tech 3285, is a normal WAV file with an extra bext chunk. It records a description, who made the file, when, a time reference for placing it on a timeline, a version number, an optional UMID, loudness values and a coding history. In the sample file it is the first chunk, before fmt .
The first 602 bytes of the payload have fixed sizes. The coding history fills the rest, so the chunk size is 602 plus the length of that text. The sample has 46 bytes of coding history, so its bext size is 648.
| Field | Payload offset | Hex view | Bytes |
|---|---|---|---|
| Description | 0 | 0x08 | 256 |
| Originator | 256 | 0x108 | 32 |
| OriginatorReference | 288 | 0x128 | 32 |
| OriginationDate, yyyy-mm-dd | 320 | 0x148 | 10 |
| OriginationTime, hh:mm:ss | 330 | 0x152 | 8 |
| TimeReference, two 32-bit halves | 338 | 0x15A | 8 |
| Version | 346 | 0x162 | 2 |
| UMID | 348 | 0x164 | 64 |
| LoudnessValue | 412 | 0x1A4 | 2 |
| LoudnessRange | 414 | 0x1A6 | 2 |
| MaxTruePeakLevel | 416 | 0x1A8 | 2 |
| MaxMomentaryLoudness | 418 | 0x1AA | 2 |
| MaxShortTermLoudness | 420 | 0x1AC | 2 |
| Reserved | 422 | 0x1AE | 180 |
| CodingHistory | 602 | 0x262 | rest of chunk |


bext in the sample file with the description selected. It starts at 0x08; zero bytes fill the rest of its 256 bytes.Time reference
TimeReference is a 64-bit count of samples since midnight, stored low half first. Divide by the sample rate for seconds. At 48 kHz, 10:00:00 is 36000 × 48000 = 1,728,000,000, stored as 00 30 ff 66 00 00 00 00. Editors use it to drop the file at the right point on a timeline.
Versions and loudness
Version 0 is the original layout. Version 1 adds the UMID. Version 2 adds the five loudness fields, each a signed 16-bit value equal to the measurement times 100. An integrated loudness of -23.00 LUFS is stored as -2300, bytes 04 f7. The sample is version 1, so its loudness bytes are zero.
Coding history
The coding history is plain text, one line per processing step, each ending in CR LF. EBU R 98 sets the line format, for example A=PCM,F=48000,W=24,M=stereo,T=..., where A is the coding, F the sample rate, W the word length and M the mode. The sample has one line ending in T=Online RIFF Tools.
The viewer shows bext as a single chunk with its bytes and ASCII text. It does not split the fields out, so use the offsets above.
Questions
What is a BWF file?
A WAV file with a bext chunk. It keeps the .wav extension, and players that ignore bext still play the audio.
How do I read the originator and date?
Select bext and read the ASCII column. The originator starts at 0x108 and the origination date at 0x148 in the hex view.
Why is the bext chunk at least 602 bytes?
The fixed fields add up to 602 bytes. Only the coding history after them varies in length.
Can ffmpeg write a bext chunk?
Yes. The ffmpeg WAV muxer has a -write_bext 1 option, which is off by default.
Open the RIFF Viewer with your own file, or download the sample used above.