[Ffmpeg-devel] [PATCH] Apple Video Encoder (rpza)

Todd Kirby ffmpeg.php
Sun Jun 5 21:36:16 CEST 2005

On 6/5/05, Mike Melanson <mike at multimedia.cx> wrote:
> Todd Kirby wrote:
> > Yeah, that's what my target was. I needed something that could play on
> > even the oldest version of Quicktime Player. I used your excellent
> > description of the rpza format at...
> >
> > http://www.pcisys.net/~melanson/codecs/
> >
> > ...as a guide. I notice this document not there anymore. If you've
> > moved it, let me know and I'll change my link in the source.
>         The document is located @ multimedia.cx. I need to update all of those
> description links. BTW, credit where credit is due: The excellent RPZA
> description was the work of one Roberto T.

A big thanks to Roberto then! It was invaluable. The only snag I hit
that the spec didn't cover was when I created movies where the
multi-block runs were spanning more than one row of the image.
Apparently the spec doesn't allow that.  Once you hit the end of a row
you must end the run and start a new run*.  ffmpeg's rpza decoder
doesn't make this assumption and so the movies played fine, but when
I'd play them with QT player they would come out garbled. You might
want to add a little blurb about that to the 'Final Notes' section of
the rpza format specification.

*This is true for skip and 1-color opcodes (my implementation doesn't
do runs of 4-color but I'd imagine the same is true for 4-color.

More information about the ffmpeg-devel mailing list