On 04/05/2010 10:11 AM, Stefano Sabatini wrote:
On date Monday 2010-04-05 08:44:15 -0700, S.N. Hemanth Meenakshisundaram 
encoded:
On 04/05/2010 02:43 AM, Stefano Sabatini wrote:
On date Thursday 2010-04-01 11:53:42 -0700, Baptiste Coudurier encoded:
On 03/31/2010 10:44 PM, S.N. Hemanth Meenakshisundaram wrote:
As alternative to this, any video libavfilter task should be OK
(e.g. port a filter from MPlayer/libmpcodecs or write a new one), note
that vf_imlib.c is *not* a valid qualification task (see
https://roundup.ffmpeg.org/issue302), this should help you to get
confident with the FFmpeg/libavfilter API.

I especially recommend: a deinterlace filter (check the code in
libavcodec/imgconvert.c), a libfreetype wrapper (check as reference
vhook/drawtext.c in ffmpeg-0.5).

Ask here or on IRC if you have questions.

I am planning to do the deinterlace, libfreetype first and then
continue with this.
Good. Feel free to join the discussion on ffmpeg-devel regarding the
libavfilter API, consider that as part of the qual task.



Hi All,

The vf_drawtext filter is almost done but I am having problems linking in the freetype libraries. I attempted the attached changes to the ffmpeg Makefile but I see the following error :

ffmpeg/libavfilter/libavfilter.a(vf_drawtext.o): In function `draw_text':
ffmpeg/libavfilter/vf_drawtext.c:422: undefined reference to `FT_Get_Kerning'

What am I doing wrong?

Thanks
Index: Makefile
===================================================================
--- Makefile    (revision 22749)
+++ Makefile    (working copy)
@@ -71,6 +71,9 @@
 
 $(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D))))
 
+libavfilter/vf_drawtext.o libavfilter/vf_drawtext.d: CFLAGS += 
$(`freetype-config --cflags`)
+FF_EXTRALIBS += $(`freetype-config --libs`)
+
 ffplay_g$(EXESUF): FF_EXTRALIBS += $(SDL_LIBS)
 ffserver_g$(EXESUF): FF_LDFLAGS += $(FFSERVERLDFLAGS)
 
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to