Statistics
| Branch: | Revision:

ffmpeg / libavformat @ 4dcde00c

# Date Author Comment
4dcde00c 04/03/2011 09:38 PM Anton Khirnov

lavf: bump minor version and add an APIChanges entry for avio changes

8bea72f7 04/03/2011 09:33 PM Anton Khirnov

avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()

724f6a0f 04/03/2011 08:47 PM Anton Khirnov

avio: make url_fdopen internal.

The unbuffered URLContext API will be made private, so there's no point
in this function being public.

403ee835 04/03/2011 08:47 PM Anton Khirnov

avio: make url_open_dyn_packet_buf internal.

It doesn't look fit to be a part of the public API.

Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it.

6dc7d80d 04/03/2011 08:47 PM Anton Khirnov

avio: avio_ prefix for url_close_dyn_buf

b92c5452 04/03/2011 08:46 PM Anton Khirnov

avio: avio_ prefix for url_open_dyn_buf

8978feda 04/03/2011 08:46 PM Anton Khirnov

avio: introduce an AVIOContext.seekable field

Use it instead of url_is_streamed and AVIOContext.is_streamed.

b4b167ec 04/02/2011 02:16 PM Anton Khirnov

jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY

3c96c648 04/01/2011 06:02 PM Anton Khirnov

avio: document avio_alloc_context.

ab11317c 04/01/2011 05:53 PM Anton Khirnov

lavf: make compute_chapters_end less picky.

In particular, now it assumes that
a) chapters are chronologically ordered
b) chapters have the same timebases
c) duration of the stream is known
and asserts if any of these is not met.

Make it properly deal with harsher conditions....

0e635f3e 04/01/2011 05:29 PM Matthew Hoops

sierravmd: fix Indeo3 videos

Signed-off-by: Anton Khirnov <>

29a29043 04/01/2011 07:34 AM Kostya Shishkov

ape: check that number of seektable entries is equal to number of frames

fixes issue2480

Signed-off-by: Anton Khirnov <>

e006d71f 03/31/2011 05:46 PM Jindrich Makovicka

mpegts: propagate avio EOF in read_packet()

Allows distinguishing between EOF and IO error in read_packet return code.

Signed-off-by: Jindrich Makovicka <>
Signed-off-by: Anton Khirnov <>

cb7e2c1c 03/31/2011 05:31 AM Kharkov Alexander

flvdec: read index stored in the 'keyframes' tag.

'keyframes' metatag is not part of the standard, it is just
convention to use such kind of metatag information for indexing.
Structure is following, it allows to have it inconsistent:
keyframes:
times (array):...

9dd94f83 03/31/2011 05:28 AM Alex Converse

mov: Add support for zero-sized stsc runs.

A zero sized stsc run doesn't make a lot of sense but the spec does not
prohibit them and MPlayer VLC demuxers support them.

Signed-off-by: Anton Khirnov <>

229e2631 03/30/2011 08:44 PM Martin Storsjö

rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers

According to the RFC, GET_PARAMETER should be used for
this, and according to a report from Tim Ouellette,
OPTIONS doesn't work for keeping the connection alive for some
servers. Also, live555 uses GET_PARAMETER for this purpose....

b64030f2 03/30/2011 05:48 AM Anton Khirnov

avio: make get_checksum() internal.

d09cc22d 03/30/2011 05:48 AM Anton Khirnov

avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h

4c4427a7 03/30/2011 05:47 AM Anton Khirnov

avio: make init_checksum() internal.

31f00274 03/29/2011 04:15 AM Carl Eugen Hoyos

id3v1: change filesize to int64_t.

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

13eadbac 03/29/2011 04:15 AM Carl Eugen Hoyos

id3v1: Seek back to old position after reading.

FFmpeg did not seek back to the original position, but to "0", making
reading a VBR tag impossible.
(issue 2645)

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

42315dab 03/28/2011 02:55 PM Kostya Shishkov

Chronomaster DFA decoder

Signed-off-by: Anton Khirnov <>

bc61920d 03/28/2011 02:16 AM Tyler

http: header field names are case insensitive

Amazon S3 sends header field names all lowercase.
This is actually acceptable according to the HTTP standard.

http://tools.ietf.org/html/rfc2616#section-4.2

Signed-off-by: Luca Barbato <>

eb81cf86 03/25/2011 08:59 PM Justin Ruggles

mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.

c70a6a41 03/25/2011 08:58 PM Justin Ruggles

Use audio_service_type to set stream disposition.

98a7d560 03/24/2011 11:34 PM John Stebbins

