[FFmpeg-user] show the audio waveform of a file

Michael Koch astroelectronic at t-online.de
Wed Aug 25 12:20:29 EEST 2021


Hi,

is it possible to convert the waveform of an entire audio file (or a 
segment of it) to a picture?
The "showwavespic" filter has the problem that for each sample it draws 
a line from +level to -level. For example, if the input is a +0.5 DC 
signal, I can't decide from the output picture if the level was +0.5 or 
-0.5. I need a filter that draws only a pixel for each sample. Like an 
oscilloscope.

Michael



More information about the ffmpeg-user mailing list