[Ffmpeg-devel] bmp and msrle

Kostya kostya.shishkov
Sun Mar 18 19:31:34 CET 2007


On Sun, Mar 18, 2007 at 12:45:24PM -0400, Compn wrote:
> while adding bmp to mplayer/mencoder i was confused
> about the differences between bmp and msrle ...
> 
> are these decoders similar? code duplication?
> ffmsrle cannot decode files encoded with -lavcopts vcodec=bmp
> 
> -compn

Actually VfW API treats every frame as BMP (except the fact they
all have the same header)
and so M$ RLE compression scheme migrated to AVI from BMP
(technically you can also make BMP with biCompression='FFV1'
and pack data with that codec but I'm not sure that there is
any program capable doing _that_ except somebody will hack lavf :)

And in your case shaving off some bytes from BMP should make it
a perfect M$ RLE frame. 




More information about the ffmpeg-devel mailing list