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

Michael Niedermayer michaelni at gmx.at
Tue Dec 11 00:32:39 CET 2012


On Sun, Dec 09, 2012 at 10:17:15AM +0100, Carl Eugen Hoyos wrote:
> On Saturday 08 December 2012 07:44:40 pm Michael Niedermayer wrote:
> > 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
> 
> Thank you!
> 
> New patch attached.
> 
> Please comment, Carl Eugen

should be ok i suspect

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- 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/20121211/ab65003f/attachment.asc>


More information about the ffmpeg-devel mailing list