[FFmpeg-devel] [PATCH] ffprobe: add show_entries option
stefasab at gmail.com
Tue Nov 20 00:21:02 CET 2012
On date Thursday 2012-09-13 22:53:56 +0200, Stefano Sabatini encoded:
> Currently we have this structure:
> (possibly missing something, just trying to get an approximate model).
> Every section can be specified in an ambiguous way specifying the path
> (since we basically have a tree structure), and I'm marking
> stream-specific sections with an (S):
> When a section is choosen, all the child sections should be selected
> as well.
> For examples, selecting:
> it should also enable all subsections, that is:
> If only streams/stream:v is selected, then only video streams should
> be shown.
> If a section name is ambiguos it could be more tricky. For example if
> the user specify:
> then it should match all the tags section in the tree, wherever their
> parent dir is.
> Assuming this syntax, it should be possible to specify for example:
> -show_entries "packet:v=pts,pts_time ; frame:v0/tags ; streams:a"
> to show pts and pts_time for video packets, the tags (and only the
> tags) for frames belonging to the first video stream, and all the
> audio streams.
> To disable a subsection, something like this should work:
> -show_entries "streams; stream/tags="
> Note that I changed ":" to ";" to make it possible to use ":" for
> specifying a stream specifier.
> A section name may contain any alphanumeric char and "_", which
> doesn't seem a big limitation.
> I'll try to implement this once we'll settle on the exact
> syntax/semantics (and I'll find the time).
Simplified with the use of unique names.
FFmpeg = Free & Friendly Moronic Power Elegant God
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20330 bytes
Desc: not available
More information about the ffmpeg-devel