[Ffmpeg-devel] [PATCH] Chinese AVS video decoder

Stefan Gehrer stefan.gehrer
Wed Jun 28 22:16:31 CEST 2006

Von: Roberto Togni
> I tested it with stream01.avs (from openavs site, it's on mphq samples
> archive, i suppose it's the same file, md5sum
> ea15ebb73b0ee319e8e6999017f92842).

md5sum confirmed.

> Tested with ffplay, i did not tried decode it with  ffmpeg.
> I see some random blocks (at the beginnig, on the logo after the
> credits), could be wrong motion vectors, 

You mean the mountain-turns-into-logo thing? Looks fine here.
Could you do me a favour and add these lines

#undef printf
#define MV_TRC(X) printf("[%d,%d]",h->mv[(X)].x, h->mv[(X)].y);
    printf("pic %d MB %d,%d ",h->picture.poc,h->mbx,h->mby);
    MV_TRC(5); MV_TRC(6);
    MV_TRC(9); MV_TRC(10);
    MV_TRC(17); MV_TRC(18);
    MV_TRC(21); MV_TRC(22);

at line 711 right at the beginning of function inter_pred,
then run

./ffplay stream01.avs > mv_trace

until you see those artefacts, then somehow make mv_trace available
to me?

Stefan Gehrer

Echte DSL-Flatrate dauerhaft f?r 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

More information about the ffmpeg-devel mailing list