Statistics
| Branch: | Revision:

ffmpeg / libavformat / flvenc.c @ 4dcde00c

History | View | Annotate | Download (14.8 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

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

avio: rename put_flush_packet -> avio_flush

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

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

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

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

avio: avio_ prefix for url_fseek

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

bbc413f9 02/25/2011 07:38 PM Anton Khirnov

lavf: replace remaining uses of put_tag with avio_write

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.

b9f9e59a 09/25/2010 11:27 PM Stefano Sabatini

Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
corresponding AVMEDIA_TYPE_* symbols.

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

16f82508 09/10/2010 11:29 PM Tomás Touceda

FLV Metadata

Patch by Tomás Touceda, chiiph gentoo org

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

df4f1d51 08/18/2010 09:39 AM Thierry Foucu

Add AVC EOS tag to H264-encoded FLV files.

Patch by Thierry Foucu, tfoucu gmail

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

80b39e1c 05/22/2010 04:01 PM Francesco Lavra

Move AVCodecTag from riff.h into internal.h.

Patch by Francesco Lavra, francescolavra interfree it

Originally committed as revision 23250 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

c5e1e982 02/02/2010 10:23 PM Justin Johnson

Guess the duration before converting video and write guessed duration
into flv header.

Patch by Justin Johnson, justin D johnson3 A gmail

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

8e9efe43 12/14/2009 03:30 AM Daniel Verkamp

FLV 8-bit PCM is unsigned, not signed

Fixes issue #1569

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

1b88277b 11/20/2009 08:02 PM Daniel Verkamp

FLV muxer support for Flash screen codec v2

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

68677dd8 10/16/2009 10:04 AM Justin Ruggles

Log a clearer warning message when muxing FLV with Speex containing more than
8 frames per packet.

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

046c4001 10/16/2009 03:02 AM Justin Ruggles

Add Speex support to the FLV muxer.

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

e458dd0b 09/16/2009 01:49 AM Michael Niedermayer

Flv should be AVFMT_VARIABLE_FPS.

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

3f3f3ba7 06/20/2009 12:52 PM Yoshihisa Uchida

Fix onMetaData property count in flv files (issue 1206).

Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail

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

426a6f34 02/02/2009 04:10 PM Stefan de Konink

Splits the totalbitrate in a videodatarate and audiodatarate part.
Patch by Stefan de Konink stefan konink de

Originally committed as revision 16944 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

71e685b0 01/16/2009 01:22 AM Baptiste Coudurier

use ff_avc_parse_nal_units_buf because output size might differ from input size

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

ca93bc17 01/15/2009 02:07 PM Luca Abeni

Reindent after last commit

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

0a63a676 01/15/2009 02:03 PM Luca Abeni

Do not reallocate AVPacket's data when muxing a packet

Originally committed as revision 16616 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

fd7f5963 01/11/2009 05:24 AM Baptiste Coudurier

remove comment, this is not relevant anymore

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

2ba0470e 01/11/2009 05:23 AM Baptiste Coudurier

reindent

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

7d637efa 01/11/2009 05:23 AM Baptiste Coudurier

check for negative dts value even if bitstream is already formated,
this fixes dts when stream copying.

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

8ddd280d 10/18/2008 12:10 PM Alexander Wichers

Nellymoser 8KHZ flv muxing fix, patch by Alexander Wichers development at wichersdot nu

Originally committed as revision 15633 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

dd1c8f3e 09/08/2008 02:24 PM Luca Abeni

Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may...

b83a00b8 08/30/2008 03:07 AM Baptiste Coudurier

timestamps in flv are 32bits signed according to flash player, specs are wrong

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

6f4eb12d 08/30/2008 03:01 AM Baptiste Coudurier

remove now useless casts

Originally committed as revision 15044 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

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

c2acba13 05/29/2008 12:35 AM Baptiste Coudurier

check if extradata comes from mp4 and assume bitsteam is already formated, should fix streamcopy

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

f23496b5 05/26/2008 10:00 PM Baptiste Coudurier

aac and h264 in flv muxing

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

a9ee86e7 05/25/2008 01:22 AM Baptiste Coudurier

set correct duration when using b frames

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

5366f15d 05/24/2008 12:03 AM Baptiste Coudurier

simplify, remove useless vars

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

b7d1cd02 05/02/2008 07:35 PM Bartlomiej Wolowiec

Nellymoser handling in FLV

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

254629b1 04/25/2008 09:04 AM Baptiste Coudurier

set wrap bits to 32bit to actually use it

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

44de39f9 02/24/2008 12:57 AM Michael Niedermayer

flv/swf do not have a big endian codec id, they only support
little endian and native endian.

Originally committed as revision 12183 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

018b6fb4 11/16/2007 12:09 AM Alex Beregszaszi

Honor the 8bit extension (now 32bit instaed 24bit) of the pts field introduced in FLV specification v9.

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

964ff354 11/15/2007 11:53 PM Alex Beregszaszi

Prefer ADPM_SWF instead NONE if no MP3 encoding is compiled in.

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

ec627278 10/09/2007 01:12 AM Michael Niedermayer

indent

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

4838727e 10/09/2007 01:01 AM Michael Niedermayer

avoid generating invalid files
fixes issue213

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

f683dbdc 08/04/2007 11:03 PM Michael Niedermayer

set the previous tag size correctly in flv files

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

755bfeab 06/12/2007 09:29 AM Diego Biurrun

misc spelling fixes

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

e9509536 03/03/2007 09:16 AM Benjamin Larsson

Set FLV_SAMPLESSIZE_16BIT for ADPCM.

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

bb85077f 01/21/2007 12:44 PM Michael Niedermayer

remove now useless codec_tag setting code in muxers

Originally committed as revision 7603 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

edb6e506 01/21/2007 02:12 AM Michael Niedermayer

export a few more codec_tag-codec_id tables

Originally committed as revision 7594 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

6ebe07fb 01/07/2007 12:02 AM Diego Biurrun

variable renaming: mp3lame --> libmp3lame

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

09d8c0ae 01/01/2007 10:52 PM Benjamin Larsson

VP6 and flashsv stream copy and muxing support.

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

148c9bdb 12/28/2006 12:35 PM Allan Hsu

Patch for the FLV muxer to supply more complete metadata
in the onMetaData header. Patch by Allan Hsu <allan at counterpop dot net>.

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

c45388b1 12/10/2006 05:12 PM Michael Niedermayer

set flags correctly in write header instead of seeking back and fixing it in write_trailer()

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

6cac3a3b 12/06/2006 12:23 AM Allan Hsu

Defines various common FLV format values between the FLV muxer and demuxer
in a common flv.h.
patch by Allan Hsu allan at counterpop.net

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

56cca5f1 12/01/2006 10:26 AM Allan Hsu

Fix wrong flags for S16LE and S16BE audio in FLV files.
patch by Allan Hsu, allan counterpop net

Originally committed as revision 7194 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

634b8cfa 08/06/2006 03:29 PM Baptiste Coudurier

always write duration and file size, fix seeking, progress bar is now active

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

fd0fb306 07/17/2006 09:51 PM Michael Niedermayer

add header info to flv format based on a patch by (Philipp Klaus >ffmpegdevel ad pylonsoft mot ch )

Originally committed as revision 5779 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

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

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

2fde8aae 11/12/2005 08:01 PM Alex Beregszaszi

support transcoding adpcm

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

a254c574 07/19/2005 02:41 PM Michael Niedermayer

kill duplicated get/put_be24()

Originally committed as revision 4460 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

e817a73d 05/13/2005 12:09 PM Michael Niedermayer

fix mimetype

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

2f5132e7 02/25/2005 11:15 AM Alex Beregszaszi

proper handling of samplesize

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

923bd441 02/21/2005 06:05 PM Alex Beregszaszi

correct pcm in flv handling

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

37cdf93d 07/02/2004 07:26 PM Michael Niedermayer

assert(0) -> retunrn -1

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

75293f05 06/25/2004 08:03 PM Michael Niedermayer

simplify

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

e928649b 05/29/2004 02:06 AM Michael Niedermayer

pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

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

9ee91c2f 05/21/2004 08:43 PM Michael Niedermayer

move time_base (pts_num/pts_den) from AVFormatContext -> AVStream

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

11a8e425 04/18/2004 03:26 PM Michael Niedermayer

various fixes

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

068f2a22 04/17/2004 12:04 PM Michael Niedermayer

cleanup
fix streamcopy

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

92a26775 03/09/2004 08:14 PM Michael Niedermayer

flv fixes

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

2d9aa1e3 02/07/2004 04:21 AM Michael Niedermayer

100l

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

747a0554 02/06/2004 11:56 PM Tinic Uro

- made --extra-cflags option work on darwin
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above...

49057904 09/10/2003 10:37 PM Fabrice Bellard

64 bit pts for writing - more const usage

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

80783dc2 09/08/2003 10:04 PM Fabrice Bellard

CODEC_ID_MP3LAME is obsolete

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

14b32253 07/10/2003 11:18 PM Michael Niedermayer

Building ffmpeg with gcc-2.95.3 encountered a problem due to C99 initialization fix by ("Steven M. Schultz" <sms at 2BSD dot COM>)

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

d4f5d74a 07/09/2003 11:10 PM Garrick Meeker

flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)

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