matroskadec: set default duration for simple block

When a normal Block is parsed, duration is initialized to
AV_NOPTS_VALUE. If it is not changed, then the track's default
duration is used. But for SimpleBlock, duration is initialized to
0 instead of AV_NOPTS_VALUE. This is due to the difference in how...

cd256c3b 03/24/2011 12:06 PM Ronald S. Bultje

ffmetadec.c: fix compiler warnings.

4ec153bb 03/23/2011 04:32 PM Anton Khirnov

avio: make udp_set_remote_url/get_local_port internal.

4377fafd 03/23/2011 01:46 PM Vladimir Pantelic

asfdec: also subtract preroll when reading simple index object

This was missed when ASF was changed to return timestamps
without preroll.

Signed-off-by: Mans Rullgard <>

264935c9 03/23/2011 01:01 PM Anton Khirnov

matroskaenc: remove a variable that's unused after bc17bd9.

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

491653ed 03/23/2011 12:40 PM Anton Khirnov

avio: cosmetics - nicer vertical alignment.

Signed-off-by: Mans Rullgard <>

28e9c42a 03/23/2011 11:30 AM Martin Storsjö

rtsp: Don't use a locale dependent format string

In this particular case, we aren't ever printing anything else than
0.000 anyway.

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

1b7ecc16 03/23/2011 11:30 AM Tomas Härdin

Add xd55 codec tag for XDCAM HD422 720p25 CBR files.

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

bc17bd90 03/23/2011 01:39 AM Anton Khirnov

matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config

This also fixes broken SBR detection, which produced files with double
sample rate since 8ae0fa2.

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

78e99e0f 03/23/2011 01:30 AM Carl Eugen Hoyos

Do not use format string "%0.3f" for RTSP Range field.

The format string was locale-depending.

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

c5f4c0fd 03/22/2011 01:08 PM Anton Khirnov

id3v2: skip broken tags with invalid size

fixes issue2649.

18854887 03/22/2011 01:08 PM Anton Khirnov

id3v2: don't explicitly skip padding

It's pointless, since there's a seek to the end of tag later.

af79dd36 03/21/2011 08:31 PM Martin Storsjö

amr: Set the AVFMT_GENERIC_INDEX flag

This makes the amr demuxer support seeking, closing roundup
issue 2593.

026fa81d 03/21/2011 08:31 PM Martin Storsjö

amr: Set the pkt->pos field properly to the start of the packet

Previously, the field pointed to the second byte of the packet
(which is the first byte of the actual AMR payload).

2890cba8 03/21/2011 08:31 PM Martin Storsjö

amr: Set the codec->bit_rate field based on the last packet

This allows libavformat to guess an estimated duration for
amr files.

For streams with varying bit rates (or with silence descriptors
or "no frame" blocks) the guess is, of course, inaccurate.

895678f8 03/21/2011 07:58 PM Martin Storsjö

rtsp: Specify unicast for TCP interleaved streams, too

According to the RFC, the default is multicast if nothing is
specified, which doesn't make sense for TCP.

According to a bug report, some Axis camera models give a
"400 Bad Request" error if this is omitted....

dc8b73c0 03/21/2011 07:16 PM Martin Storsjö

applehttp: Change the variable for stream position in seconds into int64_t

A similar variable for the total stream duration was changed to
int64_t in b79c3df08807c96a945, due to overflows in some odd
streams.

Signed-off-by: Luca Barbato <>

eb1e7f78 03/21/2011 07:08 PM Anton Khirnov

id3v2: simplify error handling.

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

bca6dee3 03/21/2011 06:56 PM Anton Khirnov

id3v2: explicitly seek to the end of the tag after reading

Current code might stop in the middle of an invalid tag.

fixes issue2650

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

933e90a6 03/21/2011 06:54 PM Anton Khirnov

avio: make av_url_read_fseek/fpause internal.

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

8d9769a7 03/21/2011 12:33 AM Anton Khirnov

avio: deprecate url_fileno

It's an evil hack that assumes an AVIOContext is always based on top of
an URLContext.
It's also not used anywhere.

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

447fe336 03/21/2011 12:33 AM Anton Khirnov

rmenc: replace avio_seek(0) with avio_tell()

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

e42500cb 03/21/2011 12:33 AM Anton Khirnov

lavf: replace some more avio_seek(SEEK_CUR) with avio_skip

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

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

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

2cface71 03/17/2011 04:25 PM Anton Khirnov

nutenc: fix a memleak

This fixes a minor memory leak introduced in 073f8b1.

