[MPlayer-dev-eng] [PATCH] decoder and encoder support for DivX 5.0.5 API

Andreas Hess jaska at gmx.net
Fri Jun 6 23:39:32 CEST 2003


On Fri, Jun 06, 2003 at 10:03:44PM +0200, Arpi wrote:
> > I've found some time to implement the encoding support for the new
> > DivX API. Now it's possible to play and encode movies with the
> > latest DivX release.
> > One thing that doesn't work is the new Video Buffer Verifier (VBV)
> > multipass encoding. The encoder segfaults. Maybe it just isn't
> > supported with the standard profile of the released binary encoder.

In replying to my own mail. If the 2nd pass of VBV multipass encoding
segfaults, look that writelog isn't set (thanks to Tilmann Bitterberg
from transcode for the hint) and that the mplayer binary is linked to
the same libstdc++ (if mplayer is build with live.com or matroska
support) as libdivxencore.

[...]

> the other part was in vd_odivx.c, moving get_image call up and using
> mpi->width. it's incorrect when IMGTYPE_EXPORT is used, because it means all
> params (including stride, width) is provided by the codec (so codec=>mpi and
> not mpi=>codec). i've changed it to sh->disp_w.

Ah, thanks for the hint. I understand more of the mplayer internals
from day to day :)


Andreas



More information about the MPlayer-dev-eng mailing list