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

Fusl ffmpeg at lists.dedilink.eu
Sun Jan 12 19:38:09 CET 2014


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:
> 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/

More information about the ffmpeg-user mailing list