Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
ddda29b4
Commit
ddda29b4
authored
Dec 29, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: add showspectrum filter.
parent
786f06e1
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
334 additions
and
3 deletions
+334
-3
Changelog
Changelog
+1
-1
configure
configure
+1
-0
filters.texi
doc/filters.texi
+14
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
avf_showspectrum.c
libavfilter/avf_showspectrum.c
+314
-0
version.h
libavfilter/version.h
+2
-2
No files found.
Changelog
View file @
ddda29b4
...
...
@@ -23,7 +23,7 @@ version next:
- RTMPTS protocol support
- RTMPE protocol support
- RTMPTE protocol support
- showwaves filter
- showwaves
and showspectrum
filter
- LucasArts SMUSH playback support
- SAMI, RealText and SubViewer demuxers and decoders
- Heart Of Darkness PAF playback support
...
...
configure
View file @
ddda29b4
...
...
@@ -1849,6 +1849,7 @@ pan_filter_deps="swresample"
removelogo_filter_deps
=
"avcodec avformat swscale"
scale_filter_deps
=
"swscale"
select_filter_deps
=
"avcodec"
showspectrum_filter_deps
=
"avcodec"
super2xsai_filter_deps
=
"gpl"
tinterlace_filter_deps
=
"gpl"
yadif_filter_deps
=
"gpl"
...
...
doc/filters.texi
View file @
ddda29b4
...
...
@@ -4252,6 +4252,20 @@ do not have exactly the same duration in the first file.
@end itemize
@section showspectrum
Convert input audio to a video output, representing the audio frequency
spectrum.
The filter accepts the following named parameters:
@table @option
@item size, s
Specify the video size for the output. Default value is @code{640x480}.
@end table
The usage is very similar to the showwaves filter; see the examples in that
section.
@section showwaves
Convert input audio to a video output, representing the samples waves.
...
...
libavfilter/Makefile
View file @
ddda29b4
...
...
@@ -202,6 +202,7 @@ OBJS-$(CONFIG_MP_FILTER) += libmpcodecs/pullup.o
# multimedia filters
OBJS-$(CONFIG_CONCAT_FILTER)
+=
avf_concat.o
OBJS-$(CONFIG_SHOWSPECTRUM_FILTER)
+=
avf_showspectrum.o
OBJS-$(CONFIG_SHOWWAVES_FILTER)
+=
avf_showwaves.o
# multimedia sources
...
...
libavfilter/allfilters.c
View file @
ddda29b4
...
...
@@ -143,6 +143,7 @@ void avfilter_register_all(void)
/* multimedia filters */
REGISTER_FILTER
(
CONCAT
,
concat
,
avf
);
REGISTER_FILTER
(
SHOWSPECTRUM
,
showspectrum
,
avf
);
REGISTER_FILTER
(
SHOWWAVES
,
showwaves
,
avf
);
/* multimedia sources */
...
...
libavfilter/avf_showspectrum.c
0 → 100644
View file @
ddda29b4
This diff is collapsed.
Click to expand it.
libavfilter/version.h
View file @
ddda29b4
...
...
@@ -29,8 +29,8 @@
#include "libavutil/avutil.h"
#define LIBAVFILTER_VERSION_MAJOR 3
#define LIBAVFILTER_VERSION_MINOR 1
1
#define LIBAVFILTER_VERSION_MICRO 10
1
#define LIBAVFILTER_VERSION_MINOR 1
2
#define LIBAVFILTER_VERSION_MICRO 10
0
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment