[FFmpeg-devel] [RFC] ffprobe: add -show_pixel_descriptions option

Dave Rice dave at dericed.com
Tue Sep 9 05:38:24 CEST 2014

On Sep 8, 2014, at 10:08 AM, Tobias Rapp <t.rapp at noa-audio.com> wrote:

> As a follow-up to the "ffprobe: Add bits_per_component to stream output" discussion thread here comes my current state of adding pixel format detail output to ffprobe.
> I'm still unsure if/how to output pixel format flags. Maybe as a simple white-space separated string "rgb alpha be"?
> Any feedback or suggestions are welcome.
> BTW: How can one test the ffprobe XML output against the XSD? I tried it with "xmllint --noout --schema doc/ffprobe.xsd ffprobe-output.xml" without success. What tools do other developers use?

That's the command that I use; however when generating the xml use the fully qualified option, ie:

ffprobe -f lavfi mandelbrot -show_streams -show_format -of xml=q=1 > test.xml
xmllint --noout --schema ffprobe.xsd test.xml 
test.xml validates

dave rice

More information about the ffmpeg-devel mailing list