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
89ef5868
Commit
89ef5868
authored
Jan 11, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/ffmpeg: extend documentation for the -filter options and -af/vf aliases
parent
c499d45c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
15 deletions
+24
-15
ffmpeg.texi
doc/ffmpeg.texi
+21
-12
ffmpeg_opt.c
ffmpeg_opt.c
+3
-3
No files found.
doc/ffmpeg.texi
View file @
89ef5868
...
...
@@ -334,13 +334,21 @@ Stop writing to the stream after @var{framecount} frames.
Use fixed quality scale (VBR). The meaning of @var
{
q
}
is
codec-dependent.
@anchor
{
filter
_
option
}
@item -filter[:@var
{
stream
_
specifier
}
] @var
{
filter
_
graph
}
(@emph
{
output,per-stream
}
)
Create the filter graph specified by @var
{
filter
_
graph
}
and use it to
filter the stream.
@var
{
filter
_
graph
}
is a description of the filter graph to apply to
the stream. Use @code
{
-filters
}
to show all the available filters
(including also sources and sinks).
the stream, and must have a single input and a single output of the
same type of the stream. In the filter graph, the input is associated
to the label @code
{
in
}
, and the output to the label @code
{
out
}
. See
the ffmpeg-filters manual for more information about the filtergraph
syntax.
See the @ref
{
filter
_
complex
_
option,,-filter
_
complex option
}
if you
want to create filter graphs with multiple inputs and/or outputs.
See also the @option
{
-filter
_
complex
}
option if you want to create filter graphs
with multiple inputs and/or outputs.
@item -pre[:@var
{
stream
_
specifier
}
] @var
{
preset
_
name
}
(@emph
{
output,per-stream
}
)
Specify the preset for matching stream(s).
...
...
@@ -487,11 +495,10 @@ stream
Set the ISO 639 language code (3 letters) of the current video stream.
@item -vf @var
{
filter
_
graph
}
(@emph
{
output
}
)
@var
{
filter
_
graph
}
is a description of the filter graph to apply to
the input video.
Use the option "-filters" to show all the available filters (including
also sources and sinks). This is an alias for @code
{
-filter:v
}
.
Create the filter graph specified by @var
{
filter
_
graph
}
and use it to
filter the stream.
This is an alias for @code
{
-filter:v
}
, see the @ref
{
filter
_
option,,-filter option
}
.
@end table
@section Advanced Video Options
...
...
@@ -581,11 +588,12 @@ Set the audio codec. This is an alias for @code{-codec:a}.
@item -sample
_
fmt[:@var
{
stream
_
specifier
}
] @var
{
sample
_
fmt
}
(@emph
{
output,per-stream
}
)
Set the audio sample format. Use @code
{
-sample
_
fmts
}
to get a list
of supported sample formats.
@item -af @var
{
filter
_
graph
}
(@emph
{
output
}
)
@var
{
filter
_
graph
}
is a description of the filter graph to apply
to
the input audio
.
Use the option "-filters" to show all the available filters (including
also sources and sinks). This is an alias for @code
{
-filter:a
}
.
Create the filter graph specified by @var
{
filter
_
graph
}
and use it
to
filter the stream
.
This is an alias for @code
{
-filter:a
}
, see the @ref
{
filter
_
option,,-filter option
}
.
@end table
@section Advanced Audio options:
...
...
@@ -928,6 +936,7 @@ Specify Timecode for writing. @var{SEP} is ':' for non drop timecode and ';'
ffmpeg -i input.mpg -timecode 01:02:03.04 -r 30000/1001 -s ntsc output.mpg
@end example
@anchor
{
filter
_
complex
_
option
}
@item -filter
_
complex @var
{
filtergraph
}
(@emph
{
global
}
)
Define a complex filter graph, i.e. one with arbitrary number of inputs and/or
outputs. For simple graphs -- those with one input and one output of the same
...
...
ffmpeg_opt.c
View file @
89ef5868
...
...
@@ -2463,7 +2463,7 @@ const OptionDef options[] = {
{
"profile"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_PERFILE
,
{
.
func_arg
=
opt_profile
},
"set profile"
,
"profile"
},
{
"filter"
,
HAS_ARG
|
OPT_STRING
|
OPT_SPEC
,
{
.
off
=
OFFSET
(
filters
)
},
"set stream filter
chain"
,
"filter_list
"
},
"set stream filter
graph"
,
"filter_graph
"
},
{
"reinit_filter"
,
HAS_ARG
|
OPT_INT
|
OPT_SPEC
,
{
.
off
=
OFFSET
(
reinit_filters
)
},
"reinit filtergraph on input parameter changes"
,
""
},
{
"filter_complex"
,
HAS_ARG
|
OPT_EXPERT
,
{
.
func_arg
=
opt_filter_complex
},
...
...
@@ -2537,7 +2537,7 @@ const OptionDef options[] = {
{
"vstats_file"
,
OPT_VIDEO
|
HAS_ARG
|
OPT_EXPERT
,
{
opt_vstats_file
},
"dump video coding statistics to file"
,
"file"
},
{
"vf"
,
OPT_VIDEO
|
HAS_ARG
|
OPT_PERFILE
,
{
.
func_arg
=
opt_video_filters
},
"
video filters"
,
"filter list
"
},
"
set video filters"
,
"filter_graph
"
},
{
"intra_matrix"
,
OPT_VIDEO
|
HAS_ARG
|
OPT_EXPERT
|
OPT_STRING
|
OPT_SPEC
,
{
.
off
=
OFFSET
(
intra_matrices
)
},
"specify intra matrix coeffs"
,
"matrix"
},
{
"inter_matrix"
,
OPT_VIDEO
|
HAS_ARG
|
OPT_EXPERT
|
OPT_STRING
|
OPT_SPEC
,
{
.
off
=
OFFSET
(
inter_matrices
)
},
...
...
@@ -2582,7 +2582,7 @@ const OptionDef options[] = {
{
"channel_layout"
,
OPT_AUDIO
|
HAS_ARG
|
OPT_EXPERT
|
OPT_PERFILE
,
{
.
func_arg
=
opt_channel_layout
},
"set channel layout"
,
"layout"
},
{
"af"
,
OPT_AUDIO
|
HAS_ARG
|
OPT_PERFILE
,
{
.
func_arg
=
opt_audio_filters
},
"
audio filters"
,
"filter list
"
},
"
set audio filters"
,
"filter_graph
"
},
/* subtitle options */
{
"sn"
,
OPT_SUBTITLE
|
OPT_BOOL
|
OPT_OFFSET
,
{
.
off
=
OFFSET
(
subtitle_disable
)
},
...
...
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