Signed-off-by: Mans Rullgard <>

de11ee90 03/17/2011 04:25 PM Vladimir Pantelic

asfdec: subtract the preroll value and thus output 0 based timestamps

Signed-off-by: Mans Rullgard <>

f1f60f52 03/17/2011 11:28 AM Martin Storsjö

lavf: Make make_absolute_url a lavf internal function

This is shared by both applehttp demuxer and protocol.

Signed-off-by: Luca Barbato <>

bc040cb3 03/17/2011 11:20 AM Martin Storsjö

applehttp: Fix a typo in a comment

Signed-off-by: Mans Rullgard <>

68d875ad 03/17/2011 06:30 AM Stefano Sabatini

lavf: make av_interleave_packet() return meaningful error codes

Signed-off-by: Michael Niedermayer <>
(cherry picked from commit c5dcb3d493a6bb73efeb8bfae24f5cc31908201f)

Signed-off-by: Reinhard Tartler <>

70abc323 03/17/2011 06:29 AM Stefano Sabatini

lavf: enable av_dlog message in av_interleaved_write_frame()

Help debugging timestamp issues.

Signed-off-by: Michael Niedermayer <>
(cherry picked from commit d541c8b468c12892fe7b7e655e1ed45e11e2166d)

Signed-off-by: Reinhard Tartler <>

79f43a8c 03/17/2011 06:29 AM Stefano Sabatini

lavf: enable av_dlog() in compute_pkt_fields2()

Turns a comment into an av_dlog() instruction, also add a commented
issues.

Signed-off-by: Michael Niedermayer <>
(cherry picked from commit 77f21ce4641b53f3277ba30ca3d009b6250fd9ea)

Signed-off-by: Reinhard Tartler <>

b7f2fdde 03/17/2011 02:59 AM Anton Khirnov

avio: rename put_flush_packet -> avio_flush

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

35f10235 03/17/2011 02:59 AM Anton Khirnov

avio: deprecate url_close_buf

It's not used anywhere and its return value looks broken.

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

83fddaeb 03/17/2011 02:59 AM Anton Khirnov

avio: deprecate url_open_buf

It's only used in one place and does the same thing as
avio_alloc_context.

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

eda4cf92 03/17/2011 02:59 AM Anton Khirnov

avio: always compile avio_printf, rather than on CONFIG_MUXERS

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

d9d86e00 03/17/2011 02:59 AM Anton Khirnov

avio: avio_ prefix for url_fprintf

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

af020732 03/17/2011 02:59 AM Anton Khirnov

avio: change avio_tell/skip from macros to inline functions

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

59f65d95 03/17/2011 02:59 AM Anton Khirnov

avio: make url_setbufsize internal.

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

4839c192 03/17/2011 02:59 AM Anton Khirnov

lavf: move ff_get_v from avio.h to avio_internal.h

And rename it to ffio_read_varlen.

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

073f8b10 03/17/2011 02:34 AM Anton Khirnov

nutenc: mux chapters.

Signed-off-by: Luca Barbato <>

45a8a02a 03/17/2011 02:24 AM Anton Khirnov

lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense

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

cbf5d22d 03/16/2011 11:19 PM Ramiro Polla

Remove occurrences of my old email address

Signed-off-by: Mans Rullgard <>

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

fed5676f 03/16/2011 02:20 PM Anton Khirnov

mp3enc: remove mp3_write_packet(), use ff_raw_write_packet() instead

The two functions are identical, no point in duplicating code here.

8312e3fc 03/16/2011 11:53 AM Kostya

Do not attempt to decode APE file with no frames

This fixes invalid reads/writes with this sample:
http://packetstorm.linuxsecurity.com/1103-exploits/vlc105-dos.txt

1dac4d55 03/16/2011 11:24 AM Anton Khirnov

jvdec: don't use deprecated url_feof()

56e2ac6b 03/15/2011 05:57 PM Anton Khirnov

id3v2: merge TYER/TDAT/TIME to date tag

c76374c6 03/15/2011 12:09 PM Nicolas George

Use AVERROR_EXIT with url_interrupt_cb.

Functions interrupted by url_interrupt_cb should not be restarted.
Therefore using AVERROR was wrong, as it did not allow to distinguish
when the underlying system call was interrupted and actually needed to be...

3e68b3ba 03/15/2011 12:04 PM Anton Khirnov

avio: deprecate url_ferror

AVIOContext.error should be used directly instead.

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

75b9ed04 03/15/2011 12:04 PM Anton Khirnov

