On date Sunday 2016-09-04 19:09:32 +0200, Nicolas George encoded: > 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 > step? -show_format_after_frames_but_before_streams? > > 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 > -show_format", but: >
> ffprobe -show format,streams,packets We have the -show_entries option, and we can extend it to consider order. The equivalent syntax will then be: ffprobe -show_entries 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 Now the problem with this idea is the interaction with -read_packets. The option was useful to force reading of packets so that the gained information was also available in the streams and format sections (but without showing the packets output). I can think about extending the -show_entries syntax, so that we could have: -show_entries !packets,format,streams What I don't like is that this special syntax will only work with packets (it makes no sense for the other sections). [...] -- FFmpeg = Fast Fiendish Monstrous Perfectionist Encoding/decoding Gorilla _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel