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
d771b1d1
Commit
d771b1d1
authored
Aug 18, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: EBU R.128 scanner.
parent
81bbce9c
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
799 additions
and
1 deletion
+799
-1
Changelog
Changelog
+1
-0
configure
configure
+1
-0
filters.texi
doc/filters.texi
+47
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
f_ebur128.c
libavfilter/f_ebur128.c
+747
-0
version.h
libavfilter/version.h
+1
-1
No files found.
Changelog
View file @
d771b1d1
...
@@ -3,6 +3,7 @@ releases are sorted from youngest to oldest.
...
@@ -3,6 +3,7 @@ releases are sorted from youngest to oldest.
version next:
version next:
- stream disposition information printing in ffprobe
- stream disposition information printing in ffprobe
- filter for loudness analysis following EBU R128
version 1.0:
version 1.0:
...
...
configure
View file @
d771b1d1
...
@@ -1901,6 +1901,7 @@ decimate_filter_deps="gpl avcodec"
...
@@ -1901,6 +1901,7 @@ decimate_filter_deps="gpl avcodec"
delogo_filter_deps
=
"gpl"
delogo_filter_deps
=
"gpl"
deshake_filter_deps
=
"avcodec"
deshake_filter_deps
=
"avcodec"
drawtext_filter_deps
=
"libfreetype"
drawtext_filter_deps
=
"libfreetype"
ebur128_filter_deps
=
"gpl"
flite_filter_deps
=
"libflite"
flite_filter_deps
=
"libflite"
frei0r_filter_deps
=
"frei0r dlopen"
frei0r_filter_deps
=
"frei0r dlopen"
frei0r_filter_extralibs
=
'$ldl'
frei0r_filter_extralibs
=
'$ldl'
...
...
doc/filters.texi
View file @
d771b1d1
...
@@ -4480,6 +4480,53 @@ setpts=PTS+10/TB
...
@@ -4480,6 +4480,53 @@ setpts=PTS+10/TB
@end example
@end example
@end itemize
@end itemize
@section ebur128
EBU R128 scanner filter. This filter takes an audio stream as input and outputs
it unchanged. By default, it logs a message at a frequency of 10Hz with the
Momentary loudness (identified by @code{M}), Short-term loudness (@code{S}),
Integrated loudness (@code{I}) and Loudness Range (@code{LRA}).
The filter also has a video output (see the @var{video} option) with a real
time graph to observe the loudness evolution. The graphic contains the logged
message mentioned above, so it is not printed anymore when this option is set,
unless the verbose logging is set. The main graphing area contains the
short-term loudness (3 seconds of analysis), and the gauge on the right is for
the momentary loudness (400 milliseconds).
More information about the Loudness Recommendation EBU R128 on
@url{http://tech.ebu.ch/loudness}.
The filter accepts the following named parameters:
@table @option
@item video
Activate the video output. The audio stream is passed unchanged whether this
option is set or no. The video stream will be the first output stream if
activated. Default is @code{0}.
@item size
Set the video size. This option is for video only. Default and minimum
resolution is @code{640x480}.
@item meter
Set the EBU scale meter. Default is @code{9}. Common values are @code{9} and
@code{18}, respectively for EBU scale meter +9 and EBU scale meter +18. Any
other integer value between this range is allowed.
@end table
Example of real-time graph using @command{ffplay}, with a EBU scale meter +18:
@example
ffplay -f lavfi -i "amovie=input.mp3,ebur128=video=1:meter=18 [out0][out1]"
@end example
Run an analysis with @command{ffmpeg}:
@example
ffmpeg -nostats -i input.mp3 -filter_complex ebur128 -f null -
@end example
@section settb, asettb
@section settb, asettb
Set the timebase to use for the output frames timestamps.
Set the timebase to use for the output frames timestamps.
...
...
libavfilter/Makefile
View file @
d771b1d1
...
@@ -66,6 +66,7 @@ OBJS-$(CONFIG_ATEMPO_FILTER) += af_atempo.o
...
@@ -66,6 +66,7 @@ OBJS-$(CONFIG_ATEMPO_FILTER) += af_atempo.o
OBJS-$(CONFIG_CHANNELMAP_FILTER)
+=
af_channelmap.o
OBJS-$(CONFIG_CHANNELMAP_FILTER)
+=
af_channelmap.o
OBJS-$(CONFIG_CHANNELSPLIT_FILTER)
+=
af_channelsplit.o
OBJS-$(CONFIG_CHANNELSPLIT_FILTER)
+=
af_channelsplit.o
OBJS-$(CONFIG_EARWAX_FILTER)
+=
af_earwax.o
OBJS-$(CONFIG_EARWAX_FILTER)
+=
af_earwax.o
OBJS-$(CONFIG_EBUR128_FILTER)
+=
f_ebur128.o
OBJS-$(CONFIG_JOIN_FILTER)
+=
af_join.o
OBJS-$(CONFIG_JOIN_FILTER)
+=
af_join.o
OBJS-$(CONFIG_PAN_FILTER)
+=
af_pan.o
OBJS-$(CONFIG_PAN_FILTER)
+=
af_pan.o
OBJS-$(CONFIG_RESAMPLE_FILTER)
+=
af_resample.o
OBJS-$(CONFIG_RESAMPLE_FILTER)
+=
af_resample.o
...
...
libavfilter/allfilters.c
View file @
d771b1d1
...
@@ -58,6 +58,7 @@ void avfilter_register_all(void)
...
@@ -58,6 +58,7 @@ void avfilter_register_all(void)
REGISTER_FILTER
(
CHANNELMAP
,
channelmap
,
af
);
REGISTER_FILTER
(
CHANNELMAP
,
channelmap
,
af
);
REGISTER_FILTER
(
CHANNELSPLIT
,
channelsplit
,
af
);
REGISTER_FILTER
(
CHANNELSPLIT
,
channelsplit
,
af
);
REGISTER_FILTER
(
EARWAX
,
earwax
,
af
);
REGISTER_FILTER
(
EARWAX
,
earwax
,
af
);
REGISTER_FILTER
(
EBUR128
,
ebur128
,
af
);
REGISTER_FILTER
(
JOIN
,
join
,
af
);
REGISTER_FILTER
(
JOIN
,
join
,
af
);
REGISTER_FILTER
(
PAN
,
pan
,
af
);
REGISTER_FILTER
(
PAN
,
pan
,
af
);
REGISTER_FILTER
(
SILENCEDETECT
,
silencedetect
,
af
);
REGISTER_FILTER
(
SILENCEDETECT
,
silencedetect
,
af
);
...
...
libavfilter/f_ebur128.c
0 → 100644
View file @
d771b1d1
This diff is collapsed.
Click to expand it.
libavfilter/version.h
View file @
d771b1d1
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#include "libavutil/avutil.h"
#include "libavutil/avutil.h"
#define LIBAVFILTER_VERSION_MAJOR 3
#define LIBAVFILTER_VERSION_MAJOR 3
#define LIBAVFILTER_VERSION_MINOR 1
8
#define LIBAVFILTER_VERSION_MINOR 1
9
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
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