Vova Tkach 6 years ago
parent
commit
154da699b9
4 changed files with 19 additions and 0 deletions
  1. 19 0
      README.md
  2. BIN
      testdata/test.wav
  3. BIN
      testdata/test_green.png
  4. BIN
      testdata/test_red.png

+ 19 - 0
README.md

@@ -1 +1,20 @@
 # 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](https://raw.githubusercontent.com/vladimirok5959/notes-ffmpeg-waveforms/master/testdata/test_red.png)
+
+## 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](https://raw.githubusercontent.com/vladimirok5959/notes-ffmpeg-waveforms/master/testdata/test_green.png)

BIN
testdata/test.wav


BIN
testdata/test_green.png


BIN
testdata/test_red.png