[FFmpeg-devel] Fw: [PATCH] ZMBV fix for paletted modes

Kostya kostya.shishkov
Thu May 31 12:42:50 CEST 2007

On Thu, May 31, 2007 at 01:46:13AM +0200, Michael Niedermayer wrote:
> see https://sourceforge.net/tracker/index.php?func=detail&aid=1507071&group_id=16082&atid=116082
> "Hey, there's this discussion in the DOSBox world since
> the ZMBV video capture was added to it...
> It's about the ZMBV compressed videos using a palette.
> Right now the ZMBV DOSBox uses and the one implemented
> in libavcodec are different... RGB vs. BGR. I've
> looked for files on the internet and I couldn't find
> many captured videos in paletted mode, but the ones I
> did find work fine with the DOSBox ZMBV, but not with
> the one in libavcodec. I'm attaching a patch that
> fixes this issue in libavcodec so that it works
> consistently with the other files around the Internet."

You may test it on samples from MPHQ, all of them except
vbetest_000 and zmbv_*bit are palettized. They work fine
on x86 and PPC under FFmpeg and MPlayer.

I recall that came from FFdshow user and it looks like
_their_ bug not properly supporting PIX_FMT_RGB24. 
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> No snowflake in an avalanche ever feels responsible. -- Voltaire

More information about the ffmpeg-devel mailing list