[FFmpeg-devel] [PATCH] ffprobe: add -show_version option
Stefano Sabatini
stefasab at gmail.com
Tue Jan 10 18:29:17 CET 2012
On date Monday 2012-01-09 00:58:43 +0100, Clément Bœsch encoded:
> On Mon, Jan 09, 2012 at 12:52:17AM +0100, Stefano Sabatini wrote:
[...]
> > > From 1aab40fbf4b9c5c10b29921ede1b093d0cbabbd5 Mon Sep 17 00:00:00 2001
> > > From: Stefano Sabatini <stefasab at gmail.com>
> > > Date: Sun, 1 Jan 2012 17:19:58 +0100
> > > Subject: [PATCH] ffprobe: add -show_program_version and
> > > -show_library_versions options
> > >
> > > ---
> > > doc/ffprobe.texi | 17 +++++++++++
> > > doc/ffprobe.xsd | 26 +++++++++++++++++
> > > ffprobe.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++---
> > > 3 files changed, 118 insertions(+), 4 deletions(-)
> >
> > I'll apply this in a few days if no one has better ideas.
>
> Well it's too bad not to have:
> {"libavutil": {"major": ..., "minor": ... },
> "libavcodec": {"major": ..., "minor": ... },
> ...}
> Especially for the direct access (data["versions"]["libavxxx"])
You can't directly access that data (without checking on the name),
but it allows to iterate through all libraries (e.g. to show which are
the available libraries), and leads to a very compact XML schema
description, that's why I preferred this approach.
> But I can live with that :)
Pushed.
--
FFmpeg = Fabulous & Fanciful MultiPurpose Elaborated Goblin
More information about the ffmpeg-devel
mailing list