[FFmpeg-devel] [PATCH] ffprobe: report read nb_packets and nb_frames by stream, add count_frames and count_packets options

Matthieu Bouron matthieu.bouron at gmail.com
Wed Feb 1 17:59:28 CET 2012


Hi there,

First patch make ffprobe report the number of packets and frames
(demuxed/decoded) in streams description when -show_packets and/or
-show_frames are used.
read_nb_frames is only shown in video stream description.

Second patch add two new options to ffprobe: -count_frames, -count_packets.
These options will enable frame/packet counting without displaying per
frame/packet information.
Feel free to comment.

Matthieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffprobe-report-read-nb_frames-and-nb_packets-per-str.patch
Type: text/x-diff
Size: 7002 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120201/825e2f4e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ffprobe-add-count_frames-and-count_packets-options.patch
Type: text/x-diff
Size: 4493 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120201/825e2f4e/attachment-0001.bin>


More information about the ffmpeg-devel mailing list