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
9806dda8
Commit
9806dda8
authored
13 years ago
by
Stefano Sabatini
Browse files
Options
Downloads
Patches
Plain Diff
ffprobe: create a dedicated "Writers" section in the manual
Also update documentation related to the output format.
parent
eff7684b
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/ffprobe.texi
+46
-11
46 additions, 11 deletions
doc/ffprobe.texi
with
46 additions
and
11 deletions
doc/ffprobe.texi
+
46
−
11
View file @
9806dda8
...
@@ -42,18 +42,11 @@ for specifying which information to display, and for setting how
...
@@ -42,18 +42,11 @@ for specifying which information to display, and for setting how
ffprobe will show it.
ffprobe will show it.
ffprobe output is designed to be easily parsable by a textual filter,
ffprobe output is designed to be easily parsable by a textual filter,
and consists of one or more sections of the form:
and consists of one or more sections of a form defined by the selected
@example
writer, which is specified by the @option
{
print
_
format
}
option.
[SECTION]
key1=val1
...
keyN=valN
[/SECTION]
@end example
Metadata tags stored in the container or in the streams are recognized
Metadata tags stored in the container or in the streams are recognized
and printed in the corresponding "FORMAT" or "STREAM" section, and
and printed in the corresponding "FORMAT" or "STREAM" section.
are prefixed by the string "TAG:".
@c man end
@c man end
...
@@ -89,7 +82,14 @@ options "-unit -prefix -byte_binary_prefix -sexagesimal".
...
@@ -89,7 +82,14 @@ options "-unit -prefix -byte_binary_prefix -sexagesimal".
@item -print
_
format @var
{
format
}
@item -print
_
format @var
{
format
}
Set the output printing format.
Set the output printing format.
Current available formats are "default" and "json".
For example for printing the output in JSON format, specify:
@example
-print
_
format json
@end example
For more details on the available output printing formats, see the
Writers section below.
@item -show
_
format
@item -show
_
format
Show information about the container format of the input multimedia
Show information about the container format of the input multimedia
...
@@ -118,6 +118,41 @@ Read @var{input_file}.
...
@@ -118,6 +118,41 @@ Read @var{input_file}.
@end table
@end table
@c man end
@c man end
@chapter Writers
@c man begin WRITERS
A writer defines the output format adopted by @file
{
ffprobe
}
, and will be
used for printing all the parts of the output.
A writer may accept one or more arguments, which specify the options to
adopt.
A description of the currently available writers follows.
@section default
Default format.
Print each section in the form:
@example
[SECTION]
key1=val1
...
keyN=valN
[/SECTION]
@end example
Metadata tags are printed as a line in the corresponding FORMAT or
STREAM section, and are prefixed by the string "TAG:".
@section json
JSON based format.
Each section is printed using JSON notation.
For more information about JSON, see @url
{
http://www.json.org/
}
.
@c man end WRITERS
@include decoders.texi
@include decoders.texi
@include demuxers.texi
@include demuxers.texi
@include protocols.texi
@include protocols.texi
...
...
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