Statistics
| Branch: | Revision:

ffmpeg / libavfilter @ dc8e1b75

# Date Author Comment
dc8e1b75 04/18/2011 05:25 PM Stefano Sabatini

vsrc_movie: fix leak in request_frame()

Also set movie->picref to NULL, in order to avoid a crash in uninit()
when movie->picref is unreffed again and it was already freed.

Fix trac issue #66.

Signed-off-by: Stefano Sabatini <>

2d2b5a14 04/17/2011 09:59 PM Michael Niedermayer

10l, commit that should have been stashed into the merge.
Signed-off-by: Michael Niedermayer <>

c4079844 04/17/2011 09:43 PM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    ac3dec: fix processing of delta bit allocation information.
    vc1: fix fate-vc1 after previous commit.
    wmv3dec: fix playback of complex WMV3 files using simple_idct.
    make av_dup_packet() more cautious on allocation failures...
6001dad6 04/17/2011 05:31 PM Diego Biurrun

Replace more FFmpeg references by Libav.

c9678600 04/17/2011 03:33 PM Stefano Sabatini

scale: set evaluated value for the "out_w" and "out_h" constants

The constant values were never set, thus the evaluation of expressions
referencing those constants were resulting in an error.

Signed-off-by: Stefano Sabatini <>

e93d3334 04/17/2011 03:32 PM Stefano Sabatini

scale: fix computation for the "hsub" and "vsub" constants

Signed-off-by: Stefano Sabatini <>

09a1416d 04/16/2011 08:09 AM Roger Pau Monné

Add key_frame and pict_type to AVFilterBufferRefVideo.

b52a65cc 04/11/2011 09:29 AM Stefano Sabatini

vsrc_buffer.h: add file doxy

Signed-off-by: Stefano Sabatini <>

e601ff19 04/11/2011 09:28 AM Stefano Sabatini

vsrc_buffer.h: add multiple inclusion guards

Signed-off-by: Stefano Sabatini <>

f763a7c6 04/11/2011 09:19 AM Stefano Sabatini

vsrc_buffer: tweak error message in init()

Change:
Expected 7 arguments, but only %d found in '%s'\n
to:
Expected 7 arguments, but %d found in '%s'\n

as the user may provide more than 7 arguments, in that case the error
is not misleading.

aa0c515a 04/10/2011 10:14 PM Mark Himsley

lavfi: add fieldorder filter

Signed-off-by: Stefano Sabatini <>

4b9c03b7 04/06/2011 11:49 PM Michael Niedermayer

Align stack variables manually in yadif x86 code, should fix ticket25
Signed-off-by: Michael Niedermayer <>

d496d33d 04/05/2011 01:38 PM Stefano Sabatini

scale: make the filter parametric

Make the filter accept parametric expressions for the output video
size.

Signed-off-by: Stefano Sabatini <>

eb79c528 04/05/2011 01:21 AM Michael Niedermayer

Update yadif copyright header
Signed-off-by: Michael Niedermayer <>

de0f445b 04/05/2011 01:21 AM James Darnley

Factorise the C filtering in yadif

2657fd0c 04/05/2011 01:21 AM Michael Niedermayer

Yadif fixes that where missing from the patch
Signed-off-by: Michael Niedermayer <>

457be696 04/05/2011 01:21 AM James Darnley

Support 16-bit in yadif

257ac5f1 04/05/2011 01:21 AM James Darnley

support more than yuv420p in yadif

(and correctly support grey8)

2cae9809 04/04/2011 12:15 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    fate: fix partial run when no samples path is specified
    ARM: NEON fixed-point forward MDCT
    ARM: NEON fixed-point FFT
    lavf: bump minor version and add an APIChanges entry for avio changes
    avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()...
7d948dc4 04/03/2011 02:40 PM Michael Niedermayer

Support changing pixel formats on avfilter input.
Fix issue2217
Signed-off-by: Michael Niedermayer <>

bbd1c43f 04/03/2011 02:40 PM Michael Niedermayer

Dont leak sws contexts.
Signed-off-by: Michael Niedermayer <>

aadfc9ee 04/03/2011 06:47 AM Brandon Mintern

lavfi: add fade filter

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

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>

233ed6b3 04/03/2011 06:46 AM Michael Niedermayer

Change yadif to not use out of picture lines.

Fixes issue2272.

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>

679191a5 04/02/2011 06:27 PM Michael Niedermayer

yadif:Fix assert() failure

Signed-off-by: Michael Niedermayer <>

0fff764b 04/02/2011 09:48 AM Stefano Sabatini

drawtext: allow negative shadow offset values

2f86e7bd 03/30/2011 08:16 PM Stefano Sabatini

graphparser: add a NULL check on the argument passed to strstr

Fix crash in create_filter() which occurrs if a scale filter with no
args is provided.

c5099867 03/28/2011 08:50 PM Stefano Sabatini

mp: extend syntax, make it accept mp=filter=params

Make the mp wrapper accept the syntax mp=filter=params as alternative
to mp=filter:params. The alternative syntax is sligthly more readable
and should simplify copy&paste of MPlayer filter strings to the mp...

