[FFmpeg-devel] [PATCH]Print bits per component in avcodec_string if smaller than expected

Michael Niedermayer michaelni at gmx.at
Sat Dec 8 19:44:40 CET 2012

On Sat, Dec 08, 2012 at 06:38:30PM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> > > If a decoder specifies a value for bits_per_raw_sample that is smaller than 
> > > the pix_fmt would indicate, print the smaller value.
> > > 
> > > Please comment, Carl Eugen
> > 
> > this prints a lot of 8 bpc for argb, rgb24, yuv420
> > and 10bpc for yuv420p10
> I probably miss something obvious, but I was unable to 
> trigger the message for any of the mentioned colour-spaces 
> (and I do not immediately see how it could be triggered).
> Could you give me an example so I can try to improve?

i tried this:

for i in fate-suite/*/* ; do  ./ffprobe -v 99 "$i" ; done >& list

and greped for bpc
there where many matches

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121208/a119b43f/attachment.asc>

More information about the ffmpeg-devel mailing list