Statistics
| Branch: | Revision:

ffmpeg / libavfilter @ e4852fb3

# Date Author Comment
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

906eaab4 11/13/2010 09:20 AM Stefano Sabatini

In ff_get_ref_perms_string() use 'u' and 'U' for representing
AV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char
'r' used for AV_PERM_READ.

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

4fcbb2af 11/13/2010 12:21 AM Stefano Sabatini

Prefix with "ff_" the functions:
ff_avfilter_graph_check_validity()
ff_avfilter_graph_config_links()
ff_avfilter_graph_config_formats()

and move their declaration to internal.h. These functions are never
used in application code, so it is better to consider them internal...

5d6e4c16 11/12/2010 11:04 AM Stefano Sabatini

Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat.

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

668673f1 11/11/2010 10:41 PM Stefano Sabatini

Add missing check on the existence of an associated output pad for
each specified output link label.

Fix crash.

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

cb4fe492 11/11/2010 09:29 PM Aurelien Jacobs

remove declaration inside for(), i is already declared

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

6ed3bace 11/10/2010 11:37 PM Aurelien Jacobs

drop support for base-10 encoded alpha component in av_parse_color()

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

d2af7205 11/08/2010 02:06 PM Stefano Sabatini

Use hierarchic names convention (prefix them with av_expr) for the
eval API.

More grep-friendly and more consistent with the rest of the FFmpeg
API.

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

24de0edb 11/08/2010 12:32 PM Stefano Sabatini

Rename avfilter_destroy() as avfilter_free().

The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.

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

1e80a0ea 11/07/2010 10:56 PM Stefano Sabatini

Remove graphparser.h header, move AVFilterInOut and
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.

Simplify, and less confusing for the user.

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

0b90e4a2 11/07/2010 10:47 PM Stefano Sabatini

Document AVFilterInOut fields.

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

55b2a9ba 11/07/2010 10:47 PM Stefano Sabatini

Extend documentation for parse_filter().

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

da6ec07c 11/07/2010 06:56 PM Stefano Sabatini

Bump lavfi minor and add APIchanges entry after the rename of
AVFilterInOut.filter.

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

7313132b 11/07/2010 06:40 PM Stefano Sabatini

Rename AVFilterInOut field filter to filter_ctx, more semantically correct.

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

c24f76b9 11/07/2010 06:40 PM Stefano Sabatini

Make avfilter_graph_parse() always return meaningful error codes.

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

0cc8b659 11/07/2010 06:40 PM Stefano Sabatini

Make parse_outputs() always return meaningful error codes.

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

00b3ca3c 11/07/2010 06:40 PM Stefano Sabatini

Add missing memory check in parse_inputs(), and fix possible (yet very unlikely) crash.

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

42e7f6d7 11/07/2010 06:40 PM Stefano Sabatini

Make parse_inputs() return AVERROR rather than -1 in case the
link label parsed by parse_link_name() is invalid.

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

fbd97184 11/07/2010 06:40 PM Stefano Sabatini

Add missing check in link_filter_inouts(), and fix possible (yet very unlikely) crash.

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

ed581e65 11/07/2010 06:40 PM Stefano Sabatini

Rename the variable filter to filt_ctx in link_filter_inouts, as the variable denotes a filter context.

Less confusing.

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

684ade49 11/07/2010 06:39 PM Stefano Sabatini

Make link_filter_inouts() return meaningful error codes.

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

688b9dad 11/07/2010 06:39 PM Stefano Sabatini

Change the signature of parse_filter() to make it return an error code.

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

c58572f8 11/07/2010 06:39 PM Stefano Sabatini

Change the signature of create_filter() to make it return an error code.

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

97dd1e4a 11/04/2010 08:34 PM Stefano Sabatini

Rename avfilter_graph_destroy() to avfilter_graph_free().

The new name is shorter and more consistent with the rest of the API.

This change breaks libavfilter API/ABI.

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

e15aeea6 11/04/2010 08:34 PM Stefano Sabatini

Implement avfilter_graph_alloc().

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

a6fdd574 11/04/2010 08:26 PM Stefano Sabatini

Amend avfilter_graph_parse() documentation for the return code, make
it more generic.

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

ba7d6e79 11/03/2010 08:19 PM Stefano Sabatini

Remove usage of deprecated libavcodec/audioconvert.h functions.

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

6f2325e3 11/02/2010 10:53 PM Stefano Sabatini

1/PHIl: swap again settb/setpts, fix alphabetical order.

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

a532bb39 11/02/2010 10:29 PM Stefano Sabatini

Add setpts filter, ported from the libavfilter soc repo.

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

41f1d3af 11/02/2010 07:42 PM Stefano Sabatini

Fix timestamp handling in more filters after the change which set the
timebase in the filter link.

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

a4ef9658 11/02/2010 07:42 PM Stefano Sabatini

Make the blackframe filter print the time, in addition to the
timestamp, for each detected black frame.

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

d370e3e9 11/02/2010 07:42 PM Stefano Sabatini

Make the cropdetect filter print the time for each frame, in addition
to the timestamp.

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

4b3d0dc6 11/02/2010 06:40 PM Stefano Sabatini

Fix crop->var_values[VAR_T] computation in the crop filter.

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