Statistics
| Branch: | Revision:

ffmpeg / libavformat / mov.c @ da9e6c42

History | View | Annotate | Download (86.6 KB)

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

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

mov: Read nero chapters

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

2ef6c124 04/25/2010 02:27 PM Stefano Sabatini

Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.

av_metadata_set() is going to be dropped at the next major bump.

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

7221579b 04/21/2010 06:36 AM David Conrad

mov: Read QuickTime chapters

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

653d7aeb 04/16/2010 08:36 PM Martin Storsjö

Parse strf mov atoms

This fixes roundup issue 1270.

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

08a186c6 03/09/2010 01:03 AM Baptiste Coudurier

In mov demuxer, convert mac encoded strings to utf-8

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

987e857f 03/09/2010 12:46 AM Baptiste Coudurier

Preallocate index entries in mov demuxer, huge speedup

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

998257bd 02/28/2010 01:51 AM Carl Eugen Hoyos

Make mp4_read_descr static: It is only used inside libavformat/mov.c.

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

bbdf0d22 02/20/2010 10:57 PM Michael Niedermayer

Make sure we dont write more bytes into filename than the array is long.
just a precaution in case the size of the source array is increased or
made dynamically allocateable.

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

6a245905 02/20/2010 10:48 PM Michael Niedermayer

Do not attempt to open references through absolute pathes.
This would allow an attacker to test remotely if a local file exists.

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

895a9be6 01/24/2010 09:37 PM Carl Eugen Hoyos

Force codec_tag I420 for Quicktime Planar Y'CbCr 8-bit 4:2:0 raw codec,
because YV12 triggers an UV swap in rawdec.c, fixes issue 1687.

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

49c43fc2 01/18/2010 11:58 PM Baptiste Coudurier

reindent

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

c3aeaa54 01/18/2010 11:56 PM Baptiste Coudurier

set average frame rate in mov demuxer

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

c9566115 01/18/2010 09:38 PM Baptiste Coudurier

move aspect ratio code at the end of the track parsing, fix cathedral-beta2-400extra-crop-avc.mp4

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

ff5ab5c8 01/14/2010 12:32 AM Andrew Wason

set stream aspect from mov tkhd width/height, patch by Andrew Wason, rectalogic at rectalogic dot com
Fixes issue 671.

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

49544546 01/13/2010 11:33 PM Baptiste Coudurier

do not skip mdat data if it's the last atom, avoids one seek

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

7b1312fa 01/04/2010 10:59 PM Baptiste Coudurier

cosmetics, remove useless parentheses, add space

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

a510991c 01/04/2010 10:58 PM Baptiste Coudurier

simplify error handling in mov_read_default

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

cb41b2b6 01/04/2010 10:51 PM Baptiste Coudurier

remove no more needed MOVAtom.offset field

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

7ead7e21 01/04/2010 10:48 PM Baptiste Coudurier

remove useless code skipping data at end of hdlr atom, already done in mov_read_default

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

6866dd12 11/27/2009 01:10 PM Jai Menon

Fix typo.

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

b9c78bca 11/23/2009 08:47 AM David Conrad

MOV: cprt is another tag used for copyright

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

e26df9eb 11/19/2009 09:03 PM Baptiste Coudurier

use AVFormatContext in dprintf

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

adeb9071 11/15/2009 03:26 AM Baptiste Coudurier

Search relative path according to alias record when opening mov reference files.
Based on patch by Maksym Veremeyenko, verem at m1stereo dot tv

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

ba278391 11/12/2009 02:22 AM Alex Converse

Debug print MP4 objectTypeIndication in hex not decimal as values are listed in
hex in all official documents.

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

5aea268d 11/11/2009 08:24 PM Alex Converse

Add a channels field to MPEG4AudioConfig.

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

a4cb56aa 11/06/2009 06:59 PM Baptiste Coudurier

change \0xa9enc tag metadata name to encoder to match id3v2

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

bddc2df5 11/05/2009 08:53 AM Baptiste Coudurier

10l, typo

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

c2564699 11/05/2009 07:32 AM Baptiste Coudurier

do not redundantly set stream nb_frames, it's already set in read_stts

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

e7452721 11/05/2009 07:30 AM Baptiste Coudurier

compute dts shift with ctts value, cslg atom might be missing, fix #419

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

fedb1eca 11/05/2009 07:17 AM Baptiste Coudurier

check that duration is set to avoid fpe

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

507330b9 11/05/2009 07:11 AM Baptiste Coudurier

warn if stream timescale is not set and set it to 1 to avoid FPE

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

