Statistics
| Branch: | Revision:

ffmpeg / libavformat / mov.c @ 3b1c4a06

History | View | Annotate | Download (71.8 KB)

# Date Author Comment
8dc81a45 01/27/2009 04:29 AM Baptiste Coudurier

seek at 0 when timestamp requested is negative

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

dce25564 01/21/2009 10:32 PM Aurelien Jacobs

'code' is used to index a table so make it unsigned
this prevents using negative index and possibly crashing with broken files

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

f53ee312 01/20/2009 09:06 PM Baptiste Coudurier

change sample aspect ratio test to be more clear, print old one

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

9ce6c138 01/17/2009 11:13 AM Aurelien Jacobs

export gcd function as av_gcd()

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

6cdbff63 01/11/2009 11:24 PM David Conrad

Use the dimensions in tkhd for timed text tracks

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

64d50fa5 01/11/2009 09:04 PM Baptiste Coudurier

move ffindex set before mov_read_default so it can be used in functions

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

58e9f2ed 01/11/2009 08:24 AM David Conrad

Read extradata (justification, colors, fonts, etc) for mov/mp4 timed text

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

fa50a027 01/09/2009 10:13 PM Baptiste Coudurier

only set le if value is 1, fix boom5.mov, issue #770

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

364df7b7 12/18/2008 09:18 AM Baptiste Coudurier

cosmetics, remove useless parenthesis and whitespaces

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

a1532824 12/18/2008 09:17 AM Baptiste Coudurier

set alac channels from extradata, fix alac mono in m4a

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

27134437 12/16/2008 08:47 AM Baptiste Coudurier

check that nb_streams is valid before setting stream, fix crash with jp2 which do not use same structure

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

6da54074 12/11/2008 10:24 PM Baptiste Coudurier

parse pasp atom and set sample aspect ratio,
warn if transformation matrix differs from pasp,
based on a patch by Skal.

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

c3e92a6c 12/11/2008 08:06 PM Baptiste Coudurier

remove _t in typedef for POSIX compatibility

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

73b458e3 12/02/2008 04:48 PM Kenan Gillet

Commit last ok'ed parts of QCELP decoder and enable it.
patch by Kenan Gillet, kenan.gillet gmail com

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

061f407e 12/01/2008 10:07 PM Kenan Gillet

More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

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

12e416c8 11/18/2008 09:09 AM Baptiste Coudurier

decrease atom size, fix broken files missing version/flags

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

51c15201 11/16/2008 01:59 AM Baptiste Coudurier

read itunes metadata, code based on Reimar's patch

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

86b0affd 11/15/2008 08:17 PM Baptiste Coudurier

simplify metadata reading

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

5b9ce252 10/04/2008 11:30 PM Baptiste Coudurier

10l, fix amrwb sample rate

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

f06188d5 10/03/2008 07:37 PM Baptiste Coudurier

set sample rate for amr to allow stream copy since no decoder is present,
3gp does not store sample rate in stsd in fact. Fixes #674.

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

fb65d2ca 10/02/2008 04:03 PM Diego Pettenò

Use enum typers instead of int.
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail

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

0c5f76f7 09/30/2008 02:44 AM Baptiste Coudurier

support negative ctts in some way, unset wrong dts

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

4e240985 09/24/2008 06:55 PM Baptiste Coudurier

stop parsing if tag size is wrongly < 8 to avoid infinite loop

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

aeb62788 09/24/2008 05:17 PM Baptiste Coudurier

merge amr wb case with amr nb and qcelp

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

26f5e146 09/24/2008 05:09 PM Baptiste Coudurier

do not override sample rate for amr nor qcelp, should fix some qcelp files at 16000hz

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

3a25c707 08/29/2008 08:04 PM Baptiste Coudurier

remove vorbis dec hack, decoding will be done anyway to get frame size

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

7e4b3fb8 08/23/2008 03:25 PM Baptiste Coudurier

enable fl32/64 le/be in mov with stsd audio v2

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

a1ef2c4b 08/19/2008 11:00 AM Peter Ross

Make MOV demuxer handle F32BE, F32LE, F64BE and F64LE PCM audio.

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

