Statistics
| Branch: | Revision:

ffmpeg @ bebe72f4

# Date Author Comment
bebe72f4 04/26/2011 06:38 AM Stefano Sabatini

lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums

Also deprecate av_get_pict_type_char() in favor of
av_get_picture_type_char().

The new enum and av_get_picture_type_char() are defined in libavutil.
This allows the use in libavfilter without the need to link against...

30fe9719 04/26/2011 06:33 AM Michael Niedermayer

aac: add headers needed for log2f()

Signed-off-by: Anton Khirnov <>

6deae83e 04/26/2011 06:16 AM Anton Khirnov

lavc: remove FF_API_MB_Q cruft

694c1424 04/26/2011 06:16 AM Anton Khirnov

lavc: remove FF_API_RATE_EMU cruft

e7021c0e 04/26/2011 06:16 AM Anton Khirnov

lavc: remove FF_API_HURRY_UP cruft

73a4f7c2 04/26/2011 05:43 AM Stefano Sabatini

pad: make the filter parametric

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

0bbb28c7 04/26/2011 05:43 AM royger

vsrc_movie: add key_frame and pict_type.

Signed-off-by: Roger Pau Monné <>
Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>

5eb901cf 04/26/2011 05:42 AM 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.

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

10d39405 04/26/2011 05:42 AM Roger Pau Monné

lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.

Signed-off-by: Anton Khirnov <>

7a11c82f 04/26/2011 05:38 AM Michael Niedermayer

vsrc_buffer: add sample_aspect_ratio fields to arguments.

This fixes aspect handling in ffmpeg.

This is based on a patch by Baptiste.

Signed-off-by: Anton Khirnov <>

2f84bb42 04/26/2011 05:37 AM Mark Himsley

lavfi: add fieldorder filter

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

68e23c08 04/26/2011 05:29 AM Stefano Sabatini

scale: make the filter parametric

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

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

b137bf7d 04/26/2011 05:21 AM James Darnley

yadif: support 16-bit

Fixes by Michael Niedermayer <>

Signed-off-by: Anton Khirnov <>

88312a4d 04/26/2011 05:15 AM James Darnley

yadif: support more than yuv420p.

and correctly support grey8

Signed-off-by: Anton Khirnov <>

d85e18e6 04/26/2011 05:15 AM Michael Niedermayer

yadif: Fix assert() failure

Signed-off-by: Anton Khirnov <>

f80b381b 04/25/2011 08:45 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.

Signed-off-by: Anton Khirnov <>

c61bfc11 04/25/2011 08:45 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.

Signed-off-by: Anton Khirnov <>

b04d1abb 04/25/2011 08:45 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...

9026b27e 04/25/2011 08:45 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....

ba9327ea 04/25/2011 07:57 PM Luca Barbato

win32: include the correct header in cmdutils.c

CommandLineToArgvW requires windows.h, include it directly

6ad2bafc 04/25/2011 06:27 PM Janne Grunau

ac3: fix memleak in fixed-point encoder

caused by typo in mdct_end

a14c0824 04/25/2011 02:01 PM Diego Biurrun

flashsv: Return more meaningful error values.

46cb2da1 04/25/2011 01:41 PM Diego Biurrun

flashsv: Employ explicit AVCodec struct initializers.

23f40a07 04/25/2011 06:26 AM Kostya Shishkov

read AVI palette from the end of extradata

Official AVI specification says that stream header in case of video contains
BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently
lavf AVI demuxer thinks otherwise which produces garbage on codecs that have...

293fe6da 04/24/2011 11:50 PM Diego Biurrun

cosmetics: K&R coding style and more whitespace for Flash Screen Video

2441003d 04/24/2011 11:39 PM Diego Biurrun

vorbisdec: Employ proper printf format specifiers for uint_fast32_t.

libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’

5f85d49b 04/24/2011 06:30 PM Martin Storsjö

applehttp: Don't export variant_bitrate if it isn't known

If there are no variants, the total bitrate of the single
stream isn't known, and exporting variant_bitrate = 0 does
look weird, since there really aren't any variants.

Signed-off-by: Martin Storsjö <>

ac9cf2e5 04/24/2011 06:30 PM Martin Storsjö

crypto: Use av_freep instead of av_free

Using av_freep is generally good practice.

Signed-off-by: Martin Storsjö <>

50f7c296 04/24/2011 03:24 PM Reinhard Tartler

configure: Add missing libm library dependencies to .pc files.

