[FFmpeg-devel] [PATCH] simplify crop/pad handling in ffmpeg.c

Vitor Sessak vitor1001
Wed Apr 16 18:40:08 CEST 2008


Luca Abeni wrote:
> Hi M?ns;
> M?ns Rullg?rd wrote:
>> Luca Abeni wrote:
>>> [-pad/-crop]
>> I have a better idea: replace this mess with an avfilter.
> Well, I have no strong opinions on this... I was just replying to a
> patch that has been posted to the list.
> 			Luca
> P.S.: Some related questions... Is libavfilter working?

The code commited now in SVN compiles but doesn't do anything. I 
encourage everyone to compile with --enable-avfilter to see if it 
compiles fine in your platform.

If you use the code in soc svn, it works. There are a few people using 
it already.

The pieces not already commited are the graph parser (in the nitpicking 
phase of reviewing), the scale filter (reviewed, but a lot of changes 
needed) and the ffmpeg.c patch (I didn't send a patch yet, I think I can 
clean it up nicely before that). There are also all the filters, but it 
should be the easier part.

> Does ffmpeg use it?

Only if patches in svn are applied

> Where can I find some more documentation about how to use it?

See http://wiki.multimedia.cx/index.php?title=Libavfilter and 
http://svn.mplayerhq.hu/soc/libavfilter/README?view=co . Do not hesitate 
in asking if you have any questions.


More information about the ffmpeg-devel mailing list