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
ab296097
Commit
ab296097
authored
12 years ago
by
Anton Khirnov
Browse files
Options
Downloads
Patches
Plain Diff
avconv: allow no input files.
It is now possible to use lavfi sources.
parent
a5fd7c60
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
avconv.c
+0
-5
0 additions, 5 deletions
avconv.c
doc/avconv.texi
+8
-0
8 additions, 0 deletions
doc/avconv.texi
with
8 additions
and
5 deletions
avconv.c
+
0
−
5
View file @
ab296097
...
...
@@ -2431,11 +2431,6 @@ int main(int argc, char **argv)
exit_program
(
1
);
}
if
(
nb_input_files
==
0
)
{
av_log
(
NULL
,
AV_LOG_FATAL
,
"At least one input file must be specified
\n
"
);
exit_program
(
1
);
}
ti
=
getutime
();
if
(
transcode
()
<
0
)
exit_program
(
1
);
...
...
This diff is collapsed.
Click to expand it.
doc/avconv.texi
+
8
−
0
View file @
ab296097
...
...
@@ -805,6 +805,9 @@ the matching type.
Output link labels are referred to with @option
{
-map
}
. Unlabeled outputs are
added to the first output file.
Note that with this option it is possible to use only lavfi sources without
normal input files.
For example, to overlay an image over video
@example
avconv -i video.mkv -i image.png -filter
_
complex '[0:v][1:v]overlay[out]' -map
...
...
@@ -827,6 +830,11 @@ graph will be added to the output file automatically, so we can simply write
@example
avconv -i video.mkv -i image.png -filter
_
complex 'overlay' out.mkv
@end example
To generate 5 seconds of pure red video using lavfi @code
{
color
}
source:
@example
avconv -filter
_
complex 'color=red' -t 5 out.mkv
@end example
@end table
@c man end OPTIONS
...
...
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