Paul B Mahol
70463b7026
avfilter/avf_showspectrum: add terrain color map
2018-11-08 17:59:48 +01:00
Paul B Mahol
09fdfc11b7
avfilter/avf_showspectrum: add cividis colormap
2018-11-08 15:08:43 +01:00
Paul B Mahol
0c6d4e7ba4
avfilter/avf_showspectrum: add plasma color map
2018-11-07 18:56:21 +01:00
Paul B Mahol
ed58db4237
avfilter/avf_showspectrum: add viridis color map
2018-11-07 17:55:34 +01:00
Paul B Mahol
975510758c
avfilter/avf_showspectrum: improve magma colors
2018-11-07 17:18:44 +01:00
Paul B Mahol
40ac622460
avfilter/window_func: add bohman window
2018-10-27 13:36:00 +02:00
Paul B Mahol
9c120b4d42
avfilter/avf_showspectrum: add legend support to showspectrum filter
2018-10-07 12:18:55 +02:00
Paul B Mahol
c98ffa086c
avfilter/avf_showspectrum: switch to activate and add fps option
2018-10-06 20:30:12 +02:00
Paul B Mahol
50a2347b19
avfilter/avf_showspectrum: increase padding size for low sample rates
2018-10-05 15:23:02 +02:00
Paul B Mahol
fe447c0609
avfilter/avf_showspectrum: add zoom mode to showspectrumpic
2018-10-05 14:23:48 +02:00
Paul B Mahol
3e687be4fa
avfilter/avf_showspectrum: add green color map
2018-10-05 12:00:57 +02:00
Paul B Mahol
d39fae0886
avfilter/avf_showspectrum: fix scaling in zoom mode
2018-10-05 00:15:26 +02:00
Paul B Mahol
196dd13c76
avfilter/avf_showspectrum: implement zoom mode
2018-10-04 23:51:22 +02:00
Paul B Mahol
91cc3aa8b1
avfilter/avf_showspectrum: add magma color map
2018-09-15 14:08:49 +02:00
Paul B Mahol
49eda27c6e
avfilter/avf_showspectrum: also show sample rate and channel layout
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-06-03 12:43:43 +02:00
Paul B Mahol
9add1786ad
avfilter/avf_showspectrum: avoid overwritting text
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-06-03 12:26:43 +02:00
Paul B Mahol
d0bf1aa3c5
avfilter/avf_showspectrum: improve axes drawing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-06-03 12:06:35 +02:00
Rostislav Pehlivanov
039ebaa5f3
lavfi: make window_func an inline function
...
Eliminate lavc->lavfi dependency. The function isn't big and doesn't
deserve its own file.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-09-23 14:35:06 +01:00
Paul B Mahol
f85cad799b
avfilter: properly set SAR for A->V filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-06-13 15:10:58 +02:00
Paul B Mahol
49d0678181
avfilter/avf_showspectrum: properly initialize pts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-05-22 11:06:48 +02:00
Paul B Mahol
ed93ed5ee3
avfilter: don't anonymously typedef structs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-05-13 11:39:28 +02:00
Muhammad Faiz
6af050d7d0
avfilter: do not use AVFrame accessor
...
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-04-23 14:40:30 +07:00
Paul B Mahol
836c8750b3
avfilter/avf_showspectrum: fix 2 possible crashes
...
Make sure no division by zero is done.
Make sure there are actually samples available.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-01-27 13:37:00 +01:00
Michael Niedermayer
61164112a5
avfilter/avf_showspectrum: Fix memleak of text allocated by av_asprintf()
...
Fixes CID1396261
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-01-21 23:07:02 +01:00
Carl Eugen Hoyos
d44af9a38e
lavfi: Fix aix compilation.
...
Rename hz in af_apulsator.c and avf_showspectrum.c as hertz.
The aix header sys/m_param.h defines hz as __hz.
2016-12-01 09:53:38 +01:00
Carl Eugen Hoyos
70f4b453cb
doc/showspectrum*: Change options order to reflect numeric values.
...
Fixes ticket #5823 .
2016-09-06 11:52:10 +02:00
Paul B Mahol
b3c6e89d48
avfilter/avf_showspectrum: do not use uninitialized memory
2016-08-18 18:40:00 +02:00
Paul B Mahol
345c252e9c
avfilter/avf_showspectrum: unbreak dB legend
2016-08-17 22:02:29 +02:00
Paul B Mahol
b438c2025c
avfilter/window_func: add cauchy, parzen and poisson window function
2016-08-16 18:09:50 +02:00
Paul B Mahol
1457786d69
avfilter/avf_showspectrum: do not let multiple threads to write to same part of memory
2016-08-16 15:56:12 +02:00
Paul B Mahol
ea58dd2beb
avfilter/window_func: add dolph window
2016-08-16 15:56:12 +02:00
Paul B Mahol
ce5ba77079
avfilter/avf_showspectrum: add some multithreading support
2016-08-15 13:17:06 +02:00
Paul B Mahol
571f33de0a
avfilter/avf_showspectrum: improve dB scale description
2016-08-07 20:21:52 +02:00
Paul B Mahol
04a8bbca92
avfilter/avf_showspectrum: add color rotation feature
...
Mostly useful with channel color scheme.
2016-08-05 12:18:56 +02:00
Paul B Mahol
13ea7c9780
avfilter/avf_showspectrum: improve pts handling
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-12 17:14:30 +01:00
Paul B Mahol
4e17efd852
avfilter/avf_showfreqs/showspectrum: rename skip_samples to hop_size
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-18 19:38:14 +01:00
Paul B Mahol
57df71eaf7
avfilter/avf_showspectrum: reduce number of operations
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-12 21:21:50 +01:00
Paul B Mahol
2009d922db
avfilter/avf_showspectrum: add posibility to display phase
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-12 21:21:50 +01:00
Timothy Gu
53d6bf6627
avf_showspectrum: Silence "deprecated pixel format" warning
2016-01-09 15:32:31 -08:00
Paul B Mahol
cbad37e5bf
avfilter/avf_showspectrum: set color range to frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-09 20:09:52 +01:00
Paul B Mahol
a69cf50dca
avfilter/avf_showspectrum: add cool color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-08 18:01:11 +01:00
Paul B Mahol
08aec7c1bd
avfilter/avf_showspectrum: add option to draw legend
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-08 11:51:46 +01:00
Ganesh Ajjanagadde
2fbdc4faf1
lavfi/avf_showspectrum: replace pow(x, 0.25) by sqrt(sqrt(x))
...
This is faster; precision assured as result is a float.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2016-01-07 16:57:20 -08:00
Paul B Mahol
c13216ac08
avfilter/window_func: add tukey window function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-05 11:37:11 +01:00
Paul B Mahol
c31fa1d7b4
avfilter/avf_showspectrum: use av_clip/lrintf
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-05 10:07:59 +01:00
Paul B Mahol
0d3b31ae89
avfilter/avf_showspectrum: add yet another color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-05 10:07:58 +01:00
Paul B Mahol
6defda1cdb
avfilter/avf_showspectrum: add option to set gain for calculating color intensity
...
Inspired by Sonic Visualizer.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-04 14:06:51 +01:00
Paul B Mahol
0a451082c7
avfilter/avf_showspectrum: finally fix log scaler
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-03 23:09:43 +01:00
Paul B Mahol
14caf9667e
avfilter/avf_showspectrum: switch to FFT
...
Rationale: supports >16 bit audio, more than 96dB SNR.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-03 23:09:43 +01:00
Paul B Mahol
af018d802d
avfilter/avf_showspectrum: add 4th and 5th root scaler
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-02 18:53:09 +01:00