[MPlayer-dev-eng] [PATCH] CoreAVC [4/5] - Mov support

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Oct 5 12:45:34 CEST 2006


Hello,
On Wed, Oct 04, 2006 at 11:19:14PM -0700, Alan Nisota wrote:
> This is the 4th of 5 patches to support the CoreAVC.
> This patch fixes a couple of bugs in how the .mov (QT) container is
> parsed when containing h264 streams. I believe it should be generally
> correct, regardless of whether CoreAVC is in use or not

Have you tested how -demuxer lavf bahaves?

> -               sh->bih->biPlanes=0;
> +               sh->bih->biPlanes=1;
>                 sh->bih->biBitCount=depth;
>                 sh->bih->biCompression=trak->fourcc;
> -               sh->bih->biSizeImage=sh->bih->biWidth*sh->bih->biHeight;
> +               sh->bih->biSizeImage=sh->bih->biWidth*sh->bih->biHeight * 2;

I would have to check the MSDN documentation again, but I think this was
already suggested before but rejected because it is wrong (IIRC there
should be a bugzilla entry about it, I think it was about the AVI muxer)...

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list