lavf/utils: dont't explicitly check AVIOContext.error

The error should be caught in write_packet()/write_trailer()

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

7f05c164 03/14/2011 12:06 PM Peter Ross

jv demuxer: prevent video packet size overflow

In the event of overflow, the JV_PADDING state will avio_skip over
any overflow bytes (using JVFrame.total_size).

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

772cb062 03/14/2011 12:05 PM Peter Ross

jv demuxer: define JV_PREAMBLE_SIZE instead of hard coding the number

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

20c1281f 03/14/2011 12:05 PM Peter Ross

jv demuxer: calculate palette_size for each frame in read_header

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

bfaefd87 03/14/2011 12:05 PM Peter Ross

Bitmap Brothers JV demuxer

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

35d7d6f7 03/11/2011 01:32 AM Benjamin Larsson

Add one more avc intra fourcc and extend the description

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

fb61a7c5 03/09/2011 10:57 AM Anton Khirnov

id3v2: fix typo in error message

Signed-off-by: Mans Rullgard <>

66e5b1df 03/07/2011 10:20 PM Anton Khirnov

avio: deprecate url_feof

AVIOContext.eof_reached should be used directly instead.

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

6a7e074e 03/07/2011 08:00 PM Anssi Hannula

mpegts: add all stream languages into metadata

This is used at least on some older DVB broadcasts for dual-mono audio
tracks.

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

688c22e0 03/07/2011 07:56 PM Baptiste Coudurier

In retry_transfer_wrapper, do not check url_interrupt_cb, causes problems
when writing and pressing q during encoding. Instead, check url_interrupt_cb
at the end.

Note that when a protocol is interrupted by url_interrupt_cb, some data may
be silently discarded: the protocol context is not suitable for anything...

789936db 03/07/2011 07:44 PM Hendrik Leppkes

Flag DVB subtitles for the hard hearing appropriately using their component_type id.

This is based on the component_type definition in the DVB SI spec [1].

[1]: http://www.dvb.org/technology/standards/a038_DVB-SI_dEN300468v1.12.1.pdf

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

435cebd0 03/07/2011 07:43 PM Anssi Hannula

mpegtsenc: handle multiple language tags per stream

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

89e568fe 03/07/2011 07:34 PM Anssi Hannula

lavf: update documentation of AVOutputFormat.flags

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

f1ef2cd9 03/07/2011 05:25 PM Anton Khirnov

avio: move ff_rewind_with_probe_data from avio.h to avio_internal.h

also change its prefix to ffio

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

e8bb2e24 03/07/2011 05:25 PM Anton Khirnov

avio: deprecate url_fget_max_packet_size

AVIOContext.max_packet_size should be used directly instead.

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

c9256246 03/07/2011 05:25 PM Anssi Hannula

lavf: document the use of multiple entries in language metadata tag

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

d34ca1cf 03/07/2011 04:11 PM Peter Ross

Add audio codec 0x1600 (ADTS AAC)

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

76aa876e 03/07/2011 04:03 PM Anton Khirnov

avio: avio_ prefix for url_fsize

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

e5197539 03/07/2011 03:51 PM Anton Khirnov

avio: deprecate url_fgetc and remove all it uses

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

655e45e7 03/07/2011 03:19 PM Anton Khirnov

avio: deprecate url_fgets

It's not used anywhere and doesn't look ver useful to be public.

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

2af07d36 03/07/2011 03:19 PM Peter Ross

avio: add avio_skip macro

This is a substitute for the url_fskip function that was deprecated by
commit 0300db8ad778a194b4a8ec98f6da3de5b41c46ee. avio_fskip is provided to
improve demuxer code readability. It distinguishes the act of skipping over
unknown or irrelevant bytes from the standard avio_seek operation....

f4f4e12c 03/06/2011 10:29 PM Martin Storsjö

Add Apple HTTP Live Streaming protocol handler

Signed-off-by: Luca Barbato <>

8f73c060 03/06/2011 10:29 PM Martin Storsjö

URLProtocol: Add URL_PROTOCOL_FLAG_NESTED_SCHEME

If this flag is set, the protocol can handle URLs where the
scheme is a nested scheme such as applehttp+file: - the protocol
can handle any URL where the first segment of the nested scheme
belongs to this protocol....

f3bea991 03/06/2011 10:29 PM Martin Storsjö

URLProtocol: Add a flags field

Signed-off-by: Luca Barbato <>

a2704c97 03/04/2011 04:26 PM Anton Khirnov

avio: add avio_tell macro as a replacement for url_ftell

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