On 13/10/2021 06:58, Soft Works wrote:
New output looks like this:Pixel formats: I.... = Supported Input format for conversion .O... = Supported Output format for conversion ..H.. = Hardware accelerated format ...P. = Paletted format ....B = Bitstream format FLAGS NAME NB_COMPONENTS BITS_PER_PIXEL BIT_DEPTH ----- IO... yuv420p 3 12 8 IO... yuyv422 3 16 8 IO... rgb24 3 24 8 IO... bgr24 3 24 8 [...] @@ -1772,7 +1772,8 @@ int show_pix_fmts(void *optctx, const char *opt, const char *arg) pix_desc->flags & AV_PIX_FMT_FLAG_BITSTREAM ? 'B' : '.', pix_desc->name, pix_desc->nb_components, - av_get_bits_per_pixel(pix_desc)); + av_get_bits_per_pixel(pix_desc), + pix_desc->comp[0].depth); } return 0; }
I think it is misleading to only print the bit-depth of the first component. You can already get bit-depth information for all components in different data formats with "ffprobe -show_pixel_formats".
Regards, Tobias _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
