Statistics
| Branch: | Revision:

ffmpeg / libavformat / avienc.c @ e356fc57

History | View | Annotate | Download (21 KB)

# Date Author Comment
e356fc57 03/01/2011 05:22 PM Anton Khirnov

lavf: replace all uses of url_fskip with avio_seek

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

6b4aa5da 03/01/2011 05:12 PM Anton Khirnov

avio: avio_ prefix for url_fseek

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

99f42c27 02/25/2011 07:38 PM Anton Khirnov

avienc: replace &tag0 with tag.

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

0abdb293 02/25/2011 07:38 PM Anton Khirnov

lavf: use a new ffio_wfourcc macro instead of put_tag() where possible

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

4acc94e9 02/23/2011 03:44 PM longstone

avienc: fix AVI stream index for files with >10 streams

Fixes issue 2563.

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

77eb5504 02/21/2011 07:25 PM Anton Khirnov

avio: avio: avio_ prefixes for put_* functions

In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write

put_nbyte will be made private
put_tag will be merged with avio_put_str

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

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

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

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.

4efd5cf3 01/21/2011 08:21 PM Anton Khirnov

avio: add av_put_str and deprecate put_strz in favor of it

Signed-off-by: Mans Rullgard <>

ad7768f4 10/16/2010 01:20 PM Anton Khirnov

add ff_ prefix to metadata_conv()
patch by Anton Khirnov anton at khirnov dot net

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

03700d39 10/15/2010 07:04 PM Anton Khirnov

Export metadata in the generic format. Deprecate old conversion API.
patch by Anton Khirnov anton at khirnov dot net

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

d6a93490 06/25/2010 04:29 AM Jai Menon

avienc : Avoid creating invalid AVI files when muxing subtitle streams
other than XSUB.

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

cc947f04 03/31/2010 12:29 PM Jean-Daniel Dupas

Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.

Patch by Jean-Daniel Dupas, devlists shadowlab org

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

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

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

ed7694d8 02/16/2010 04:32 PM Anton Khirnov

Set lavf identification string globally in av_write_header(), rather
than inside the muxers. Remove special handling of "encoder" tags from
AVI and MP3 muxers.

Patch by Anton Khirnov <wyskas gmail com>.

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

04d2540c 02/06/2010 12:32 PM Anton Khirnov

Add AVI metadata conversion table.

Patch by Anton Khirnov (gmail{wyskas}).

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

ffdf0d48 02/05/2010 03:14 PM Michael Niedermayer

strn muxing in avi support.
untested as ffmpeg.c has no means to set AVStream metadata (patchwelcome)

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

12f1b1fe 01/28/2010 03:37 AM Michael Niedermayer

Remove last MAX_STREAMS from avienc.c

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

b4f0e04c 01/28/2010 02:45 AM Michael Niedermayer

Introduce AVIStream struct and move stream based variables to it.
This removes all but one MAX_STREAM from avienc.c.

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

1a40491e 06/22/2009 11:09 PM Daniel Verkamp

Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu

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

2a04d6e7 06/19/2009 01:26 PM Reimar Döffinger

Add support for muxing XSUB subtitles to AVI muxer.

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

b02d3aef 04/07/2009 12:31 PM Aurelien Jacobs

use av_freep() instead of av_free() + =NULL.

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

25918212 02/24/2009 03:04 PM Michael Niedermayer

Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.

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

67164b0c 02/13/2009 09:39 AM Diego Biurrun

Remove pointless #if around the file, it is already conditionally compiled.

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

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

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

48a81c0f 01/18/2009 10:53 PM Aurelien Jacobs

replace AV_METADATA_IGNORE_CASE flag by a new AV_METADATA_MATCH_CASE flag
with the opposed meaning

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

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

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

bc1d2afb 01/04/2009 11:31 PM Aurelien Jacobs

rename AVMetaData to AVMetadata and meta_data to metadata

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

47146dfb 01/04/2009 06:48 PM Michael Niedermayer

Generic metadata API.
avi is updated as example.
No version bump, the API still might change slightly ...
No update to ffmpeg.c as requested by aurel.

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

bc5c918e 10/03/2008 10:16 AM Diego Biurrun