021b8ae3 08/03/2008 09:24 PM Baptiste Coudurier

fix if/else case

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

2288834f 08/03/2008 06:37 PM Baptiste Coudurier

full lpcm support in mov audio stsd v2

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

aaef2bb3 08/02/2008 03:45 AM Baptiste Coudurier

support big endian lpcm with audio stsd v2

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

6b477e1b 08/02/2008 03:43 AM Baptiste Coudurier

keep original codec/fourcc endianness, fix XDCAMHD.mov

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

9184d53a 08/02/2008 03:40 AM Baptiste Coudurier

more complete audio stsd v2

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

5ef3ad59 08/02/2008 03:35 AM Baptiste Coudurier

move version specific parsing code before codec specific code, will be needed

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

138568e9 07/31/2008 07:44 PM Art Clarke

downgrade mov negative ctts log message to warning, patch by Art Clarke, aclarke at vlideshow dot com

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

ec072669 07/24/2008 07:55 AM John Schmiederer

Use tkhd matrix for proper display in mov.
Patch by John Schmiederer jschmiederer on2 com
Original thread: [PATCH] Use tkhd matrix for proper display in mov
Date: 05/23/2008 09:31 PM

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

5469b788 07/18/2008 12:24 AM Baptiste Coudurier

cosmetics, remove space

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

40e7aaa3 07/18/2008 12:23 AM Baptiste Coudurier

Return max score when ftyp atom is encountered.

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

d4fdba0d 06/22/2008 11:52 PM Baptiste Coudurier

chinese avs demuxing support, demux AVSFileFormat.mp4

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

ade8d8b9 06/20/2008 05:22 PM Baptiste Coudurier

uniformize AVStream->priv_data freeing in av_close_input_stream

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

e3ec60d8 06/18/2008 08:30 AM Art Clarke

free private streamcontext when closing demuxer, fix memory leak, patch by Art Clarke, aclarke at vlideshow dot com

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

391872e4 05/26/2008 09:52 PM Baptiste Coudurier

aac chan config is 0 if bitstream contains program_config_element

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

6f04eb1e 05/22/2008 05:16 PM Albert Astals Cid

free moov and cmov when error occurs, fix memleak, patch by Albert Astals Cid, aastals at tv-wan dot es

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

585dac65 05/20/2008 02:24 AM Baptiste Coudurier

only print debug info when sample is actually added

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

285a3da9 05/20/2008 02:22 AM Baptiste Coudurier

warn about multiple fourcc

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

978677a7 05/20/2008 02:21 AM Baptiste Coudurier

demux all stsd ids if codec is the same, fix premature_mov_ending.mov, closes #451

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

e8430214 04/26/2008 05:51 PM Henrik Gulbrandsen

set pkt duration, only when dts == pts though,
patch by Henrik Gulbrandsen henrik at gulbra dot net

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

eb034aca 04/25/2008 04:52 PM Baptiste Coudurier

yes it is true for mp4

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

43612ffe 04/25/2008 04:50 PM Baptiste Coudurier

remove unneeded variable

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

baf9fb32 04/25/2008 04:47 PM Baptiste Coudurier

move vars decls where vars are used

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

45a97d30 04/25/2008 02:09 PM Baptiste Coudurier

set channels and sample rate from mpeg4audio config

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

1dec3994 04/25/2008 02:03 PM Baptiste Coudurier

parse mpeg4audio config to correctly detect mp3on4, fix iso mp3on4 reference files

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

69b1c627 04/25/2008 01:56 PM Baptiste Coudurier

update doc

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

7e627332 04/25/2008 01:54 PM Baptiste Coudurier

error is -1

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

cfb5a2ab 04/25/2008 01:45 PM Baptiste Coudurier

cosmetics

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

47e1d7ef 04/25/2008 01:44 PM Baptiste Coudurier

move vars decls where vars are used

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

8cd92bb9 04/25/2008 01:34 PM Baptiste Coudurier

parser should not be needed anymore, merge cases and set frame size for amr too

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

3b8c000d 04/25/2008 01:24 PM Baptiste Coudurier

lower frame size to split amr/qcelp/gsm frames

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

