[FFmpeg-devel] [PATCH 2/4] ffplay: add text subtitles rendering with libass.

Nicolas George nicolas.george at normalesup.org
Wed Nov 28 11:34:21 CET 2012


Le septidi 7 frimaire, an CCXXI, Clément Bœsch a écrit :
> +        ff_draw_color(&subrender_draw, &color, rgba_color);
> +        ff_blend_mask(&subrender_draw, &color,
> +                      pict.data, pict.linesize,
> +                      vp->bmp->w, vp->bmp->h,
> +                      image->bitmap, image->stride, image->w, image->h,
> +                      3, 0, image->dst_x, image->dst_y);

> +        ret = ff_draw_init(&subrender_draw, AV_PIX_FMT_YUV420P, 0);

Does this work with a shared build? The functions in drawutils.h are a
private API, as shown by the ff_ prefix, and AFAIK they are not exported in
the shared libraries.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121128/fe4c3a93/attachment.asc>


More information about the ffmpeg-devel mailing list