Opened 22 months ago
Last modified 22 months ago
#11301 new enhancement
Support "smpl" chunk in WAV
| Reported by: | Danny Weijermans | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | wav smpl chunk |
| Cc: | MasterQuestionable | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
when using ffmpeg for splitting to mono files
(for example, to get only the left channel:
ffmpeg -i test.wav -af "pan=mono|c0=c0" testmono.wav
)
the resulting wav file ignores any 'smpl' chunk.
(which can contain loop information)
I'll add a test.wav file containing a loop in the 'smpl' chunk.
Attachments (1)
Change History (3)
by , 22 months ago
comment:1 by , 22 months ago
| Cc: | added |
|---|---|
| Component: | undetermined → avformat |
| Keywords: | wav added; ffmpeg pan ignore removed |
| Summary: | ffmpeg pan=mono ignores 'smpl' chunk in wav files → Support "smpl" chunk in WAV |
| Type: | defect → enhancement |
| Version: | unspecified → git-master |
͏ Much related?
͏ https://trac.ffmpeg.org/ticket/11278
͏ (no support for "smpl" at all)
comment:2 by , 22 months ago
yes, related, but:
to ignore the 'smpl' chunk
is like ignoring any chunk:
it's 'throwing away' information:
are all other chunks (like metadata)
ignored as well?
I understand that
playing 'smpl' spec is a very specific request,
but making sure output = input with conversion
is a must I feel..



wav soundfile containing a loop-start and -end in the 'smpl' chunk