[FFmpeg-devel] a64 encoder

Michael Niedermayer michaelni
Sat Jan 17 12:51:30 CET 2009


On Sat, Jan 17, 2009 at 10:57:57AM +0100, Bitbreaker/METALVOTZE wrote:
> Michael Niedermayer schrieb:
> > On Fri, Jan 16, 2009 at 07:38:55PM +0100, Bitbreaker/METALVOTZE wrote:
> >   
> >>> You should be calculating the set of chars per frame or video and not
> >>> hardcode them.
> >>>   
> >>>       
> >> In case of multicolor mode, i calculate an optimized charset of 256 
> >> chars that cover 4000 blocks from the original 4 frames (thus having a 
> >> bit of quality loss).
> >>     
> >
> > is your code better then our elbg ? if so replace elbg.c/h by it
> > if its worse you should use elbg.c/h (possibly with adaptions in elbg to
> > handle the small number of colors)
> >   
> I can tell you as soon as i have given that a try. Color depth however 
> should not be the problem, as i can reduce the depth beforehand (just 
> using a range from 0..x instead of 0..255), even if not reducing the 
> colors it will work, but several identic chars may then appear in my 
> charset of course, but for evaluation this should not matter too much.

reducing the colors before seems quite suboptimal, id rather convert each
fullcolor "char" with dithering to what is available afterwards or even
during the elbg code.

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

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090117/52190bee/attachment.pgp>



More information about the ffmpeg-devel mailing list