Statistics
| Branch: | Revision:

ffmpeg / libavfilter @ bccea088

# Date Author Comment
bccea088 02/22/2011 12:49 AM Michael Niedermayer

Fix and optimize yuv blend in the drawtext filter

Signed-off-by: Michael Niedermayer <>

7d279022 02/22/2011 12:49 AM Michael Niedermayer

get rid of divisions in the inner loop of the drawtext filter

Signed-off-by: Michael Niedermayer <>

476aaec6 02/22/2011 12:49 AM Michael Niedermayer

fix chroma alpha in the drawtext filter

Signed-off-by: Michael Niedermayer <>

edbaedf7 02/22/2011 12:49 AM Michael Niedermayer

Simplify chroma blend in the drawtext filter

Signed-off-by: Michael Niedermayer <>

bd8e7503 02/22/2011 12:49 AM Stefano Sabatini Port drawtext filter by Hemanth from the libavfilter soc repo, with
the following additions:
  • support to anti-aliased glyph rendering
  • support to UTF-8 text and Unicode chars rendering
  • support for RGB packed formats

Signed-off-by: Michael Niedermayer <>

704865fc 02/21/2011 12:56 PM Brandon Mintern

lavfi: add fade filter

Port fade filter from libavfilter soc repo, with minor fixes by
Stefano.

Signed-off-by: Michael Niedermayer <>

fd0b42cc 02/21/2011 12:45 PM Stefano Sabatini

lavfi: put color source in a dedicated file

Move the color source code from vf_pad.c to vsrc_color.c.

Signed-off-by: Michael Niedermayer <>

bcfd9e82 02/21/2011 12:44 PM Stefano Sabatini

lavfi: add drawutils

Add drawutils.h and drawutils.c, and use them in the pad filter.
The new functions are going to be shared by other filters.

Signed-off-by: Michael Niedermayer <>

02d08035 02/18/2011 06:39 PM Michael Niedermayer

Reduce picture size for yadif.
Signed-off-by: Michael Niedermayer <>

bad82d3d 02/18/2011 06:39 PM Michael Niedermayer

Change yadif to not use out of picture lines.
Fixes issue2272.

Signed-off-by: Michael Niedermayer <>

7ffe76e5 02/16/2011 10:00 PM Reinhard Tartler

Merge libavcore into libavutil

Done to keep ABI compatible. Otherwise this is just silly

6985d7bf 02/14/2011 10:37 PM Stefano Sabatini

Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.

Signed-off-by: Michael Niedermayer <>

9b8bb626 02/09/2011 02:33 AM Stefano Sabatini

libavfilter: add video movie source

See thread:
Subject: [PATCH] movie video source
Date: 2010-12-31 15:35:30 GMT

Signed-off-by: Janne Grunau <>

bffad70c 02/06/2011 07:31 PM Clément Bœsch

Remove forgotten if (p) av_free(p) forms

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 290849e2a4e76484f1a34506782e8dbfe7bbe406)

ab543afe 02/06/2011 07:31 PM Stefano Sabatini

Make avfilter_graph_free() free the graph.

Make avfilter_graph_free() free not only the internal structures, but
also the allocated graph, and set the graph pointer to NULL for
increased safety.

Simplify usage.

Signed-off-by: Mans Rullgard <>...

c68be8e1 02/06/2011 07:31 PM Stefano Sabatini

Make avfilter_graph_parse() not free the input graph

Make avfilter_graph_parse() only release the internal structures
allocated during the parsing, and leave to free the graph itself to
the calling code.

This approach looks cleaner, as the graph is not allocated by the...

057f3d27 02/04/2011 02:08 AM Stefano Sabatini

Log debug information in filter_samples().

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 5fce60c3a9fbb21e580bad9165bf19d86ee7d96f)

7b3ea550 01/31/2011 08:32 PM Michael Niedermayer

Add sample_aspect_ratio fields to vsrc_buffer arguments.
This fixes aspect handling in ffmpeg
This is based on a patch by baptiste

14b171cd 01/31/2011 08:32 PM Michael Niedermayer

Add sample_aspect_ratio to AVFilterLink

9ef5a9de 01/30/2011 02:41 AM Luca Barbato

Replace dprintf with av_dlog

dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)

8bc65685 01/30/2011 02:40 AM Stefano Sabatini

In the start_frame() debug log, print the reference pos value rather than the evaluated value converted to int.

That's required because -1 is evaluated as NAN, which converted back
to int looks like a random number, this is especially annoying when
debugging sources with undefined pos (as the video4linux2 device)....

55fa97e2 01/28/2011 08:55 PM Michael Niedermayer

Remove useage of memalign() from libmpcodecs, not all platforms have memalign().

be3e8eda 01/28/2011 06:04 PM Michael Niedermayer

Add forgotten dependancy of avcodec for vf_mp.c

97e528a9 01/28/2011 02:15 AM Diego Elio Pettenò

Make the avfilter debug functions and macros static to avfilter.c

This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link
fro the interface of libavfilter.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit eb7ccf8f3369f9e15029ce65370a114206b39fd5)

61d7f8fe 01/20/2011 02:27 AM Michael Niedermayer

Warn about vf_mp

fd4c59b5 01/20/2011 02:27 AM Michael Niedermayer

Enable libmpcodecs support.

a61b0df7 01/20/2011 02:27 AM Michael Niedermayer

Add ASMALIGN hack to patch around its recent removial from configure

3aa43978 01/20/2011 02:26 AM Michael Niedermayer

Add libmpcodecs wrapper for libavfilter, still disabled

3be78f7e 01/19/2011 11:59 PM Michael Niedermayer

Hack libmpcodecs to make it buildable.

8e45c103 01/19/2011 11:57 PM Michael Niedermayer

Remove dependancy of m_option & m_struct from libmpcodecs.

4d463614 01/19/2011 11:52 PM Michael Niedermayer

Avoid dependancy on global variable verbose in libmpcodecs/vf_pullup.c

45c889a3 01/19/2011 11:50 PM Michael Niedermayer

Add #define _BSD_SOURCE where mplayer is not C99.

e4852fb3 01/19/2011 11:49 PM Michael Niedermayer

Add MPlayers libmpcodecs, this will be needed for our libavfilter wraper for it.

daed21a1 01/18/2011 08:48 PM Mans Rullgard

avfilter: remove stray semicolon

2c3589bf 01/18/2011 08:32 PM Janne Grunau

consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <>

348b8218 01/17/2011 02:50 PM Janne Grunau

convert svn:ignore properties to .gitignore files

Signed-off-by: Janne Grunau <>

dccdd93e 01/16/2011 08:11 PM Stefano Sabatini

Make config_props() return AVERROR rather than 1 in case of
failed SWScaleContext initialization.

Fix issue2546.

Originally committed as revision 26395 to svn://svn.ffmpeg.org/ffmpeg/trunk

84cac86e 01/16/2011 03:20 AM Ronald S. Bultje

Fix fate breakage in r26382.

Originally committed as revision 26383 to svn://svn.ffmpeg.org/ffmpeg/trunk

ecea47a6 01/16/2011 02:47 AM Baptiste Coudurier

Remove useless free, fix warning:
libavfilter/defaults.c: In function 'avfilter_default_get_audio_buffer':
libavfilter/defaults.c:129: warning: 'buf' is used uninitialized in this function

Originally committed as revision 26382 to svn://svn.ffmpeg.org/ffmpeg/trunk

b1779800 01/15/2011 08:43 PM Stefano Sabatini

Include libavcore/audioconvert.h, required for
av_get_channel_layout_string() in ff_dprintf_link.

Fix compilation.

Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk

1d5b1885 01/15/2011 08:02 PM Stefano Sabatini

Reindent.

Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk

7986e34d 01/15/2011 07:58 PM Stefano Sabatini

Make ff_dprintf_link() print meaningful information for audio links.

Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk

a242ac36 01/15/2011 05:31 PM Stefano Sabatini

Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.

More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.

Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk

6baf4afa 01/15/2011 05:21 PM Stefano Sabatini

Make avfilter_unref_buffer() accept a NULL parameter.

Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk

a51c71bb 01/15/2011 12:32 AM Baptiste Coudurier

In yadif filter, default to top field first if interlacing is unknown

Originally committed as revision 26347 to svn://svn.ffmpeg.org/ffmpeg/trunk

