[Ffmpeg-devel] Re: Black&White QuickTime Animation not supported

Michael Niedermayer michaelni
Wed Jan 31 01:40:43 CET 2007


Hi

On Fri, Jan 26, 2007 at 03:52:43PM +0100, Roberto Togni wrote:
> On Thu, 25 Jan 2007 10:18:12 -0800
> Mike Melanson <mike at multimedia.cx> wrote:
> 
> > Roberto Togni wrote:
> > > On Thu, 25 Jan 2007 09:23:06 -0800
> > > Mike Melanson <mike at multimedia.cx> wrote:
> > > 
> > >> Roberto Togni wrote:
> > >>> I have 2-bit qt rle working, patch attached (just one sample, as for
> > >>> all this low-bit qtrle codecs). i'm on 1-bit, but i still can't get it
> > >>> to work, probably there is something with the first skip that is
> > >>> different.
> > >> Which 1-bit sample are you testing with? The one submitted to this list
> > >> or the one already in the sample repository?
> > >>
> > > 
> > > I'm using mainly Animation-Monochrome.mov, but i test also the new
> > > sample. Both work with quicktime in wine, i don't have a compiled xanim.
> > > 
> > > I get errors on stream_ptr and pixel_ptr so something is wrong in the
> > > way i'm parsing the bitstream. Since i enabled the palette copy i also
> > > get sig11, so i'm probably trashing memory or something is wrong on the
> > > demuxer (the 1st option is more probable).
> > 
> > Does valgrind yield useful intelligence?
> 
> The monochrome variant is a bit different from the others, it always
> alternates a skip and an rle code. The mono variant does not have a
> palette (that was the reason for the crash), so i changed the output
> type to monochrome.
> 
> Attached patch implements it (it works on the 2 available samples) and
> also includes the 2-bit variant posted yesterday.

the patch is full of code duplication, like the existing qtrle.c

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070131/ca4b7de3/attachment.pgp>



More information about the ffmpeg-devel mailing list