#8872 closed enhancement (fixed)
implement Cue-Points Chunk for WAV files (RIFF)
| Reported by: | Christoph Rackwitz | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avformat |
| Version: | git-master | Keywords: | wav |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
it appears to me that ffmpeg is unaware of 'cue ' chunks in wav files, for reading and writing. ffmpeg supports cues or chapter markers for other container formats.
this involves
- a 'cue ' chunk that contains a table of timestamps (the 'fmt ' chunk may be useful to convert sample indices to times)
- a 'list' 'adtl' chunk that contains 'labl' chunks
- 'labl' chunks that each contain an index and a string label, which describes the given cue point
the RIFF/WAV file specification details the structures of these chunks. I suspect that this doesn't just apply to wav files but also avi files.
I'll attach a sample file that contains a few cue points.
Attachments (2)
Change History (8)
by , 6 years ago
| Attachment: | 200828-005.wav added |
|---|
by , 6 years ago
| Attachment: | 200828-005.wav -- RIFF dump added |
|---|
"free form" text description of the file's structure, contains decoded cue points and labl chunks
comment:1 by , 6 years ago
I've found one other file where the adtl list contains not just labl chunks but also note and ltxt chunks. the note chunks contained empty strings. the ltxt chunks contained an rgn purpose.
comment:2 by , 6 years ago
| Keywords: | wav added |
|---|---|
| Priority: | normal → wish |
comment:4 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:6 by , 6 years ago
| Component: | undetermined → avformat |
|---|---|
| Version: | unspecified → git-master |



sample file containing cue points