Statistics
| Branch: | Revision:

ffmpeg / libavformat / nutenc.c @ 4dcde00c

History | View | Annotate | Download (27.6 KB)

# Date Author Comment
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

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

avio: make get_checksum() internal.

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

avio: make init_checksum() internal.

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

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

avio: rename put_flush_packet -> avio_flush

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

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

nutenc: mux chapters.

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

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.

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

324d22b2 09/10/2010 01:16 PM Måns Rullgård

nutenc: fix unstable floating-point calculations

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

603e5c0b 07/09/2010 12:14 PM Michael Chinen

move ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c

patch by Micheal Chinen < mchinen gmail >

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

f8280ff4 07/09/2010 12:10 PM Michael Chinen

rename get_length to ff_get_v_length and put_v to ff_put_v

patch by Michael Chinen < mchinen gmail >

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

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

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

fa586439 06/02/2010 09:57 PM Stefano Sabatini

Make write_streamheader() log a message if there is no codec tag
defined.

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

ffd5f098 06/02/2010 09:57 PM Stefano Sabatini

Make write_streamheader() return a meaningful error code if no codec
tag is defined, rather than return -1.

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

fc0c4124 06/02/2010 09:57 PM Stefano Sabatini

Make write_header() and write_headers() return an error code in case of
error.

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

da9e6c42 06/02/2010 09:57 PM Stefano Sabatini

Make write_streamheader() and write_headers() accept an
AVFormatContext * in input rather than a NUTContext *, which allows to
log messages with av_log().

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

2e01def0 05/23/2010 06:34 PM Stefano Sabatini

Define ff_nut_video_tags and make Nut muxer and demuxer set it in
codec_tag.

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

f990f6e3 03/28/2010 09:59 AM Vitor Sessak

Fix NUT (de)muxer warnings:
CC libavformat/nutdec.o
libavformat/nutdec.c: In function ‘read_seek’:
libavformat/nutdec.c:862: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int ()(void *, const void *)’ but argument is of type ‘int ()(struct Syncpoint *, struct Syncpoint *)’...

4b83fc0f 03/03/2010 05:31 PM Vitor Sessak

Plug memory leak in NUT muxer and demuxer

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

8a4d067d 03/01/2010 06:16 PM Vitor Sessak

Revert r22119 and partially revert 22120.

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

27dbc47c 02/28/2010 08:49 PM Vitor Sessak

Plug some memory leaks in NUT muxer and demuxer

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

43382b5f 02/24/2010 06:27 AM Anton Khirnov

Introduce metadata conversion table for NUT muxer and demuxer.
Patch by Anton Khirnov (wyskas, do no evil mail)
Thread "[PATCH] nut metadata conversion table"

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

73914d56 02/27/2009 11:12 PM Aurelien Jacobs

use new metadata API in nut muxer
This is only a straight conversion of current code, so for now, it won't
mux generic metadata. It will only mux Title, Author and Copyright.

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

1bf6e565 02/17/2009 12:03 PM Diego Biurrun

cosmetics: 'const static' --> 'static const' to avoid warnings of the type
"'static' is not at beginning of declaration" with -Wextra.

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

6a5d31ac 01/11/2009 10:19 PM Diego Biurrun

Fix build: Add intreadwrite.h and bswap.h #includes where necessary.

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

52afa376 12/11/2008 07:06 PM Michael Niedermayer

remove _t for POSIX compatibility.

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

2d47c3de 08/03/2008 04:41 PM Justin Ruggles

remove a comment which is no longer true

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

f53dd468 06/25/2008 10:37 PM Michael Niedermayer

Prevent invalid timestamps from being stored.

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

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

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

7ce68923 03/10/2008 06:42 PM Diego Biurrun

misc spelling fixes

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

90c2295b 03/07/2008 07:25 PM Evgeniy Stepanov

Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

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

1326621c 03/05/2008 01:06 PM Michael Niedermayer

Subtitle support. (untested)

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

a048febd 03/02/2008 11:11 PM Michael Niedermayer

subtitles (codec tag tables still missing ...)

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

e942293d 02/15/2008 01:21 PM Michael Niedermayer

It appears last_pts was not set ...

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

a712d725 02/15/2008 02:57 AM Michael Niedermayer

Header elision muxing support.
This only removes 2 bytes from MP3 and MP2 currently.
Up to 4 could be removed from MP3/MP2 though this might need a 2pass muxer.
Primitive code to remove headers from MPEG-1/2/4 is there too but for the
single file I tried it on (the one in the regression tests), it was a loss...

4ddcc983 02/04/2008 10:48 AM Oded Shimon

back_ptr calculation used wrong timebase when searching for back syncpoint

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

02c986a8 02/04/2008 10:45 AM Oded Shimon

Fix intented algo in syncpoint writing before keyframes in NUT muxer

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

82badd27 02/04/2008 10:34 AM Oded Shimon

nut->max_distance was not set at all anywhere in the NUT muxer

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

4cf97abb 02/04/2008 12:26 AM Michael Niedermayer

Missing const found by -Wwrite-strings.

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

175e23e8 01/17/2008 01:59 PM Michael Niedermayer

Consider initial EOR in the back_ptr calculation.

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

992e78f5 10/30/2007 12:01 AM Baptiste Coudurier

rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers

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

93951943 08/17/2007 10:45 AM Diego Biurrun

spelling/wording cosmetics

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

63dd9d0e 08/11/2007 11:12 AM Michael Niedermayer

simplify

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

d2062ff6 08/11/2007 11:10 AM Michael Niedermayer

do not remove FLAG_CODED

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

0e6472fd 08/11/2007 10:12 AM Michael Niedermayer

remove useless code, found by oded

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

0a5790d1 08/10/2007 02:23 PM Michael Niedermayer

ensure that the aspect ratio is spec compliant

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

1b0353be 08/10/2007 01:04 PM Michael Niedermayer

disable TRACE

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

a17e046a 08/10/2007 01:04 PM Michael Niedermayer

muxer should now be spec compliant (though it likely still contains bugs!)

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

14b3f996 08/10/2007 12:59 PM Michael Niedermayer

header repetition

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

ead1939f 08/10/2007 11:52 AM Michael Niedermayer

info packet

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

caeeefd7 08/10/2007 12:13 AM Michael Niedermayer

more FIXME

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

100d8eb8 08/10/2007 12:11 AM Michael Niedermayer

muxer is not yet fully compliant so prevent people from mistakenly using it
while believing it already is

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

7c04134f 08/09/2007 11:29 PM Michael Niedermayer

set back ptr properly

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

f0a9978c 08/09/2007 09:20 PM Michael Niedermayer

fix header_checksum

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

bd533e6c 08/09/2007 09:14 PM Michael Niedermayer

store headers twice (getting closer to spec compliance ...)

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

7e506494 08/09/2007 09:10 PM Michael Niedermayer

move header writing into its own function

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

7a26da44 08/09/2007 09:04 PM Michael Niedermayer

get rid of printf

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

e1249ba9 08/09/2007 09:01 PM Michael Niedermayer

write frames and syncpoints

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

491216c6 08/09/2007 08:56 PM Michael Niedermayer

put_t()

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

6e6cf116 08/09/2007 08:55 PM Michael Niedermayer

100l

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

34f8cc38 08/09/2007 08:54 PM Michael Niedermayer

2 FIXME comments

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

0fcfa8eb 08/09/2007 08:52 PM Michael Niedermayer

add a universal fallback frame code for the case that no other applies

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

6c666941 08/09/2007 12:48 PM Michael Niedermayer

forw_ptr CRC

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

8d9a3f7e 08/09/2007 12:38 PM Michael Niedermayer

use a dynamic ByteIOContext instead of using the lavf buffer
this makes the code work with big packets, it is also simpler and saves
a byte or 2

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

0809b51e 08/09/2007 12:25 PM Michael Niedermayer

move stream header writing into its own function

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

97d5eb11 08/09/2007 12:22 PM Michael Niedermayer

move main header writing into its own function

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

e999435a 08/09/2007 11:06 AM Michael Niedermayer

write correct time_base

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

efd8f22a 08/09/2007 11:04 AM Michael Niedermayer

make StreamContext.time_base a pointer

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

dcc9bde0 08/09/2007 10:45 AM Michael Niedermayer

write stream headers

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

70ea1e69 08/09/2007 01:12 AM Michael Niedermayer

trying to finally get the nut muxer back uptodate
this one only writes the framecode table and mainheader though they should be
compliant to the current spec

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