[FFmpeg-devel] [PATCH] ffmpeg.c: add an option "detail_stats" to allow ffmpeg to output stats for each stream
Michael Niedermayer
michael at niedermayer.cc
Tue Nov 13 03:42:29 EET 2018
On Mon, Nov 12, 2018 at 01:10:55PM -0800, Wang Cao wrote:
> Friendly ping!
i tried the code
and for example
-i matrixbench_mpeg2.mpg -map 0:a -map 0:a -map 0:a -map 0:a -map 0:v -map 0:v test.nut -map 0:a -map 0:a -map 0:v -map 0:a -map 0:v -map 0:v test2.nut
generates when i stop it:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
[nut @ 0x3b419c0] Multiple keyframes with same PTSts/s speed=5.42x
Last message repeated 6 times
[nut @ 0x3b5abc0] Multiple keyframes with same PTS
Last message repeated 271 times
size= 5285kB time=00:00:44.56 bitrate= 971.6kbits/s speed=5.39x
size= 5285kB time=00:00:44.56 bitrate= 971.6kbits/s speed=5.39x
size= 5285kB time=00:00:44.56 bitrate= 971.6kbits/s speed=5.39x
size= 5285kB time=00:00:44.56 bitrate= 971.6kbits/s speed=5.39x
q=31.0 frame= 1115 fps=135 q=31.0 Lsize= 5285kB time=00:00:44.56 bitrate= 971.6kbits/s speed=5.39x
q=31.0 frame= 1115 fps=135 q=31.0 Lsize= 5285kB time=00:00:44.56 bitrate= 971.6kbits/s speed=5.39x
size= 6285kB time=00:00:44.56 bitrate=1155.5kbits/s speed=5.39x
size= 6285kB time=00:00:44.56 bitrate=1155.5kbits/s speed=5.39x
q=31.0 frame= 1115 fps=135 q=31.0 Lsize= 6285kB time=00:00:44.56 bitrate=1155.5kbits/s speed=5.39x
size= 6285kB time=00:00:44.56 bitrate=1155.5kbits/s speed=5.39x
q=31.0 frame= 1115 fps=135 q=31.0 Lsize= 6285kB time=00:00:44.56 bitrate=1155.5kbits/s speed=5.39x
q=31.0 frame= 1115 fps=135 q=31.0 Lsize= 6285kB time=00:00:44.56 bitrate=1155.5kbits/s speed=5.39x
video:3083kB audio:2147kB subtitle:0kB other streams:0kB global headers:16kB muxing overhead: 1.048231%
video:4625kB audio:1610kB subtitle:0kB other streams:0kB global headers:12kB muxing overhead: 0.803826%
Its not easy to read this and know which line represents which stream
also this is the same audio stream stored 7 times yet the statistics
look nonsensical, one would expect 7 identical bitrates and in fact
not 971kbit/sec for a vorbis audio stream with default encoding parameters
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181113/0e83f978/attachment.sig>
More information about the ffmpeg-devel
mailing list