#9992 closed defect (wontfix)

gray16 pixel format

Reported by: Michael Koch Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Michael Koch)

When the available pixel formats are listed with
ffmpeg -pix_fmts
then "gray16" is not found in the list (however "gray16le" and "gray16be" are listed).

On the other hand, if I use "format=gray16" in the filter chain or "-pixel_format gray16" as a command line option, then I get no error message and no warning.

That doesn't seem to be right. If "gray16" is an alias for either "gray16le" or "gray16be", then it should also be listed with ffmpeg -pix_fmts

P.S. And it would be helpful to see for which pixel format the alias is, "le" or "be".

Change History (7)

comment:1 by Balling, 17 months ago

Well, the same as with
IO... p010le 3 15 10-10-10
IO... p010be 3 15 10-10-10

Or
IO... yuva420p9be 4 22 9-9-9-9
IO... yuva420p9le 4 22 9-9-9-9
IO... yuva422p9be 4 27 9-9-9-9
IO... yuva422p9le 4 27 9-9-9-9
IO... yuva444p9be 4 36 9-9-9-9
IO... yuva444p9le 4 36 9-9-9-9

comment:2 by Michael Koch, 17 months ago

Description: modified (diff)

comment:3 by Elon Musk, 10 months ago

Resolution: invalid
Status: newclosed

Lacking common sense in this report. This is endian thing, no time to teach common knowledge on tracker. Do research on concepts if so much involved in reporting (invalid) bugs.

Any pixel format > 8bit have alias, on LE system it is le variant on BE system it is be variant of pixel, in other words native to system endianess.

comment:4 by Balling, 10 months ago

No, this is cosmetic issue that the default is not clarified. Or disallow gray16.

Last edited 10 months ago by Balling (previous) (diff)

in reply to:  3 comment:5 by Michael Koch, 10 months ago

Replying to Elon Musk:

Any pixel format > 8bit have alias, on LE system it is le variant on BE system it is be variant of pixel, in other words native to system endianess.

This is an important information and missing in the official documentation. Those alias are not listed with the command "ffmpeg -pix_fmts".

comment:6 by Michael Koch, 10 months ago

Resolution: invalid
Status: closedreopened

comment:7 by Elon Musk, 10 months ago

Resolution: wontfix
Status: reopenedclosed

It is redundant and self explanatory.

Note: See TracTickets for help on using tickets.