55d2e32a 11/05/2009 01:40 AM Baptiste Coudurier

fix \0xa9wrt metadata, to composer, fix issue #1501

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

c5898e86 10/24/2009 08:40 PM haim alon

compute codec bitrate in mov demuxer, patch by haim alon, haim dot alter at gmail dot com

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

f2ad9070 09/30/2009 06:27 PM Reimar Döffinger

10l in code reading codec_name, the first byte is the length and should not
become part of the string.

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

19635234 09/30/2009 09:43 AM Reimar Döffinger

Convert latin1 codec_name in mov to UTF-8, since all strings in FFmpeg
must be valid UTF-8.

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

a42bf191 09/26/2009 09:06 PM Baptiste Coudurier

100l, typo

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

7b5252ce 09/26/2009 08:51 PM haim alon

Export mov/mp4 major and compatible brands as metadata.
Patch by haim alon, haim dot alter at gmail dot com

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

2d423666 09/16/2009 11:35 AM Peter Ross

Make mov LPCM and AAC parsing functions public

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

e4bc8af1 09/07/2009 10:42 PM Baptiste Coudurier

check entries against field_size, potential malloc overflow in read_stsz, fix #1357

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

1c4bf2ec 09/07/2009 10:36 PM Baptiste Coudurier

add one missing check for stream existence in read_elst, fix #1364

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

d862fce7 06/25/2009 12:17 AM Baptiste Coudurier

only set par if it does not indicates a rotation, ex iphone 3GS

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

e1c1b0ff 06/24/2009 09:40 AM Reimar Döffinger

Reindent after last patch.

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

3fe4d5d4 06/24/2009 09:38 AM Reimar Döffinger

mov demuxer: Track the current position also for streams that have AVDISCARD_ALL set.
This allows for seamless switching of e.g. audio streams, with the previous code
playback started always from the beginning when removing AVDISCARD_ALL.

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

5dc5c43b 06/24/2009 08:57 AM Reimar Döffinger

mov_read_packet: extract code that searches for the stream/sample to demux next
into a separate function.

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

a2f38511 06/24/2009 08:50 AM Reimar Döffinger

mov_read_packet: if dv_get_packet fails, return exactly its error value
instead of always -1 (makes no real difference currently since dv_get_packet
always returns -1 so far).

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

69fc436c 06/24/2009 08:23 AM Reimar Döffinger

In mov_read_packet remember the AVStream we want to demux next instead of the
MOVStreamContext. We need the AVStream anyway and it is easier to get the
MOVStreamContext from the AVStream than the other way around.

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

6a63ff19 06/24/2009 03:38 AM Baptiste Coudurier

check stream existence before assignment, fix #1222

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

53e099de 06/15/2009 02:07 AM Baptiste Coudurier

check atom size against edit_count to avoid very long loop

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

86b61d42 06/13/2009 12:50 AM David Conrad

Also accept TS as a prefix for wav twoccs (used by Flip4Mac) instead of
adding entries to codec_movaudio_tags.
This ensures ADPCM_IMA_WAV uses the standard ms prefix when muxing to mov
rather than TS.

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

bbe46bc4 06/11/2009 05:13 AM Baptiste Coudurier

Remove time_rate, we cannot compute exactly when fragments are
used and we cannot determine if fragments are present or not in
streamed mode.

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

28155113 06/03/2009 11:13 PM Baptiste Coudurier

broken stsd length might be < 16, fix elst-assert.mp4

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

7e69621f 05/31/2009 04:36 AM Baptiste Coudurier

split audio chunks in mov demuxer

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

350f2c2c 05/30/2009 06:15 AM Baptiste Coudurier

return AVERROR_EOF

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

2d5fabc8 05/16/2009 04:08 AM Baptiste Coudurier

move increment after debug print

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

171a3531 05/13/2009 08:31 AM Baptiste Coudurier

parse 'stps' atom to set keyframe, partial sync sample for mpeg-2 open gop

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

41e64999 05/13/2009 07:57 AM Baptiste Coudurier

remove comment

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

4b29ed39 05/13/2009 07:55 AM Baptiste Coudurier

Parse 'cslg' atom to retrieve dts shift when 'ctts' duration is negative.
We have now dts <= pts, note that for some B frames dts+1 == pts can happen
if a crappy timebase is used instead of correct /1001.

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

b24bbbb4 04/17/2009 07:17 PM Jai Menon

Introduce codec id for MPEG-4 ALS and associate it with corresponding
AudioObjectType. Also bump libavcodec minor version.

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