37ffe34b 04/25/2008 12:02 PM Baptiste Coudurier

align and remove useless braces

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

1c126b4f 04/25/2008 11:57 AM Baptiste Coudurier

cosmetics, remove whitespaces in tags

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

cc326d2b 04/25/2008 10:35 AM Baptiste Coudurier

set gsm default frame size and bytes per frame, needed by old qt format, fix sample-gsm-8000.mov

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

3f78a3a9 04/24/2008 05:17 PM Baptiste Coudurier

demux qcelp, so this can work with soc decoder and stream copy

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

be511925 04/24/2008 01:58 PM Baptiste Coudurier

set alac frame size from extradata

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

7344dac4 04/15/2008 12:25 PM Michael Niedermayer

Fix probe for mov00003.mqv.

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

0265fe81 04/05/2008 12:47 PM Baptiste Coudurier

remove cast

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

612b5cbb 04/05/2008 12:46 PM Baptiste Coudurier

better error message

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

5e788d58 03/30/2008 09:15 PM Baptiste Coudurier

support mp4 fragmented files without any samples in the moov atom

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

44e43aab 03/30/2008 08:49 PM Baptiste Coudurier

check frag track id before setting st

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

5610f20e 03/28/2008 04:30 PM Baptiste Coudurier

gsm in mov, demux surge-1-16-B-agsm.mov

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

9e81a0ce 03/27/2008 01:30 PM Baptiste Coudurier

print essence path in error message

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

9ce84dd8 03/27/2008 01:20 PM Baptiste Coudurier

cosmetics, useless braces

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

6282c5f4 03/27/2008 01:19 PM Baptiste Coudurier

print stream index in error message

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

71f36235 03/27/2008 01:16 PM Baptiste Coudurier

according to specs, only color table id set to 0, have it in stsd, fix 4colors.mov

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

d3bc61ac 03/27/2008 12:35 PM Baptiste Coudurier

Only use chunk demuxing for old uncompressed audio mechanism specified by stts.
This will split amr/aac cbr samples correctly in isom files which do not
set audio cid to -2.

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

d9526386 03/22/2008 01:06 AM Diego Biurrun

typo: occured --> occurred

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

48a55290 03/21/2008 02:30 PM Baptiste Coudurier

sample size to 1 might happen for data, fix GMCMidiaASX.mov, fallback is better than failing

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

433aeb62 03/21/2008 01:43 PM Baptiste Coudurier

support fragments when non streamable

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

61aedb0f 03/21/2008 01:40 PM Baptiste Coudurier

mp4 fragments support

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

117a9190 03/21/2008 11:16 AM Baptiste Coudurier

cosmetics, split or move too long lines

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

db3ee6cc 03/21/2008 11:04 AM Baptiste Coudurier

simplify, and only stop parsing when non streamable

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

bb787a93 03/21/2008 10:52 AM Baptiste Coudurier

atoms are not mp4 only, and yes probe is sufficient

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

9c55b772 03/21/2008 10:51 AM Baptiste Coudurier

update description

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

3efe8848 03/21/2008 10:48 AM Baptiste Coudurier

return ENOMEM

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

2922cbdb 03/21/2008 10:47 AM Baptiste Coudurier

cannot free AVStream like this, and return ENOMEM

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

e3c4740f 03/21/2008 10:39 AM Baptiste Coudurier

indentation

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

eb61405a 03/20/2008 04:07 PM Baptiste Coudurier

remove useless debug print since now mov_build_index will do

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

f9900374 03/20/2008 04:00 PM Baptiste Coudurier

free track data asap

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

1e77810d 03/20/2008 03:57 PM Baptiste Coudurier

move mov_build_index before mov_read_trak to avoid useless declaration

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

bd991df2 03/20/2008 03:55 PM Baptiste Coudurier

move specific end treatment when trak is detected, will be needed for fragments

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

23f08617 03/16/2008 03:13 PM Baptiste Coudurier

simplify, flags is 24bits according to specs

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

0de2157f 02/28/2008 04:05 PM Baptiste Coudurier

set codec bps to grayscale bits, fix 256grey.mov

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