Remove offset_t typedef and use int64_t directly instead.
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.

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

d1c2156b 09/02/2008 10:53 PM Laurent Aimar

Fix an invalid free in the AVI muxer when an unsupported audio track is added.
patch by Laurent Aimar, fenrir via.ecp fr

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

c1854592 08/24/2008 04:51 PM Reimar Döffinger

Change codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag * const *

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

59729451 08/23/2008 11:43 PM Aurelien Jacobs

convert every muxer/demuxer to write/read sample_aspect_ratio from/to
the corresponding AVStream instead of AVCodecContext

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

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me

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

61559562 03/27/2008 01:18 AM Michael Niedermayer

Fix aspect ratio.
fixes issue404
avienc.c change by StevieS

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

5b087549 03/02/2008 07:51 PM Michael Niedermayer

Store aspect ratio in avis.

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

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

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

7ea18c8c 07/08/2007 01:41 AM Måns Rullgård

remove redundant codec_get_bmp_tag() call in avi_write_header()
it is incorrect and av_write_header() already does the right thing

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

6c77805f 01/21/2007 12:08 PM Michael Niedermayer

get rid of the [4] limitation of codec tag lists

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

7caf0cc6 01/21/2007 01:39 AM Michael Niedermayer

add codec_id <-> codec_tag tables to AVIn/OutputFormat

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

5c4e1928 01/20/2007 11:09 PM Michael Niedermayer

fix indention (dunno why it was messed up ...)

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

8da9266c 12/06/2006 11:46 PM Måns Rullgård

use the standard INT64_C() macro for 64-bit constants

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

949b1a13 11/01/2006 10:39 PM Steve L'Homme

Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

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

7fbde343 10/23/2006 08:57 AM Aurelien Jacobs

replace coder/decoder file description in libavformat by muxer/demuxer

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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

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

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

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

2eb291c4 09/07/2006 04:33 PM Panagiotis Issaris

Allow to store the the track number though the IPRT (part) tag in AVI.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be%
Original thread:
Date: Sep 6, 2006 6:00 PM
Subject: [Ffmpeg-devel] [PATCH] Enable track tag in AVI

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

5bce834e 08/24/2006 08:22 AM Brian Brice

fix ODML AVI Duration for files > 2GB
Patch by Brian Brice % bbrice A newtek P com %
Original thread:
Date: Aug 22, 2006 10:21 PM
Subject: [Ffmpeg-devel] [PATCH] ODML AVI Duration

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

57060f89 08/18/2006 04:48 PM David Conrad

AVI tag reading and writing patch by David Conrad.
umovimus at gmail dot com

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

9d9f4119 07/12/2006 12:09 AM Måns Rullgård

move common stuff from avienc.c and wav.c to new file riff.c

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

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

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

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

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

0919e788 06/01/2006 07:31 AM Benjamin Larsson

Flash Screen Video decoder (fourcc:FSV1)

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

c4052af0 05/17/2006 09:52 PM Diego Biurrun

Add MPEG FourCC for MPEG-2 video.

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

fd7b1991 04/07/2006 04:59 PM Kostya Shishkov

KMVC (used in Worms games) decoder. Works fine with samples from MPHQ

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

61452d56 03/02/2006 08:44 PM Michael Niedermayer

fixing total_frames

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

98740f5a 03/02/2006 08:08 PM Michael Niedermayer

indention

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

26d6d032 03/01/2006 07:42 AM Benjamin Larsson

Set 'MJLS' FOURCC for JPEG-LS in AVI and documentation fix. Patch by
kostya shishkov - gmail - com.

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

9eb40bcf 03/01/2006 01:29 AM Michael Niedermayer

replace if by assert as it should never by true

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

fb7a2bf6 02/21/2006 08:32 PM Alex Beregszaszi

check for CODEC_ID_NONE instead 0, tobe compatible with movenc.c and possible CODEC_ID_NONE value change

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

c2ca19d7 02/19/2006 10:20 AM Michael Niedermayer

RMP4 ("xvid fork") decoding support

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

9c8d8e84 02/12/2006 08:53 AM Mike Melanson

