Mirror

Volodymyr Tkach 9590e48c1b Create LICENSE 2 years ago
testdata 154da699b9 Update 6 years ago
LICENSE 9590e48c1b Create LICENSE 2 years ago
README.md 882e48f1f1 Update README.md 2 years ago

README.md

notes-ffmpeg-waveforms

Installing ffmpeg on Linux Debian

apt-get install ffmpeg

# After this operation, 300 MB of additional disk space will be used.
# Do you want to continue? [Y/n]

Create red waves from audio file

ffmpeg -i ./testdata/test.wav \
	-filter_complex "showwavespic=s=898x120:colors=red" \
	-frames:v 1 ./testdata/test_red.png

Example red

Create green waves from audio file

ffmpeg -i ./testdata/test.wav \
	-filter_complex "showwavespic=s=898x120:colors=green" \
	-frames:v 1 ./testdata/test_green.png

Example green

This can be useful for some audio service (website or application) to get waveform image from audio file. For example for playback progress bar, soundcloud.com is the best example.

Useful links