This unbreaks static compilation using pkg-config on systems in need of -lm.
Based on an mplayer2 patch by Uoti Urpala <>

Signed-off-by: Diego Biurrun <>

dc713546 04/24/2011 02:45 PM Clément Bœsch

oggdec: reindent after 8f3eebd6

Signed-off-by: Diego Biurrun <>

e9251bb5 04/24/2011 01:15 PM Reinhard Tartler

configure: Add missing libavutil inter-library dependencies to .pc files.

This unbreaks static compilation when using pkg-config.
Based on an mplayer2 patch by Uoti Urpala <>

Signed-off-by: Diego Biurrun <>

b1ac139d 04/23/2011 09:05 PM Kirill Gavrilov

Handle unicode file names on windows

All file names should be in UTF-8 within libavformat.

This is handled by mapping the open() function to an internal one
in os_support.h for windows.

fopen() could be overridden in the same way, but if that would be
used from ffmpeg.c, it would add a dependency on an ff prefixed...

9261e6cf 04/23/2011 09:05 PM Martin Storsjö

rtp: Rename the open/close functions to alloc/free

This avoids clashes if we internally want to override the global
open function.

Signed-off-by: Martin Storsjö <>

89b503b5 04/23/2011 05:12 PM Diego Biurrun

Lowercase all ff* program names.

3a50894e 04/23/2011 05:12 PM Diego Biurrun

Refer to ff* tools by their lowercase names.

43fb279f 04/23/2011 05:12 PM Diego Biurrun

Replace more FFmpeg instances by Libav or ffmpeg.

6252040e 04/23/2011 03:45 PM Diego Biurrun

Replace `` by $() syntax in shell scripts.

$() is easier to nest and POSIX, which we require in other places.

ff3be572 04/23/2011 03:31 PM Brad

patcheck: Allow overiding grep program(s) through environment variables.

patcheck hardcodes the binary names for grep/egrep. This makes overriding the
binary names a pain, e.g. when calling a GNU version of grep on BSD systems.

Signed-off-by: Diego Biurrun <>

75e8fba8 04/23/2011 12:23 PM Diego Biurrun

Remove stray libavcore and _g binary references.

046f3cb7 04/23/2011 12:23 PM Diego Biurrun

vorbis: Rename decoder/encoder files to follow general file naming scheme.

f50d9377 04/23/2011 12:02 PM Nathan Caldwell

aacenc: Fix whitespace after last commit.

Signed-off-by: Martin Storsjö <>

62582a69 04/23/2011 10:05 AM Diego Biurrun

cook: Fix small typo in av_log_ask_for_sample message.

230c1a90 04/23/2011 09:30 AM Nathan Caldwell

aacenc: Finish 3GPP psymodel analysis for non mid/side cases.

There is still are still a few sections missing relating to TNS (not present)
and mid/side (contains other bugs).

Overall this improves quality, and vastly improves rate-control.

Signed-off-by: Martin Storsjö <>

cfc2a0cf 04/23/2011 03:38 AM Alex Converse

Remove RDFT dependency from AAC decoder.

$subj

From 557176d961c70604c2a96d81aff4bd6faa670d8a Mon Sep 17 00:00:00 2001

From: Alex Converse <>
Date: Thu, 21 Apr 2011 12:11:42 -0700
Subject: [PATCH] Remove RDFT dependency from AAC decoder....

785c4418 04/23/2011 03:36 AM Alex Converse

Add some debug log messages to AAC extradata

On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles
<> wrote:

On 04/20/2011 02:26 PM, Alex Converse wrote:

---
 libavcodec/aacdec.c |   10 +++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)...

3583d7cf 04/23/2011 03:36 AM Alex Converse

Fix mov debug (u)int64_t format strings.

15919ee4 04/23/2011 12:05 AM Jason Garrett-Glaser

bswap: use native types for av_bwap16().

This prevents a call to bytestream_get_be16() using a movzwl both before
and after the ror instruction, which is obviously inefficient. Arm uses
the same trick also.

Sintel decoding goes from (avg+SD) 9.856 +/- 0.003 to 9.797 +/- 0.003 sec....

6ffd7edd 04/22/2011 09:34 PM Carl Eugen Hoyos

doc: FLV muxing is supported.

Signed-off-by: Martin Storsjö <>

84465f21 04/22/2011 09:27 PM Martin Storsjö

applehttp: Handle AES-128 encrypted streams

This should hopefully fix roundup issue 2586.

This commit only implements it in the demuxer, not in the
protocol handler. If desired, some of the code could be
refactored to be shared by both implementations.
...