dosbox native ZMBV decoder, courtesy of Kostya

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

d9d434b8 01/26/2006 07:42 PM Fabien Cosse

Add fourcc "SEDG" for MPEG-4 files produced by Samsung VP-M110 Miniket
camcorder

Patch by Fabien Cosse * fabien ! cosse wanadoo ! fr *

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

82e415b1 01/25/2006 05:14 PM Michael Niedermayer

avoid using non constant fields of AVCodecContext in avi muxer

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

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

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

e0f80bd7 01/09/2006 03:41 PM Reimar Döffinger

CamStudio decoder, only 32 bit lzo mode is tested

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

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

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

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

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

0bb0289c 11/30/2005 10:50 AM Guillaume Poirier

add some h.264 fourccs to codec_bmp_tags[]

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

a2a2668d 11/13/2005 03:32 AM Alex Beregszaszi

Support for streaming: dont write indexes and dont signal HAS_INDEX in header. Also set filesize to max in this case.

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

64af6168 10/13/2005 04:31 AM Mike Melanson

Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov

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

a9e35095 09/23/2005 12:25 AM Diego Biurrun

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

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

d57d8cbc 09/06/2005 03:02 PM Michael Niedermayer

a few more raw yuv fourccs

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

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

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

3a1d8db3 06/26/2005 08:26 PM Roberto Togni

Theora fourcc

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

7dc1bea3 06/09/2005 08:01 PM Ronald S. Bultje

non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net)

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

1d92cc2b 06/03/2005 08:50 AM Michael Niedermayer

a step toward CODEC_TYPE_DATA support
remove a little duplicated code

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

b81f8949 05/17/2005 10:47 PM Mike Melanson

Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
at users sf net>

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

d3f28f05 05/16/2005 01:21 PM Måns Rullgård

add VP30 fourcc

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

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

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

856dbbff 04/20/2005 09:42 AM Michael Niedermayer

Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)

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

589f8220 04/03/2005 05:02 AM Mike Melanson

Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
Konstantin Shishkov

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

16543599 04/01/2005 09:21 PM Michael Niedermayer

fix vorbis in avi

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

a8a15e9d 03/26/2005 08:32 PM Mike Melanson

Winnov WNV1 video decoder, courtesy of Konstantin Shishkov

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

649b918c 03/23/2005 12:42 PM Calcium

29_vtag_in_ASF_not_effective.patch by (Calcium | calcium nurs or jp)

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

4a7d2651 03/15/2005 11:50 PM Michael Niedermayer

sample_size fix

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

9c7fb608 03/01/2005 02:24 AM Mike Melanson

go LOCO, courtesy of Kostya Shishkov

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

420370d4 02/22/2005 07:48 PM Michael Niedermayer

switch MPEG4 fourcc to FMP4

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

b636365a 01/23/2005 09:54 PM Michael Niedermayer

wmv3

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

b6c7f870 01/13/2005 01:09 PM Wolfram Gloger

10l (a level of indirection too much) patch by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)

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

3eaa8b7e 01/12/2005 07:07 PM Michael Niedermayer

timestamp truncation fix?

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

2d2651f8 01/01/2005 11:02 PM Michael Niedermayer

WV1F support

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

f37b9768 11/28/2004 06:29 PM Loren Merritt

split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

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

acfd8f0f 11/17/2004 03:45 AM Mike Melanson

native QPEG video decoder, courtesy of Konstantin Shishkov

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

359fa0fe 11/06/2004 07:11 PM Michael Niedermayer

cbr audio muxing fix

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

ab711b3c 10/27/2004 04:30 AM Mike Melanson

Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov

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

afbb5ce4 10/24/2004 01:07 PM Michael Niedermayer

dvr-ms video decoding support

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

7fea94ce 10/06/2004 08:50 AM Zdenek Kabelac
  • fixing a few of gcc 'clean-code' warnings

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

71c32f19 10/01/2004 01:16 PM Michael Niedermayer

do not call (av_)abort()

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

d0a0bbd2 09/16/2004 03:31 AM Mike Melanson

IBM Ultimotion video decoder, courtesy of Konstantin Shishkov

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