17ad7b24 04/08/2009 03:38 AM Baptiste Coudurier

force sample for qcelp when not stored in mov, fix #968

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

3dd36041 04/02/2009 11:27 AM Reimar Döffinger

Reindent

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

fb9ac654 04/02/2009 11:26 AM Reimar Döffinger

Support DVD subtitles in mov/mp4 as created by Nero.
See also http://samples.mplayerhq.hu/sub/NeroMP4/unsupported-embedded-subs-2.mp4

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

f03a081d 03/25/2009 06:07 AM Baptiste Coudurier

set wrong_dts for iMovie created files which has huge ctts delay, fix ffmpeg_sample.m4v

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

2121b160 03/22/2009 01:05 PM Ronald S. Bultje

Remove alpha channel from default colorspace tables, since it is unused. See
"qtpalette.h" thread on mailinglist.

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

08a5b4e9 03/22/2009 02:47 AM Baptiste Coudurier

since code now use get_bits_long, allocate padding buffer

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

a0dd3c00 03/21/2009 11:29 PM Baptiste Coudurier

reset codec width/height for h264 forcing decoder to parse extradata

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

5c3d507f 03/19/2009 06:13 PM Alex Converse

MOV: Use the AOT enum for the mp4_audio_types mapping.

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

2ac736a6 03/16/2009 08:49 PM Reimar Döffinger

Extend mov edit list support to work for a first padding entry with
time == -1 and duration. Complicated since time is relative to stream,
duration relative to container time base.

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

d0dab0ec 03/16/2009 04:24 PM Alex Converse

Cosmetics: Re-indent after last commit

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

bd27eed6 03/16/2009 04:14 PM Alex Converse

MOV: Support stz2 "Compact Sample Size Box"

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

f05783c2 03/16/2009 06:46 AM Baptiste Coudurier

cosmetics, remove useless braces

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

9bf1b268 03/16/2009 06:46 AM Baptiste Coudurier

simplify printing

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

f584386d 03/16/2009 06:44 AM Baptiste Coudurier

reindent

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

c6026e43 03/16/2009 06:43 AM Baptiste Coudurier

fix trkn metadata parsing

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

0fb44a4e 03/16/2009 06:06 AM Baptiste Coudurier

move read_udta_string up to avoid forward declaration

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

873358e5 03/16/2009 06:03 AM Baptiste Coudurier

more generic metadata handling

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

2229a5c6 03/16/2009 05:13 AM Baptiste Coudurier

do not set isom if ctype is not set, happens in mov

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

df8843c6 03/15/2009 11:54 PM Baptiste Coudurier

search for hdlr atom in meta, some files do not store version+flags

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

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

e49da827 03/15/2009 09:44 AM Baptiste Coudurier

allocate palette in codec directly

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

6c00a9de 03/15/2009 09:06 AM Baptiste Coudurier

cosmetics, add some whitespaces and empty lines

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

f0f2218d 03/15/2009 07:21 AM Baptiste Coudurier

do not modify sample_count, check against index entries

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

88c4339b 03/09/2009 09:53 PM Ronald S. Bultje

Move MOVContext and related structures from mov.c to isom.h. See "[PATCH]
move MOVContext from mov.c to isom.h" thread on ML.

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

63581eb1 03/04/2009 07:57 AM Alex Converse

MOV: fix demuxing fragmented files

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

fefe43ff 03/03/2009 06:19 PM Alex Converse

MOV: fix crash when 'meta' occurs before first 'trak'

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

bc718b47 03/01/2009 04:06 PM Aurelien Jacobs

fix missed usage of old metadata API in mov demuxer

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

f3592353 02/27/2009 08:31 AM Benoit Fouet

Add a context to av_log() call.

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

bc64cb96 02/22/2009 01:07 AM Baptiste Coudurier

check av_get_packet return value

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

0d8f0abf 02/22/2009 12:20 AM Baptiste Coudurier

return AVERROR if alloc failed, set count after alloc, use variable when reallocing, based on patch by Netgem

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

54b4ea57 02/15/2009 02:13 PM Aurelien Jacobs

demux some more metadata tags in mov

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

49674dd0 02/15/2009 02:28 AM Aurelien Jacobs

use new metadata API in mov demuxer

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

5b4f5e5d 02/11/2009 09:11 PM Baptiste Coudurier

fix frame size, time rate is not stts duration anymore with time offset

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

fcdd622c 02/11/2009 08:19 PM Baptiste Coudurier

do not set start time to 0, it is not the case with elst time offset

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