6e4f70a8 04/22/2011 09:27 PM Martin Storsjö

Add a protocol handler for AES CBC decryption with PKCS7 padding

This can later be extended to support other AES bit sizes,
encryption, other crypto algorithms, reading the key from a URL, etc.

In order to use it, the key and initialization vector has to be...

d5c5a1c7 04/22/2011 09:06 PM Martin Storsjö

doc: Mention that DragonFly BSD requires __BSD_VISIBLE set

Setting this should fix the FATE build failure on DragonFly BSD,
since inet_aton only is visible if __BSD_VISIBLE is set.

Alternatively, a line defining __BSD_VISIBLE=1 could be
added at the top of os_support.c. For FreeBSD, similar lines...

d9dee728 04/22/2011 06:12 PM Diego Biurrun

Use av_log_ask_for_sample() to request samples from users.

44f566b7 04/22/2011 06:12 PM Diego Biurrun

Make av_log_ask_for_sample() accept a variable number of arguments.

b2832c39 04/22/2011 06:02 PM Diego Biurrun

vqavideo: We no longer need to ask for version 1 samples.

9978ed7d 04/22/2011 12:47 PM Young Han Lee

aacdec: indentation cosmetics

Signed-off-by: Diego Biurrun <>

b4a53314 04/21/2011 11:50 PM Ronald S. Bultje

APIChanges: document git revision for CODEC_CAP_SLICE_THREADS addition.

94f7451a 04/21/2011 11:42 PM Ronald S. Bultje

Introduce slice threads flag.

Signed-off-by: Ronald S. Bultje <>

3283f274 04/21/2011 11:36 PM Ronald S. Bultje

FATE: allow forcing thread-type when doing threaded fate runs.

Signed-off-by: Ronald S. Bultje <>

70fb031c 04/21/2011 05:58 PM Diego Biurrun

Use av_log_ask_for_sample() where appropriate.

8d67218b 04/21/2011 02:48 PM Stefano Sabatini

error: sort, pack, and align error code and string definitions

Signed-off-by: Diego Biurrun <>

ab1adff7 04/21/2011 02:23 PM Diego Biurrun

The stabilization period after version bumps should be one month, not one week.

fe8e0394 04/21/2011 11:13 AM Martin Storsjö

applehttp: Expose the stream bitrate via metadata

This helps callers to intelligently switch between bitrate
variants.

Signed-off-by: Martin Storsjö <>

cac27579 04/21/2011 11:13 AM Martin Storsjö

doc: Add some initial docs on the applehttp demuxer

Signed-off-by: Martin Storsjö <>

23d3931a 04/21/2011 11:13 AM Martin Storsjö

Provide a fallback version of the libm function trunc

This fixes compilation on DOS.

Signed-off-by: Martin Storsjö <>

32a12852 04/21/2011 11:13 AM Martin Storsjö

libavdevice: Define _XOPEN_SOURCE for usleep

This hopefully fixes build failures on Dragonfly BSD.

Signed-off-by: Martin Storsjö <>

65af48b5 04/21/2011 05:22 AM Anton Khirnov

lavc: provide deprecated avcodec_thread_init until next major version

It was deprecated only recently.

095290f9 04/21/2011 05:14 AM Anton Khirnov

lavc: provide the opt.h header until the next bump

AVOptions were moved to libavutil only recently.

a975dbc8 04/21/2011 05:10 AM Anton Khirnov

error: change AVERROR_EOF value

The current value is masking the POSIX error code EPIPE, which has a
different semantics.

This breaks API.

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

79157f40 04/21/2011 05:10 AM Stefano Sabatini

error: remove AVERROR_NUMEXPECTED

AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and
has a too much specific meaning, which is better explained through a
log message. Thus it can be replaced by AVERROR.

This breaks API.

Signed-off-by: Stefano Sabatini <>...

58f84639 04/21/2011 05:10 AM Stefano Sabatini

error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c

The new error code is better than AVERROR, which has a
completely different semantics ("No such file or directory").

Signed-off-by: Stefano Sabatini <>...

f83acb09 04/20/2011 06:44 PM Martin Storsjö

Makefile: Include dependencies for test tools, too

This makes seek_test to be rebuilt when its dependencies
has changed. The changes to the dependencies didn't usually matter
in practice, but the introduction of side data in AVPacket required
a recompilation....

63de9e7d 04/20/2011 04:19 PM Diego Biurrun

Remove a version check in av_log made unnecessary by the big bump.

