[Ffmpeg-devel] help on forcing rgb555 with 16bpp

Michael Niedermayer michaelni
Thu Oct 26 14:10:40 CEST 2006


On Thu, Oct 26, 2006 at 07:47:07AM -0300, Reynaldo H. Verdejo Pinochet wrote:
> > > why dont just bypass the detection
> > > attempt _if_ the demuxer knows (and sets) the pixel format?
> > 
> > 1. avidec doesnt set pix_fmt neither before nor after your patch
> Michael, I'm not talking about avidec (I noticed this in your previous
> mail but forgot to mention), I started this thread because
> rgb555 frames demuxed by mtv.c are getting threated as rgb565 by raw.c
> . I dont need nor want to make avidec set pix_fmt but if you accept
> this patch I will make damn sure my demuxer do.
> > 2. will that work with stream copy of raw from avi->mov? avi->nut? or will
> >    it need changes to every muxer? mapping codec_tag->codec_tag is one
> >    thing, mapping pix_fmt/sound_fmt/codec_tag -> pix_fmt/sound_fmt/codec_tag
> >    is another
> I dont see why not, I'm not going to touch avidec.. this is a more
> general issue. the patch doesn't modify current behavior, just adds
> a new posibility.

why does bpp=15 not work if bits_per_sample=15?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list