diff options
author | Tobias Rapp <t.rapp@noa-audio.com> | 2014-09-11 09:16:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-07 23:18:15 +0200 |
commit | 143a8a44f4ec7a9a0fbd10909cc0cc93d5f39ace (patch) | |
tree | a86ffa176eb60baab338a68f5b03536a81e02bcb /doc | |
parent | abaf4245a1722a3d1b86b9d1a5349f1306c8c7b8 (diff) | |
download | ffmpeg-143a8a44f4ec7a9a0fbd10909cc0cc93d5f39ace.tar.gz |
ffprobe: add -show_pixel_formats option
Adds option -show_pixel_formats to ffprobe which lists all
available pixel formats with some details.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffprobe.texi | 6 | ||||
-rw-r--r-- | doc/ffprobe.xsd | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 0a39ed4ca5..5c904704bb 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -321,6 +321,12 @@ Show information related to program and library versions. This is the equivalent of setting both @option{-show_program_version} and @option{-show_library_versions} options. +@item -show_pixel_formats +Show information about all pixel formats supported by FFmpeg. + +Pixel format information for each format is printed within a section +with name "PIXEL_FORMAT". + @item -bitexact Force bitexact output, useful to produce output which is not dependent on the specific build. diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 5dfbb47dff..598f6518cf 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -10,6 +10,7 @@ <xsd:sequence> <xsd:element name="program_version" type="ffprobe:programVersionType" minOccurs="0" maxOccurs="1" /> <xsd:element name="library_versions" type="ffprobe:libraryVersionsType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="pixel_formats" type="ffprobe:pixelFormatsType" minOccurs="0" maxOccurs="1" /> <xsd:element name="packets" type="ffprobe:packetsType" minOccurs="0" maxOccurs="1" /> <xsd:element name="frames" type="ffprobe:framesType" minOccurs="0" maxOccurs="1" /> <xsd:element name="programs" type="ffprobe:programsType" minOccurs="0" maxOccurs="1" /> @@ -277,4 +278,16 @@ <xsd:element name="library_version" type="ffprobe:libraryVersionType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> + + <xsd:complexType name="pixelFormatType"> + <xsd:attribute name="name" type="xsd:string" use="required"/> + <xsd:attribute name="nb_components" type="xsd:int" use="required"/> + <xsd:attribute name="bits_per_pixel" type="xsd:int"/> + </xsd:complexType> + + <xsd:complexType name="pixelFormatsType"> + <xsd:sequence> + <xsd:element name="pixel_format" type="ffprobe:pixelFormatType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + </xsd:complexType> </xsd:schema> |