avfilter_get_by_name returns null

For the developers that use FFmpeg in their software.
Post Reply
Posts: 1
Joined: Tue Jun 26, 2012 2:31 pm

avfilter_get_by_name returns null

Post by SheaAllan » Tue Jun 26, 2012 2:38 pm

Hi All,

I'm using the latest zeranoe dev build.

My goal is to overlay a text string onto a YUV12 image buffer. I would like to use the drawtext filter of libavfilter to accomplish this. Unfortunately, the following call compiles fine but returns null:

Code: Select all

AVFilter *drawtxt  = avfilter_get_by_name("drawtext");
Perhaps the build I'm using does not include all of the filters?

Posts: 1877
Joined: Fri Aug 05, 2011 9:56 pm

Re: avfilter_get_by_name returns null

Post by rogerdpack » Tue Jun 26, 2012 4:16 pm

I'd ask the libav-users group. I presume that the drawtest filter works when run from the command line, using the shared build?

Post Reply