Page 1 of 1

BWF Peak Enveloper Chunk with FFmpeg

Posted: Mon Apr 20, 2015 3:52 pm
by peter_b
Since 2013, FFmpeg can create the "Peak Envelope Chunk" (levl) in Broadcast Wave Files (BWF).
To see if and which options your FFmpeg version supports, use the following command:

Code: Select all

$ ffmpeg --help muxer=wav full
The NOA Audio Solutions archiving systems uses this envelope chunk without payload as standalone "Peakfiles" (.lpk).
They can be created as follows:

Code: Select all

$ ffmpeg -i audiofile.wav -f wav -write_peak only audiofile.wav.lpk
In order to create such a peakfile for a video, use the following command:

Code: Select all

$ ffmpeg -i videofile.avi -vn -f wav -write_peak only videofile.avi.lpk