53f7628d 04/20/2011 03:46 PM Justin Ruggles

update last major version increase dates in APIchanges

14e3b120 04/20/2011 03:38 PM Michael Niedermayer

Reduce picture size for yadif.

Signed-off-by: Anton Khirnov <>

52512d0a 04/20/2011 03:37 PM Michael Niedermayer

oggdec: use av_freep() instead of av_free()

Signed-off-by: Anton Khirnov <>

26f6b8c5 04/20/2011 03:00 PM Martin Storsjö

avio: Fix sanity checks in ffurl_read*

This fixes e.g. reading data over HTTP, where the underlying
socket is set to read/write.

Signed-off-by: Anton Khirnov <>

7bbb67d5 04/20/2011 12:42 PM Martin Storsjö

libavformat: Free AVFormatContext->streams

After switching this from a statically allocated array to a
dynamically allocated one in the major bump, this needs explicit
freeing.

Signed-off-by: Martin Storsjö <>

c60112f2 04/20/2011 11:59 AM Martin Storsjö

libavformat: Make protocols pass URLContext as log context where available

Since the libavformat major bump, URLContext contains an AVClass,
making it a usable log context.

Signed-off-by: Martin Storsjö <>

8408e1d7 04/20/2011 11:47 AM Vladimir Pantelic

asf: remove commented out code in asf_read_seek

Signed-off-by: Mans Rullgard <>

a81ff195 04/20/2011 10:18 AM Diego Biurrun

libpostproc: Remove crufty code disabled by the big bump.

5efef54e 04/20/2011 05:13 AM Reinhard Tartler

Reflect 0.7_beta1 release in the Changelog

7dfe244f 04/19/2011 07:50 PM Anton Khirnov

sws: remove disabled cruft.

975c2734 04/19/2011 07:50 PM Anton Khirnov

lavu: remove disabled ff_random_get_seed cruft.

488d2b63 04/19/2011 07:50 PM Anton Khirnov

lavu: remove disabled sha1 cruft.

31d76ec2 04/19/2011 06:10 PM Justin Ruggles

In avcodec_open(), set return code to an error value only when an error occurs
instead of unconditionally at the start of the function.

This fixes a bug where a successful call to ff_thread_init() masks errors that
occur after that point in the function. It also makes future bugs like this...

cda7aa9e 04/19/2011 05:50 PM Anton Khirnov

lavc: remove reference to opt.h from Makefile.

Fixes make install after 3453a231a6cebe5989c213be0f9fd6c71ec5ea23.

55815edc 04/19/2011 05:48 PM Stefano Sabatini

prefer avio_check() over url_exist()

The problem with url_exist() is that it tries to open a resource in
RDONLY mode. If the file is a FIFO and there is already a reading
client, the open() call will hang.

By using avio_check() with access mode of 0, the second reading...

59d96941 04/19/2011 05:47 PM Stefano Sabatini

avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols

Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.

This breaks API.

490a022d 04/19/2011 05:04 PM Anton Khirnov

lavu: remove misc disabled cruft

9e5c62c9 04/19/2011 05:04 PM Anton Khirnov

lavu: remove FF_API_OLD_IMAGE_NAMES cruft

516fb5e4 04/19/2011 05:03 PM Anton Khirnov

lavu: remove FF_API_OLD_EVAL_NAMES cruft

3453a231 04/19/2011 05:01 PM Anton Khirnov

lavc: remove misc disabled cruft.

251cf997 04/19/2011 04:41 PM Anton Khirnov

lavc: remove the FF_API_INOFFICIAL cruft.

41d0eb1c 04/19/2011 04:41 PM Anton Khirnov

lavc: remove the FF_API_SET_STRING_OLD cruft.

01a4259b 04/19/2011 04:40 PM Anton Khirnov

lavc: remove the FF_API_USE_LPC cruft.

db4d3a74 04/19/2011 04:39 PM Anton Khirnov

lavc: remove the FF_API_SUBTITLE_OLD cruft.

e89e5afd 04/19/2011 04:37 PM Anton Khirnov

lavc: remove the FF_API_VIDEO_OLD cruft.

9b4f1cdb 04/19/2011 04:37 PM Anton Khirnov

lavc: remove the FF_API_AUDIO_OLD cruft.

20d33ee8 04/19/2011 04:36 PM Anton Khirnov

lavc: remove the FF_API_OPT_SHOW cruft.

42420e7b 04/19/2011 04:35 PM Anton Khirnov

lavc: remove the FF_API_MM_FLAGS cruft.