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
d0526ecf
Commit
d0526ecf
authored
Sep 08, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show stream info with -stats
Originally committed as revision 2239 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
98ce5991
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
ffplay.c
ffplay.c
+17
-0
No files found.
ffplay.c
View file @
d0526ecf
...
...
@@ -1224,6 +1224,22 @@ static void stream_component_close(VideoState *is, int stream_index)
}
}
void
dump_stream_info
(
AVFormatContext
*
s
)
{
if
(
s
->
track
!=
0
)
fprintf
(
stderr
,
"Track: %d
\n
"
,
s
->
track
);
if
(
s
->
title
[
0
]
!=
'\0'
)
fprintf
(
stderr
,
"Title: %s
\n
"
,
s
->
title
);
if
(
s
->
author
[
0
]
!=
'\0'
)
fprintf
(
stderr
,
"Author: %s
\n
"
,
s
->
author
);
if
(
s
->
album
[
0
]
!=
'\0'
)
fprintf
(
stderr
,
"Album: %s
\n
"
,
s
->
album
);
if
(
s
->
year
!=
0
)
fprintf
(
stderr
,
"Year: %d
\n
"
,
s
->
year
);
if
(
s
->
genre
[
0
]
!=
'\0'
)
fprintf
(
stderr
,
"Genre: %s
\n
"
,
s
->
genre
);
}
/* since we have only one decoding thread, we can use a global
variable instead of a thread local variable */
static
VideoState
*
global_video_state
;
...
...
@@ -1280,6 +1296,7 @@ static int decode_thread(void *arg)
}
if
(
show_status
)
{
dump_format
(
ic
,
0
,
is
->
filename
,
0
);
dump_stream_info
(
ic
);
}
/* open the streams */
...
...
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