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
196765a7
Commit
196765a7
authored
Sep 17, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: implement subsection field selection through the -show_entries option
parent
f67ebf5b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
241 additions
and
40 deletions
+241
-40
Changelog
Changelog
+1
-0
ffprobe.texi
doc/ffprobe.texi
+53
-0
ffprobe.c
ffprobe.c
+187
-40
No files found.
Changelog
View file @
196765a7
...
...
@@ -27,6 +27,7 @@ version <next>:
- AST demuxer
- new expansion syntax for drawtext
- BRender PIX image decoder
- ffprobe -show_entries option
version 1.0:
...
...
doc/ffprobe.texi
View file @
196765a7
...
...
@@ -133,6 +133,59 @@ Like @option{-show_format}, but only prints the specified entry of the
container format information, rather than all. This option may be given more
than once, then all specified entries will be shown.
This option is deprecated, use @code
{
show
_
entries
}
instead.
@item -show
_
entries @var
{
section
_
entries
}
Set list of entries to show.
Entries are specified according to the following
syntax. @var
{
section
_
entries
}
contains a list of section entries
separated by @code
{
:
}
. Each section entry is composed by a section
name (or unique name), optionally followed by a list of entries local
to that section, separated by @code
{
,
}
.
If section name is specified but is followed by no @code
{
=
}
, all
entries are printed to output, together with all the contained
sections. Otherwise only the entries specified in the local section
entries list are printed. In particular, if @code
{
=
}
is specified but
the list of local entries is empty, then no entries will be shown for
that section.
Note that the order of specification of the local section entries is
not honored in the output, and the usual display order will be
retained.
The formal syntax is given by:
@example
@var
{
LOCAL
_
SECTION
_
ENTRIES
}
::= @var
{
SECTION
_
ENTRY
_
NAME
}
[,@var
{
LOCAL
_
SECTION
_
ENTRIES
}
]
@var
{
SECTION
_
ENTRY
}
::= @var
{
SECTION
_
NAME
}
[=[@var
{
LOCAL
_
SECTION
_
ENTRIES
}
]]
@var
{
SECTION
_
ENTRIES
}
::= @var
{
SECTION
_
ENTRY
}
[:@var
{
SECTION
_
ENTRIES
}
]
@end example
For example, to show only the index and type of each stream, and the PTS
time, duration time, and stream index of the packets, you can specify
the argument:
@example
packet=pts
_
time,duration
_
time,stream
_
index : stream=index,codec
_
type
@end example
To show all the entries in the section "format", but only the codec
type in the section "stream", specify the argument:
@example
format : stream=codec
_
type
@end example
To show all the tags in the stream and format sections:
@example
format
_
tags : format
_
tags
@end example
To show only the @code
{
title
}
tag (if available) in the stream
sections:
@example
stream
_
tags=title
@end example
@item -show
_
packets
Show information about each packet contained in the input multimedia
stream.
...
...
ffprobe.c
View file @
196765a7
This diff is collapsed.
Click to expand it.
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