Michael Niedermayer
be401448e5
mov: Raise ctts dts_shift threshold by 1
...
This fixes issue2246neu.mp4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Raivo Hool
f055635313
mov: add support for TV metadata atoms tves, tvsn and stik
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Alex Converse
7ad06beb2c
mov: 10l: Terminate string with 0 not '0'
13 years ago
Alex Converse
8fb22c3d47
mov: Prevent illegal writes when chapter titles are very short.
13 years ago
Luca Barbato
30c3d976f1
mov: do not misreport empty stts
...
Return -1 instead of ENOMEM if entries is 0.
Fixes a av_malloc(0) crash in macosx.
13 years ago
Luca Barbato
5a7ba58657
mov: cosmetics, fix for and if spacing
13 years ago
Raivo Hool
2804d32075
mov: read album_artist atom
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Raivo Hool
dff4177546
mov: fix disc/track numbers and totals
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Tomas Härdin
e571305a71
mov: Only touch extradata in mov_read_extradata() if codec_id is what we expect
...
Extradata should only be parsed from the avss, fiel, jp2h and alac atoms for
AVS, MJPEG, Motion JPEG 2000 and ALAC respectively.
This also fixes the mov demuxer coming up with bogus extradata for some
AVC-Intra samples due to the presence of fiel atoms.
13 years ago
Carl Eugen Hoyos
d5d027682c
Use the parser for AC-3 in mov.
...
Fixes ticket #494 .
13 years ago
Anton Khirnov
609a2fa1fa
Remove some forgotten AVCodecContext.palctrl usage.
13 years ago
Michael Niedermayer
cadbe4ecd1
mov: Fix grayscale Cinepak in mov
...
Fixes Ticket165
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Baptiste Coudurier
f33be93b1b
mov: read tmcd tag and set timecode drop flag accordingly.
14 years ago
Alex Converse
ad6c7c1b52
mp4: Handle non-trivial ES Descriptors.
14 years ago
Thierry Foucu
1892052f8d
mov: Set negative Sample_duration in STTS to 1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Thierry Foucu
73c0dd939d
mov: add clcp type track as Subtitle stream.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
dfc2c4d900
lavf: use designated initialisers for all (de)muxers.
...
It's more readable and less prone to breakage.
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
ee8aecd23a
Do not include intfloat_readwrite.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
add41decd9
Remove return statements following infinite loops without break
...
These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Yusuke Nakamura
ae88e9cf99
mov: Fix empty edit detection.
14 years ago
Aurelien Jacobs
e6ba3d4281
replace remaining usage of deprecated av_metadata_set2() by av_dict_set()
14 years ago
Dave Badia
d3cef0a85b
Extract rotation in MOV metadata
14 years ago
Yusuke Nakamura
f33a6a22b4
mov: Fix wrong timestamp generation for fragmented movies that have time offset caused by the first edit list entry.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Alex Converse
85e9e3a9fa
movdec: Add support for the 'wfex' atom.
...
The 'wfex' is just a Microsoft WaveFormatEx struct.
14 years ago
Diego Biurrun
b7847a3f2e
mov: Remove leftover crufty debug statement with references to a local file.
14 years ago
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
14 years ago
Diego Biurrun
02a8d43adf
Replace some av_log/printf + #ifdef combinations by av_dlog.
14 years ago
Mans Rullgard
5e1166b31b
Mark some variables with av_unused
...
Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e65ab9d94f
Remove unused variables
14 years ago
Clément Bœsch
adba9c6352
Fix various unused variable warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reuben Thomas
39d983461a
Add reading of disc number to mov.c
14 years ago
Michael Niedermayer
f455f46455
movdec: dont divide by zero when stts_data[0].duration = 0.
...
Fixes ticket223
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
e6e7ba0ce3
Add some forgotten const to function arguments in libavfilter & libavformat.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
d2549ba9df
Fix some mov files with little endian audio (tickets 201 - 203).
14 years ago
Yusuke Nakamura
5f0bb0baef
mov: Support edit list atom version 1.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Yusuke Nakamura
45a811b512
mov: fix composition timestamps on movie fragments.
...
This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.
14 years ago
Reimar Döffinger
148ffcd2ce
Make DV (sub) demuxer set proper pkt->pos values.
...
This makes the avi demuxer create packets with proper pos values
with the file from ticket #140 .
14 years ago
Reimar Döffinger
543f3db978
Read the album_artist, grouping and lyrics metadata.
...
Our muxer writes these out, so we really should support reading them.
Fixes ticket #30 .
14 years ago
Carl Eugen Hoyos
2d8d6882a7
Read channel layout atom in mov files.
14 years ago
Alex Converse
3583d7cffe
Fix mov debug (u)int64_t format strings.
14 years ago
Stefano Sabatini
59d96941f0
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
...
Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.
This breaks API.
14 years ago
Kostya Shishkov
2d8591c27e
make containers pass palette change in AVPacket
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Anton Khirnov
f87b1b373a
avio: AVIO_ prefixes for URL_ open flags.
14 years ago
Anton Khirnov
8978fedaee
avio: introduce an AVIOContext.seekable field
...
Use it instead of url_is_streamed and AVIOContext.is_streamed.
14 years ago
Michael Niedermayer
19457a5d4a
Fix issue2246
...
ignore last ctts duration
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Alex Converse
9dd94f8379
mov: Add support for zero-sized stsc runs.
...
A zero sized stsc run doesn't make a lot of sense but the spec does not
prohibit them and MPlayer VLC demuxers support them.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Justin Ruggles
eb81cf860c
mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
45a8a02a41
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago