Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
40ea006b
Commit
40ea006b
authored
Mar 16, 2013
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: make -lavfi an alias for -filter_complex.
parent
975fbd43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
ffmpeg.texi
doc/ffmpeg.texi
+7
-0
ffmpeg_opt.c
ffmpeg_opt.c
+2
-0
No files found.
doc/ffmpeg.texi
View file @
40ea006b
...
@@ -167,6 +167,8 @@ Complex filtergraphs are configured with the @option{-filter_complex} option.
...
@@ -167,6 +167,8 @@ Complex filtergraphs are configured with the @option{-filter_complex} option.
Note that this option is global, since a complex filtergraph by its nature
Note that this option is global, since a complex filtergraph by its nature
cannot be unambiguously associated with a single stream or file.
cannot be unambiguously associated with a single stream or file.
The @option
{
-lavfi
}
option is equivalent to @option
{
-filter
_
complex
}
.
A trivial example of a complex filtergraph is the @code
{
overlay
}
filter, which
A trivial example of a complex filtergraph is the @code
{
overlay
}
filter, which
has two video inputs and one video output, containing one video overlaid on top
has two video inputs and one video output, containing one video overlaid on top
of the other. Its audio counterpart is the @code
{
amix
}
filter.
of the other. Its audio counterpart is the @code
{
amix
}
filter.
...
@@ -1032,6 +1034,11 @@ To generate 5 seconds of pure red video using lavfi @code{color} source:
...
@@ -1032,6 +1034,11 @@ To generate 5 seconds of pure red video using lavfi @code{color} source:
@example
@example
ffmpeg -filter
_
complex 'color=c=red' -t 5 out.mkv
ffmpeg -filter
_
complex 'color=c=red' -t 5 out.mkv
@end example
@end example
@item -lavfi @var
{
filtergraph
}
(@emph
{
global
}
)
Define a complex filter graph, i.e. one with arbitrary number of inputs and/or
outputs. Equivalent to @option
{
-filter
_
complex
}
.
@end table
@end table
As a special exception, you can use a bitmap subtitle stream as input: it
As a special exception, you can use a bitmap subtitle stream as input: it
...
...
ffmpeg_opt.c
View file @
40ea006b
...
@@ -2603,6 +2603,8 @@ const OptionDef options[] = {
...
@@ -2603,6 +2603,8 @@ const OptionDef options[] = {
"reinit filtergraph on input parameter changes"
,
""
},
"reinit filtergraph on input parameter changes"
,
""
},
{
"filter_complex"
,
HAS_ARG
|
OPT_EXPERT
,
{
.
func_arg
=
opt_filter_complex
},
{
"filter_complex"
,
HAS_ARG
|
OPT_EXPERT
,
{
.
func_arg
=
opt_filter_complex
},
"create a complex filtergraph"
,
"graph_description"
},
"create a complex filtergraph"
,
"graph_description"
},
{
"lavfi"
,
HAS_ARG
|
OPT_EXPERT
,
{
.
func_arg
=
opt_filter_complex
},
"create a complex filtergraph"
,
"graph_description"
},
{
"stats"
,
OPT_BOOL
,
{
&
print_stats
},
{
"stats"
,
OPT_BOOL
,
{
&
print_stats
},
"print progress report during encoding"
,
},
"print progress report during encoding"
,
},
{
"attach"
,
HAS_ARG
|
OPT_PERFILE
|
OPT_EXPERT
|
{
"attach"
,
HAS_ARG
|
OPT_PERFILE
|
OPT_EXPERT
|
...
...
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