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)

test.wav (1.4 MB ) - added by Danny Weijermans 22 months ago.
wav soundfile containing a loop-start and -end in the 'smpl' chunk

Download all attachments as: .zip

Change History (3)

by Danny Weijermans, 22 months ago

Attachment: test.wav added

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

comment:1 by MasterQuestionable, 22 months ago

Cc: MasterQuestionable added
Component: undeterminedavformat
Keywords: wav added; ffmpeg pan ignore removed
Summary: ffmpeg pan=mono ignores 'smpl' chunk in wav filesSupport "smpl" chunk in WAV
Type: defectenhancement
Version: unspecifiedgit-master

͏    Much related?
͏    https://trac.ffmpeg.org/ticket/11278
͏    (no support for "smpl" at all)

comment:2 by Danny Weijermans, 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..

Note: See TracTickets for help on using tickets.