57e2ded4 03/27/2011 11:45 PM Michael Niedermayer

Implement interlaced scaling.
Fixes issue2632 if interl=1 is used or the automatic interlace detection is enabled
and works. This has the advantage compared to the patch in issue2632 that it causes
no speed loss and it also works when scaling is used. The disadvantage is that...

efc8c709 03/27/2011 05:00 PM Stefano Sabatini

drawtext: draw glyphs for the strftime()-expanded text

In draw_glyphs(), draw glyphs in dtext->expanded_text rather than in
dtext->text. Fix crash if a strftime() sequence is used.

3ea031b3 03/27/2011 02:27 PM Stefano Sabatini

setdar: prefer "sar" over "par" in log info message

This is more consistent with the terminology adopted by the aspect
filter names.

f5607c83 03/26/2011 02:24 AM Peter Ross

Make the hflip filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

af555733 03/26/2011 02:24 AM Peter Ross

Make the crop filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

0bfe349d 03/25/2011 06:05 PM Reimar Döffinger

Update to latest MPlayer version.

Avoids warnings due to pointlessly casting away const.

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

19d82cb1 03/18/2011 10:25 PM Mark Himsley

fade: fix draw_slice() check on fade->factor value

draw_slice() checks that the fade factor is < 65536 and only
calculates the fade if so. But the fade factor is clipped in
end_frame() by av_clip_uint16() to 65535, so the fade is calculated
for every frame. This patch alters the check so that it compares with...

1527e689 03/18/2011 10:25 PM Mark Himsley

fade: make draw_slice() chroma check against planes 1 and 2

draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data
are not NULL before manipulating planes 1 and 2. This patch makes the
check against planes 1 and 2. More senseful and possibly more robust.

3660b5bc 03/17/2011 06:09 PM j@v2v.cc

remove definition of swab

right now swab is defined in libavfilter/libmpcodecs/mpbswap.h
this breaks mingw32 cross compiles. since it its not used, it should be
removed. alternatively swab has to be added to HAVE_LIST in configure.

Signed-off-by: Michael Niedermayer <>

e528cdac 03/17/2011 04:26 PM Michael Niedermayer

Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"

This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.

0cb88628 03/17/2011 04:26 PM Michael Niedermayer

Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"

This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.

0fecf264 03/17/2011 04:22 PM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

Conflicts:
Changelog
doc/APIchanges
doc/optimization.txt
libavformat/avio.h

Merged-by: Michael Niedermayer <>

69aab680 03/16/2011 09:26 PM Baptiste Coudurier

Use av_strdup instead of strdup, fixes mingw build

a03be6e1 03/16/2011 08:54 PM Janne Grunau

use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*

29ba0911 03/16/2011 08:54 PM Janne Grunau

replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION

also update the multiple inclusion guards in config.h|mak

49e617f9 03/08/2011 01:08 AM Mans Rullgard

yadif: add parens around macro parameters

This fixes compilation with preprocessors which do not add whitespace
around replaced tokens, resulting in invalid expressions like 1--1.

Signed-off-by: Mans Rullgard <>

391a1327 03/05/2011 02:51 PM Mans Rullgard

yadif: add parens around macro parameters

This fixes compilation with preprocessors which do not add whitespace
around replaced tokens, resulting in invalid expressions like 1--1.

Signed-off-by: Mans Rullgard <>

82142490 02/25/2011 02:34 PM Carl Eugen Hoyos

Add libmpcodecs to the list of libavfilter subdirectories.

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

Add shadow support to the drawtext filter

Signed-off-by: Michael Niedermayer <>

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

factor draw_glyphs out of drawtext filter

Signed-off-by: Michael Niedermayer <>

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 <>

c8c0189d 02/21/2011 02:09 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: Mans Rullgard <>

5ad06110 02/21/2011 02:09 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: Mans Rullgard <>

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

737eb597 02/15/2011 03:18 PM Reinhard Tartler

Merge libavcore into libavutil

It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody...

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 <>

70c275f8 02/14/2011 08:00 PM Stefano Sabatini

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

910b5b82 02/14/2011 01:07 PM Michael Niedermayer

Add sample_aspect_ratio to AVFilterLink

Signed-off-by: Mans Rullgard <>

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 <>

9409c381 02/08/2011 12:20 PM 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...

290849e2 02/04/2011 10:00 AM Clément Bœsch

Remove forgotten if (p) av_free(p) forms

Signed-off-by: Mans Rullgard <>

4359288c 02/04/2011 02:55 AM 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 <>

e8e5dde7 02/04/2011 02:55 AM 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)

5fce60c3 02/02/2011 12:12 PM Stefano Sabatini

Log debug information in filter_samples().

Signed-off-by: Mans Rullgard <>

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)....

dfd2a005 01/29/2011 10:55 PM Luca Barbato

Replace dprintf with av_dlog

dprintf clashes with POSIX.1-2008

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

3e5bc7ff 01/28/2011 04:27 PM 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)....

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)

eb7ccf8f 01/26/2011 03:33 PM 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 <>

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