3bf3fc0e 01/14/2011 08:58 PM Stefano Sabatini

Add the word "Parsed" in the parsed filter names.

Originally committed as revision 26334 to svn://svn.ffmpeg.org/ffmpeg/trunk

891aeeee 01/13/2011 01:00 AM Stefano Sabatini

Check linked pads media type mismatch in avfilter_link().

Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk

caeb0c30 01/12/2011 09:23 PM Stefano Sabatini

Make avfilter_graph_free() do nothing if graph is NULL.

Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk

8bca3493 01/12/2011 04:40 PM Stefano Sabatini

In the pad filter, log information about the input size.

Originally committed as revision 26320 to svn://svn.ffmpeg.org/ffmpeg/trunk

e3331706 01/11/2011 11:53 PM Michael Niedermayer

Fix design of the pad filter.
Previously the pad filter just drawed borders in the surrounding of the input
without checking if this area was allocated or writeable. Now we check and
allocate a new buffer if the input is unsuitable.

Originally committed as revision 26315 to svn://svn.ffmpeg.org/ffmpeg/trunk

36dc00de 01/11/2011 11:53 PM Michael Niedermayer

Add w,h,format back into AVFilterBuffer, these are required for direct rendering.
These fields are needed to be able to know which area of memory is allocated and
which is off limits.
This reverts 24291 and parts of r24424.

Originally committed as revision 26314 to svn://svn.ffmpeg.org/ffmpeg/trunk

69057b70 01/05/2011 01:14 AM Baptiste Coudurier

In pad filter, update new ref w/h in start_frame, fix chaining

Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk

d34a77fb 01/05/2011 01:00 AM Baptiste Coudurier

In crop filter, update new ref w/h instead of old one, fix chaining

Originally committed as revision 26216 to svn://svn.ffmpeg.org/ffmpeg/trunk

b59dd1ea 12/28/2010 02:10 PM Stefano Sabatini

Fix style nits in avfiltergraph.c.

Originally committed as revision 26116 to svn://svn.ffmpeg.org/ffmpeg/trunk

b5670209 12/28/2010 01:01 AM Stefano Sabatini

Add copy filter, useful for testing the avfilter_draw_slice() copy
code.

Originally committed as revision 26112 to svn://svn.ffmpeg.org/ffmpeg/trunk

28e5d45c 12/27/2010 06:16 PM Stefano Sabatini

Bump lavfi minor and add an entry after r26108 (which added
AV_PERM_NEG_LINESIZES to avfilter.h).

Originally committed as revision 26111 to svn://svn.ffmpeg.org/ffmpeg/trunk

b4356e41 12/27/2010 06:04 PM Stefano Sabatini

In the crop filter, put under ifdef DEBUG the trace logs for the
evaluated crop area coordinates.

Prevent debug log spamming, define the DEBUG symbol for enabling them.

Originally committed as revision 26110 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ccabeea 12/27/2010 03:10 PM Michael Niedermayer

Support filters and decoders that dont support negative linesizes.
This patch is based on work by stefano.

Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk

17fc9493 12/26/2010 11:27 AM Stefano Sabatini

Add erode libopencv filter.

Originally committed as revision 26097 to svn://svn.ffmpeg.org/ffmpeg/trunk

91cbb6ba 12/26/2010 11:27 AM Stefano Sabatini

Add dilate libopencv filter.

Originally committed as revision 26096 to svn://svn.ffmpeg.org/ffmpeg/trunk

cf69ad35 12/23/2010 05:24 PM Stefano Sabatini

Redesign the libopencv wrapper to make it more generic. Accept both
FILTERNAME=ARGS and FILTERNAME:ARGS syntax.

The same filter class will be used for managing all the libopencv
filtering functions.

Originally committed as revision 26079 to svn://svn.ffmpeg.org/ffmpeg/trunk

fee0deb6 12/19/2010 07:08 PM Stefano Sabatini

Fix avfilter_draw_slice() copy code with alpha planes.

Originally committed as revision 26060 to svn://svn.ffmpeg.org/ffmpeg/trunk

2609ad3e 12/19/2010 06:17 PM Stefano Sabatini

Revert commit r22596.

