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
f1a4182e
Commit
f1a4182e
authored
Dec 22, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: add show_private_data option
parent
93613338
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
ffprobe.texi
doc/ffprobe.texi
+6
-0
ffprobe.c
ffprobe.c
+4
-1
No files found.
doc/ffprobe.texi
View file @
f1a4182e
...
...
@@ -115,6 +115,12 @@ multimedia stream.
Each media stream information is printed within a dedicated section
with name "STREAM".
@item -show
_
private
_
data, -private
Show private data, that is data depending on the format of the
particular shown element.
This option is enabled by default, but you may need to disable it
for specific uses, for example when creating XSD-compliant XML output.
@item -i @var
{
input
_
file
}
Read @var
{
input
_
file
}
.
...
...
ffprobe.c
View file @
f1a4182e
...
...
@@ -45,6 +45,7 @@ static int show_value_unit = 0;
static
int
use_value_prefix
=
0
;
static
int
use_byte_value_binary_prefix
=
0
;
static
int
use_value_sexagesimal_format
=
0
;
static
int
show_private_data
=
1
;
static
char
*
print_format
;
...
...
@@ -1022,7 +1023,7 @@ static void show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_i
}
else
{
print_str_opt
(
"codec_type"
,
"unknown"
);
}
if
(
dec_ctx
->
codec
&&
dec_ctx
->
codec
->
priv_class
)
{
if
(
dec_ctx
->
codec
&&
dec_ctx
->
codec
->
priv_class
&&
show_private_data
)
{
const
AVOption
*
opt
=
NULL
;
while
(
opt
=
av_opt_next
(
dec_ctx
->
priv_data
,
opt
))
{
uint8_t
*
str
;
...
...
@@ -1239,6 +1240,8 @@ static const OptionDef options[] = {
{
"show_format"
,
OPT_BOOL
,
{(
void
*
)
&
do_show_format
}
,
"show format/container info"
},
{
"show_packets"
,
OPT_BOOL
,
{(
void
*
)
&
do_show_packets
},
"show packets info"
},
{
"show_streams"
,
OPT_BOOL
,
{(
void
*
)
&
do_show_streams
},
"show streams info"
},
{
"show_private_data"
,
OPT_BOOL
,
{(
void
*
)
&
show_private_data
},
"show private data"
},
{
"private"
,
OPT_BOOL
,
{(
void
*
)
&
show_private_data
},
"same as show_private_data"
},
{
"default"
,
HAS_ARG
|
OPT_AUDIO
|
OPT_VIDEO
|
OPT_EXPERT
,
{(
void
*
)
opt_default
},
"generic catch all option"
,
""
},
{
"i"
,
HAS_ARG
,
{(
void
*
)
opt_input_file
},
"read specified file"
,
"input_file"
},
{
NULL
,
},
...
...
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