[FFmpeg-devel] [PATCH] ffprobe: add -show_headers_first option
george at nsup.org
Sun Sep 4 20:09:32 EEST 2016
Le nonidi 19 fructidor, an CCXXIV, Stefano Sabatini a écrit :
> This is meant to be used for generating output suitable for the
> ffprobe_default demuxer.
> ffprobe.c | 30 ++++++++++++++++++++++++++----
> 1 file changed, 26 insertions(+), 4 deletions(-)
I find the naming a bit clumsy. It says what it says, but what it the next
I would like to suggest another avenue, a little more work but not by much:
deprecate all the -show_<section> options, and replace them by a single
-show option that takes the sections name in order:
ffprobe -show packets,streams,format
would be equivalent to the current "ffprobe -show_frames -show_streams
ffprobe -show format,streams,packets
would yield the same result as with -show_headers_first.
The syntax could later be updated for various extra features:
ffprobe -show format,streams,packets,rewind,packets+frames=silent=1,streams
I do not know how it interacts with the -show_entries feature, but I must
say I never understood how the -show_entries feature works.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel