[FFmpeg-devel] QuickTime Animation (qtrle) decoder needs heavy rewriting for 1-bit video

Mats Peterson matsp888 at yahoo.com
Thu Dec 31 10:54:01 CET 2015


I've looked at the XAnim source regarding the decoding of QuickTime 
Animation (qtrle in FFmpeg) (he calls the RLE codec "Graphics" but 
that's wrong). Anyway, it uses a lot of opcodes and stuff that aren't 
implemented whatsoever in libavcodec/qtrle.c. So far it has managed to 
work in spite of that, except for the 1-bit mode, which is rather 
broken. I have tried to mess with it a bit, borrowing code from XAnim, 
but I have yet to get it to work properly.

I've noticed that the venerable rotating globe file below is "jaggy" at 
the right edges, and that's just one of the problems. That jagginess 
shouldn't be there at all.

It would be nice if someone with more knowledge than me could fix the 
1-bit mode. The interest is probably lukewarm, but I wanted to mention 
the issue anyway.

Sample:
https://drive.google.com/open?id=0B3_pEBoLs0faTThSek1EeXQ0ZHM

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the ffmpeg-devel mailing list