Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
7ce118ba
Commit
7ce118ba
authored
12 years ago
by
Anton Khirnov
Browse files
Options
Downloads
Patches
Plain Diff
doc/filters: update documentation.
parent
9e8aae44
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/filters.texi
+8
-10
8 additions, 10 deletions
doc/filters.texi
with
8 additions
and
10 deletions
doc/filters.texi
+
8
−
10
View file @
7ce118ba
...
@@ -17,10 +17,11 @@ output pads is called a "sink".
...
@@ -17,10 +17,11 @@ output pads is called a "sink".
@anchor{Filtergraph syntax}
@anchor{Filtergraph syntax}
@section Filtergraph syntax
@section Filtergraph syntax
A filtergraph can be represented using a textual representation, which
A filtergraph can be represented using a textual representation, which is
is recognized by the @code{-vf} and @code{-af} options in @command{avconv}
recognized by the @option{-filter}/@option{-vf} and @option{-filter_complex}
and @command{avplay}, and by the @code{av_parse_graph()} function defined in
options in @command{avconv} and @option{-vf} in @command{avplay}, and by the
@file{libavfilter/avfiltergraph}.
@code{avfilter_graph_parse()}/@code{avfilter_graph_parse2()} function defined in
@file{libavfilter/avfiltergraph.h}.
A filterchain consists of a sequence of connected filters, each one
A filterchain consists of a sequence of connected filters, each one
connected to the previous one in the sequence. A filterchain is
connected to the previous one in the sequence. A filterchain is
...
@@ -1125,15 +1126,12 @@ Follow some examples:
...
@@ -1125,15 +1126,12 @@ Follow some examples:
overlay=main_w-overlay_w-10:main_h-overlay_h-10
overlay=main_w-overlay_w-10:main_h-overlay_h-10
# insert a transparent PNG logo in the bottom left corner of the input
# insert a transparent PNG logo in the bottom left corner of the input
movie=logo.png [logo];
avconv -i input -i logo -filter_complex 'overlay=10:main_h-overlay_h-10' output
[in][logo] overlay=10:main_h-overlay_h-10 [out]
# insert 2 different transparent PNG logos (second logo on bottom
# insert 2 different transparent PNG logos (second logo on bottom
# right corner):
# right corner):
movie=logo1.png [logo1];
avconv -i input -i logo1 -i logo2 -filter_complex
movie=logo2.png [logo2];
'overlay=10:H-h-10,overlay=W-w-10:H-h-10' output
[in][logo1] overlay=10:H-h-10 [in+logo1];
[in+logo1][logo2] overlay=W-w-10:H-h-10 [out]
# add a transparent color layer on top of the main video,
# add a transparent color layer on top of the main video,
# WxH specifies the size of the main input to the overlay filter
# WxH specifies the size of the main input to the overlay filter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment