Statistics
| Branch: | Revision:

ffmpeg / libavformat / movenc.c @ 4dcde00c

History | View | Annotate | Download (78.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

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.

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

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

06ed4873 03/02/2011 12:23 AM Baptiste Coudurier

movenc: use correct tag for dvcpro hd

Signed-off-by: Mans Rullgard <>

fffdee89 03/01/2011 11:45 PM Baptiste Coudurier

movenc: fix tkhd height for imx

Signed-off-by: Mans Rullgard <>

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

avio: avio_ prefix for url_fseek

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

13ff92d1 02/25/2011 10:41 PM Ronald S. Bultje

movenc: remove uses of deprecated API.

Replace put_tag() with ffio_wfourcc() and ByteIOContext with AVIOContext.

d184c86c 02/25/2011 09:31 PM Maksym Veremeyenko

store pasp atom for all types of quicktime movie

Signed-off-by: Luca Barbato <>

77d207cb 02/25/2011 09:31 PM Maksym Veremeyenko

reindent after tapt patch

Signed-off-by: Luca Barbato <>

ea1afa12 02/25/2011 09:31 PM Maksym Veremeyenko

use tapt atom for sample aspect ratio

Signed-off-by: Luca Barbato <>

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

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

44b11207 02/13/2011 01:16 AM Takashi Mochizuki

movenc: Force first sample as SYNC

Signed-off-by: Mans Rullgard <>

795ed278 01/28/2011 12:06 AM Janne Grunau

movenc: byteswap codec_tag in mov_write_ms_tag

based on Alex Converse's "Fix ADPCM MS in mov muxing" patch

f2589642 01/28/2011 12:06 AM Baptiste Coudurier

In mov muxer, mux adpcm_ms and adpcm_ima_wav the way quicktime supports it

In mov demuxer, set adpcm_ms and adpcm_ima_wav frame size to stsd samples per packet.

Signed-off-by: Janne Grunau <>

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.

a2b7ed32 01/07/2011 07:56 PM Baptiste Coudurier

In mov muxer, override codec tag for dv in mov, fix remuxing from avi

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

10d8eac9 01/07/2011 07:55 PM Baptiste Coudurier

In mov muxer, override codec tag for h263 in mov, fix remuxing from 3gp

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

91360ce6 11/23/2010 12:41 AM Baptiste Coudurier

Unset variable fps for mov and mp4 muxer, they support it
but timestamps must start at 0 currently, and this causes sync
problem.

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

96d1e75a 10/15/2010 11:23 PM Baptiste Coudurier

In mov muxer, write artist metadata tag

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

edd33cb6 10/15/2010 11:16 PM Baptiste Coudurier

In mov muxer, use correct metadata tag for encoder, and use the generic metadata api name

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

6bd296f1 09/08/2010 08:22 PM Baptiste Coudurier

In mov muxer, write reduced sample aspect ratio values in pasp

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

7ad1dc54 08/25/2010 12:29 PM Martin Storsjö

Properly handle IPv6 addresses in the SDP generation

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

8b6e0aec 07/20/2010 05:23 AM Martin Storsjö

movenc: Free the buffer returned by url_close_dyn_buffer, regardless of the size

This fixes a leak introduced in rev 23942, since we write padding to the
buffer unconditionally.

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

b015be21 07/08/2010 09:57 PM Baptiste Coudurier

In mov muxer, write pixel aspect ratio tag in mov files.
Based on a patch by Daniel Kristjansson, danielk at cuymedia dot net

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

9a191b3a 06/15/2010 09:14 AM Baptiste Coudurier

Support gray16be and rgb48be in mov

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

a7cc89e2 06/04/2010 11:30 PM Baptiste Coudurier

fix raw 555 pixel format, add abgr fourcc

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

a4de2b6e 05/23/2010 09:06 PM Baptiste Coudurier

write 3gp perf tag for artist metadata

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

221ed486 05/23/2010 09:04 PM Baptiste Coudurier

albm 3gp tag has optional track field not date

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

ea4c4d7f 05/23/2010 09:03 PM Baptiste Coudurier

change author metadata to artist in mov de/muxer

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

e977af6f 05/18/2010 07:47 PM Martin Storsjö

Add initial support for RTP hinting in the mov muxer

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

27a826c9 05/18/2010 07:40 PM Martin Storsjö

Make mov_write_packet non-static, add ff_ prefix

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

f72dad41 05/18/2010 07:38 PM Martin Storsjö

Move the mov muxer structures to a separate header

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

ddb63017 05/05/2010 08:41 AM David Conrad

movenc: Write QuickTime chapters

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

1b206f62 05/05/2010 08:41 AM David Conrad

movenc: Swap positions of mov_write_header and mov_write_packet

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

dc75e4e3 04/21/2010 06:36 AM David Conrad

movenc: Write nero chapters

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

6b174197 04/12/2010 07:24 AM Tomas Härdin

Predicting the size of the hdlr, string data and trkn tags in the MOV muxer

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

fe3ab8ad 03/09/2010 01:53 AM Baptiste Coudurier

Fix encoder metadata string langcode in mov muxer

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

cc255afe 03/09/2010 01:21 AM Baptiste Coudurier

Correctly mark mov metadata as utf-8, using iso language code

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

ca76a119 02/01/2010 11:39 AM Anton Khirnov

Add a list of generic tags and change demuxers to follow it.
Patch by Anton Khirnov, wyskas at gmail dot com

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

ade5b91d 01/17/2010 03:57 PM Stefano Sabatini

Use av_match_ext() rather than the deprecated match_ext(), fix
warnings.

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

2cf9c7ef 01/04/2010 02:52 AM Mike Melanson

Add support for these widely-used iTunes metadata fields: Album Artist,
Grouping, and Lyrics.

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

1bd26e51 11/29/2009 06:26 PM Baptiste Coudurier

100l, max value for timescale is UINT16_MAX

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

729ef3ba 11/29/2009 02:46 AM Baptiste Coudurier

remove useless mov timescale field

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

74ccc660 11/29/2009 02:41 AM Baptiste Coudurier

change track timescale to unsigned int, fix warning

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

7506e117 11/29/2009 02:40 AM Baptiste Coudurier

track time can be 64bit

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

7c4b7d0f 11/29/2009 02:27 AM Baptiste Coudurier

support pcm_f32/64le in mov

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

ba7c0ece 11/29/2009 02:04 AM Baptiste Coudurier

cosmetics, reindent after last commit

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

feaa8d11 11/29/2009 02:03 AM Baptiste Coudurier

support sample rates > INT16_MAX in mov using stsd v2

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

7382902b 11/23/2009 08:47 AM David Conrad

MOV: Add several iTunes metadata tags

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

620af1a1 11/23/2009 08:47 AM David Conrad

MOV: Fix writing \251wrt metadata (r20453 only fixed the demuxer)

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

aca857ec 11/22/2009 02:07 AM Justin Ruggles

Do not write an extra byte in the iTunes 'hdlr' tag. The files on iTMS have an
extra byte and are not compliant with ISO 14496-12. This causes some strict
demuxers (notably the MPEG-4 ALS reference software) to fail. It has been
confirmed that not writing the extra byte will still allow the generated MP4...

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

15c315b7 05/31/2009 05:24 AM Larbi Joubala

fix 3gp metadata, write strings in UTF8, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com

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

606d48ce 05/23/2009 07:17 AM Larbi Joubala

fix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com

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

e1316b19 05/15/2009 06:11 AM Baptiste Coudurier

write 'stps' for mpeg-2 open gop in .mov

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

ab4752e3 05/14/2009 09:05 PM Baptiste Coudurier

use flags field and remove key_frame field

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

fe335ff5 05/14/2009 08:54 PM Baptiste Coudurier

change cts type to int, save some space

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

3a86d3f6 05/13/2009 04:22 AM Baptiste Coudurier

factorize av_set_pts_info

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

1fbbedff 05/13/2009 04:20 AM Baptiste Coudurier

cosmetics, alignment

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

f65aad95 05/10/2009 08:41 PM Baptiste Coudurier

rgb555le, rgb565le, rgb565be, bgr24 in .mov muxing

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

5b50b8f5 05/10/2009 08:14 PM Baptiste Coudurier

bgra in .mov muxing

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

dfb0471f 05/10/2009 08:12 PM Baptiste Coudurier

correct pixfmt for argb

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

ed88074a 05/10/2009 08:11 PM Baptiste Coudurier

rgba in .mov muxing

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

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

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

b2755007 04/12/2009 08:35 AM Stefano Sabatini

Split bitstream.h, put the bitstream writer stuff in the new file
put_bits.h.

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

3c8d1447 04/07/2009 10:34 PM Baptiste Coudurier

move codec tag tables near corresponding code

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

08680ab8 04/07/2009 10:31 PM Baptiste Coudurier

cosmetics, reindent

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

0872acc4 04/07/2009 10:31 PM Baptiste Coudurier

cosmetics, add empty line and remove useless braces

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

b6cb9946 04/07/2009 10:28 PM Baptiste Coudurier

fix compilation, add missing parenthesis

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

130ba4b1 04/07/2009 10:26 PM Baptiste Coudurier

comment the ipod subtitle check

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

6452af7a 04/07/2009 10:25 PM Baptiste Coudurier

invert condition to simplify code

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

cf9ce6a3 04/07/2009 10:23 PM Baptiste Coudurier

remove no more needed code, tag is set by default

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

2ab57c04 04/07/2009 10:21 PM Baptiste Coudurier

cosmetics, reindent, add empty lines

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

6b600285 04/07/2009 10:19 PM Baptiste Coudurier

split mov_find_codec_tag in separate per format functions

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

2fa6bc78 04/07/2009 08:47 PM Baptiste Coudurier

set bits_per_coded_sample for rawvideo

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

50d2d05d 04/07/2009 08:37 PM Baptiste Coudurier

override mov fourcc for pcm audio, this is safer when stream copying

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

5c5776e1 03/22/2009 03:52 AM Baptiste Coudurier

allocate tracks instead of using MAX_STREAMS

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

7c4502c8 03/15/2009 10:53 AM Baptiste Coudurier

typo in the mail, the 4am commit is always the worst

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

4909e517 03/15/2009 10:49 AM Baptiste Coudurier

cosmetics

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

983bdd37 03/15/2009 10:49 AM Baptiste Coudurier

add my copyright in mov de/muxer

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

d168b3fd 03/11/2009 08:05 AM Baptiste Coudurier

reindent

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

7943a90a 03/11/2009 08:04 AM Baptiste Coudurier

keep original tag when stream copying subs with ipod format

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

c569bd06 03/11/2009 08:03 AM Baptiste Coudurier

ipod supports both subs tags

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

80357cfc 03/11/2009 08:02 AM Baptiste Coudurier

reindent

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

9f520554 03/11/2009 08:01 AM Baptiste Coudurier

write correct atoms based on tag and not format, fixes subs stream copy

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

d1df4da0 03/11/2009 07:59 AM Baptiste Coudurier

use correct codec tag list for ipod format

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

a2523ce2 03/11/2009 06:04 AM Baptiste Coudurier

fix subs track height, set track->height to codec height if not set

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

2d243fb3 02/28/2009 04:02 PM Ronald S. Bultje

Rename movenc.c MOVContext to MOVMuxContext, since MOVContext is already used
in mov.c for the demuxer. See "[PATCH] rename movenc.c MOVContext to
MOVMuxContext" thread on the mailinglist.

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

d9fc9ff3 02/26/2009 01:13 PM Aurelien Jacobs

movenc: add muxing of language along with metadata tags when available

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

2904fd39 02/26/2009 01:11 PM Aurelien Jacobs

return -1 for errors in ff_mov_iso639_to_lang() to allow for error checking

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

b97fb809 02/26/2009 01:08 PM Aurelien Jacobs

cosmetics: indentation

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

1ee2d448 02/26/2009 01:06 PM Aurelien Jacobs

use new metadata API in mov muxer

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