commit ab8610aa176c13b5e25a2d8770df28a14665e169
Author: koorogi &lt;koorogi@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b&gt;
Date: Thu Mar 18 23:13:04 2010 +0000
The vflip filter does not need to keep ownership of a picture reference....
69b8d83e 12/19/2010 01:02 PM Stefano Sabatini

Fix crash in gradfun:end_frame() when inpic == outpic, so it has to be
freed just once.

Originally committed as revision 26058 to svn://svn.ffmpeg.org/ffmpeg/trunk

d5f187fd 12/12/2010 05:59 PM Nolan L

Add gradfun filter, ported from MPlayer.

Patch by Nolan L nol888 <=> gmail >=< com.

See thread:
Subject: [FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)
Date: Mon, 29 Nov 2010 07:18:14 -0500

Originally committed as revision 25942 to svn://svn.ffmpeg.org/ffmpeg/trunk

9241cd20 12/12/2010 01:39 PM Stefano Sabatini

Make avfilter_parse_graph() output a more meaningful message when an
invalid filterchain is detected.

Originally committed as revision 25936 to svn://svn.ffmpeg.org/ffmpeg/trunk

c61cdd0a 12/09/2010 05:27 PM Stefano Sabatini

Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
libavcodec to libavcore.

Remove another compile-time dependancy of libavfilter on libavcodec.

Originally committed as revision 25923 to svn://svn.ffmpeg.org/ffmpeg/trunk

90f1f3bf 12/06/2010 12:14 AM Baptiste Coudurier

In yadif filter, declare asm constants directly to avoid dependency on libavcodec

Originally committed as revision 25895 to svn://svn.ffmpeg.org/ffmpeg/trunk

a4dc7aa5 12/04/2010 01:03 PM Baptiste Coudurier

Port libmpcodecs hqdn3d filter.

Patch by Baptiste with some fixes by me.

Originally committed as revision 25880 to svn://svn.ffmpeg.org/ffmpeg/trunk

4da12e3b 12/04/2010 12:56 PM Stefano Sabatini

Implement av_image_alloc() and use it in
avfilter_default_get_video_buffer().

Originally committed as revision 25878 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf799f68 12/04/2010 05:50 AM Baptiste Coudurier

Declare sse2 and ssse2 function in yadif header

Originally committed as revision 25877 to svn://svn.ffmpeg.org/ffmpeg/trunk

1ef64490 12/04/2010 05:23 AM Baptiste Coudurier

yadif sse2/ssse3 optimizations

Originally committed as revision 25874 to svn://svn.ffmpeg.org/ffmpeg/trunk

037be76e 12/02/2010 08:12 PM Stefano Sabatini

Add avfilter_graph_create_filter().

Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk

f51aeedd 11/30/2010 08:14 PM Stefano Sabatini

Extend the frei0r filter syntax.

Make it accept the frei0r=filtername=params as alternative to
frei0r=filtername:params.

Originally committed as revision 25856 to svn://svn.ffmpeg.org/ffmpeg/trunk

f8608dca 11/30/2010 08:14 PM Stefano Sabatini

Implement frei0r source.

Originally committed as revision 25855 to svn://svn.ffmpeg.org/ffmpeg/trunk

3fa77bde 11/28/2010 10:22 AM Stefano Sabatini

In libavfilter, use consistently "Copyright (c)" in the license
headers.

Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk

2467997c 11/25/2010 11:51 PM Stefano Sabatini

Fix crash in uninit.

Originally committed as revision 25829 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b195435 11/25/2010 09:22 PM Stefano Sabatini

Fix timestamp scaling in the overlay filter.

Compute the outpicref PTS in start_frame(), since it is required for
comparing that value with the value of the overpicref.

Originally committed as revision 25828 to svn://svn.ffmpeg.org/ffmpeg/trunk

d38c340f 11/25/2010 08:50 PM Stefano Sabatini

Implement avfilter_get_video_buffer_ref_from_arrays().

Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk

4723bc28 11/25/2010 08:50 PM Stefano Sabatini

Make avfilter_default_free_buffer() an internal shared symbol, so that
it can be referenced outside defaults.c.

Originally committed as revision 25826 to svn://svn.ffmpeg.org/ffmpeg/trunk

459b0661 11/24/2010 06:07 PM Stefano Sabatini

