[Libav-user] Help using libavfilter: filters aren't being applied
leandrosansilva at gmail.com
Mon Jun 18 17:56:24 CEST 2012
Ooops, The error was mine, not of libavfilter. I was encoding a frame
without filtering (a noob's problem of variable name) when I had to
use the frame resulted of filer process.
2012/6/14 Leandro Santiago <leandrosansilva at gmail.com>:
> Hello to all. I'm trying to use libavfilter and initially I created a
> simple .c file which reads a frame from a input and convert this frame
> to an output png image.
> I tried to follow the file doc/examples/filtering_video.c and right
> now my program just open a file, get a frame and save it in a PNG. I'm
> trying to convert pixel format with format filter (but it's not
> I'm also trying do draw a box in the image, but it seems my filter
> aren't being applied (although the log says they're being created).
> The complete source code is in: http://pastebin.com/9cjLnXZ6
> Can you tell me what I'm doing wrong?
> The usage is:
> ./executable input.avi avi # (where avi is the input type)
> It will create a file called test.png in the current directory.
> Sent from my Atari
Sent from my Atari
More information about the Libav-user