[FFmpeg-user] Option to make ffprobe output easily parseable by computer programs

Rio Kierkels riokierkels at gmail.com
Sun Jan 12 19:39:58 CET 2014


We use the json format output.
Works great in our projects.
On Jan 12, 2014 7:38 PM, "Fusl" <ffmpeg at lists.dedilink.eu> wrote:

> Hi!
>
> On 01/12/2014 07:34 PM, Leo Izen wrote:
> > Hello,
> >
> > If I'm writing an easy-to-use GUI for FFmpeg in a language that can't
> > easily link to the libav* libraries (say Java), then it seems easiest to
> > use ffmpeg/ffprobe executables as a backend. However, ffprobe output is
> > designed to be human-readable and not machine-readable, so parsing
> > through the information is much more difficult for computer programs to
> > do. The XZ Utils have an option --robot that makes the xz tools print
> > information in an easily parseable fashion, where it systemically
> > separates numbers by tab characters and newlines, without making
> > human-readable calculations such as figuring out the width of a tab
> > character and using two if appropriate.
> >
> > Does ffprobe (or ffmpeg -i) have an option to print out easily
> > machine-parseable data (such as a one-item-per-line list of info or XML)?
> See this documentation part for such output format's:
> http://www.ffmpeg.org/ffprobe.html#Writers
> >
> > Thanks,
> >
> > Leo Izen
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> --
> Best regards
>
> Kevin Holly - root at hallowe.lt - http://hallowe.lt/
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list