0.123l: remove unused arguments in av_log(), fix warning.

Originally committed as revision 25820 to svn://svn.ffmpeg.org/ffmpeg/trunk

6fd2b8bd 11/24/2010 02:38 AM Baptiste Coudurier

In aspect filter, fix display for input resolution

Originally committed as revision 25819 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ff99953 11/24/2010 01:32 AM Baptiste Coudurier

In crop filter, reference picref after updating w/h, fix issue #2377

Originally committed as revision 25818 to svn://svn.ffmpeg.org/ffmpeg/trunk

16d14d64 11/23/2010 09:08 PM Stefano Sabatini

Add informative log message in the crop filter.

Originally committed as revision 25817 to svn://svn.ffmpeg.org/ffmpeg/trunk

b7be04f3 11/22/2010 10:03 PM Stefano Sabatini

Reindent.

Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk

7de19a32 11/22/2010 10:03 PM Stefano Sabatini

Implement robust parsing in aspect filters.

Originally committed as revision 25802 to svn://svn.ffmpeg.org/ffmpeg/trunk

eee0ef5e 11/22/2010 10:03 PM Stefano Sabatini

Add informative log messages to the set aspect filters.

Originally committed as revision 25801 to svn://svn.ffmpeg.org/ffmpeg/trunk

2fb21bf4 11/22/2010 10:03 PM Stefano Sabatini

Give more explicit/less confusing names to the filters dealing with
aspect ratio.

Originally committed as revision 25800 to svn://svn.ffmpeg.org/ffmpeg/trunk

902d49ee 11/22/2010 08:42 PM Baptiste Coudurier

In yadif filter, copy video props to output picture.
Fix issue #2269.
Interpolate pts for the second frame when using field output mode.

Originally committed as revision 25798 to svn://svn.ffmpeg.org/ffmpeg/trunk

63e8d976 11/21/2010 08:06 PM Stefano Sabatini

Use the new libavcore audio channel API.

This also allows to remove a linking dependency of libavfilter on
libavcodec.

Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk

58935b25 11/21/2010 06:39 PM Stefano Sabatini

Port overlay filter from the libavfilter repo (with many fixes),
adopting Baptiste variant which is simpler and faster.

Originally committed as revision 25784 to svn://svn.ffmpeg.org/ffmpeg/trunk

9abf3441 11/18/2010 08:37 PM Stefano Sabatini

Log error message in case of invalid parsing.

Originally committed as revision 25765 to svn://svn.ffmpeg.org/ffmpeg/trunk

bdb47f3a 11/18/2010 08:37 PM Stefano Sabatini

Fix style: if( -> if (.

Originally committed as revision 25764 to svn://svn.ffmpeg.org/ffmpeg/trunk

cef4b74b 11/18/2010 08:37 PM Stefano Sabatini

Remove redundant information in header.

Originally committed as revision 25763 to svn://svn.ffmpeg.org/ffmpeg/trunk

0985e1a3 11/17/2010 10:58 PM Aurelien Jacobs

move the av_parse_color() function from libavfilter to libavcore

Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk

c71e9640 11/17/2010 01:03 AM Baptiste Coudurier

100L fix get_video_buffer in pad filter, get_video_buffer will store wrong values for w and h

Originally committed as revision 25759 to svn://svn.ffmpeg.org/ffmpeg/trunk

f6c182a0 11/13/2010 02:37 PM Stefano Sabatini

Fix frei0r filter after av_parse_color() syntax change.

Originally committed as revision 25748 to svn://svn.ffmpeg.org/ffmpeg/trunk

2722dd6e 11/13/2010 01:55 PM Aurelien Jacobs

improve av_parse_color() to allow for non-null terminated color string

Originally committed as revision 25744 to svn://svn.ffmpeg.org/ffmpeg/trunk

521b8607 11/13/2010 01:49 PM Aurelien Jacobs

improve av_parse_color() to support html formatting

Originally committed as revision 25743 to svn://svn.ffmpeg.org/ffmpeg/trunk

5aaea022 11/13/2010 09:51 AM Stefano Sabatini

Make avfiltergraph.h public.

Originally committed as revision 25740 to svn://svn.ffmpeg.org/ffmpeg/trunk