Sascha Sommer
e11afd71a3
pass QDMC extradata to the decoder
...
Makes playing QDMC files in MPlayer work when using the libavformat demuxer.
Problem was that the extradata was not passed from demuxer to decoder.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ed19fafd48
)
14 years ago
Luca Barbato
9ef5a9deaf
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb
)
14 years ago
John Stebbins
2f7d8977bc
mov: add support for little-endian utf16 chapter names
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 97b04f5ed3
)
14 years ago
Diego Elio Pettenò
66355be3c3
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.
(cherry picked from commit c6610a216e
)
14 years ago
Anton Khirnov
ebf3ee16c7
mov: simplify mov_read_chapters() by using avio_get_str16be
...
It probably also fixes a memleak or two.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 225b6d7fde
)
14 years ago
Mans Rullgard
bc1aebcd07
Revert "mov: simplify mov_read_chapters() by using avio_get_str16be"
...
This reverts commit c34461b35b
.
The wrong version of the patch was committed.
(cherry picked from commit c4f8765ac5
)
14 years ago
Anton Khirnov
0c468f5684
mov: simplify mov_read_chapters() by using avio_get_str16be
...
It probably also fixes a memleak or two.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit c34461b35b
)
14 years ago
Baptiste Coudurier
d4e0130e46
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.
14 years ago
Baptiste Coudurier
c3024f9e7e
In mov demuxer, handle better wrong time scale, fix issue #2528
...
Originally committed as revision 26311 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
f6253caf8b
In mov demuxer, set r_frame_rate for cfr files
...
Originally committed as revision 26310 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
5e2202d6f3
In mov demuxer, check that gmtime returns a valid value, fix crash, issue #2490
...
Originally committed as revision 26228 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
4af7166fb4
In mov demuxer, check that stts data exists, fix crash, issue #2479
...
Originally committed as revision 26227 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
c6f1e29a15
In mov demuxer, read alac sample from extradata, fix #2406
...
Originally committed as revision 25901 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
adc7305424
In mov demuxer, if multiple h264 stsd are present, do not concatenate streams, fix #2069
...
Originally committed as revision 25825 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
798c6facb7
In ts demuxer, support aac flexmux using extradata in iods, issue #2346
...
Originally committed as revision 25806 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
7df2214328
movdec: export creation_date as metadata
...
Originally committed as revision 25786 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
2b91d83ef3
In mov demuxer, export .mov encoder metadata tag
...
Originally committed as revision 25757 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
2f412421e8
movdec: Free the previous extradata
...
If multiple stsd atoms are parsed for the same stream, the old
extradata would be leaked.
Originally committed as revision 25360 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
dc2cabd003
movdec: Split out ff_mov_read_stsd
...
Originally committed as revision 25359 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
6d19fd5c26
In mov demuxer, check that nb_streams is valid before using it in read_dac3
...
Originally committed as revision 25240 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
0e7d436d92
Check dref size based on a patch by google
...
Originally committed as revision 25081 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
9044dd8399
In mov demuxer, do not override aspect ratio in tkhd by pasp like quicktime, fix issue #1539
...
Originally committed as revision 25080 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
bdecdd2bfc
Read the number of channels from the 'dac3' tag for AC-3 in MP4.
...
Originally committed as revision 25054 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
105b37859b
mov: Read Flash's chpl variant
...
This is based off of F4V specs rather than any actual files
Originally committed as revision 24035 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
John Stebbins
380966a801
In mov demuxer, fix seeking to the beginning when file has edit lists.
...
Patch by John Stebbins, stebbins at jetheaddev dot com
Fixes issue #2046
Originally committed as revision 23966 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Andrew Wason
525fcb2798
In mov demuxer, only set sar if not already set, patch by Andrew Wason,
...
rectalogic at rectalogic dot com
Fixes issue #1754
Originally committed as revision 23948 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
7d6096e42e
Use ext sample from mpeg4audio config if set with AAC SBR
...
Originally committed as revision 23947 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
2209ffacb9
In mov demuxer, increase total size after debugging message
...
Originally committed as revision 23864 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
3491866a4b
Improve mov atom parsing debug message, print parent atom and size in decimal
...
Originally committed as revision 23764 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
ea4c4d7fe3
change author metadata to artist in mov de/muxer
...
Originally committed as revision 23266 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
1cf9f6ed4f
mov: Read nero chapters
...
Originally committed as revision 23020 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2ef6c1242a
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
15 years ago
David Conrad
7221579b0c
mov: Read QuickTime chapters
...
Originally committed as revision 22928 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
653d7aeb61
Parse strf mov atoms
...
This fixes roundup issue 1270.
Originally committed as revision 22894 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
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
15 years ago
Stefano Sabatini
72415b2adb
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
15 years ago
Baptiste Coudurier
08a186c648
In mov demuxer, convert mac encoded strings to utf-8
...
Originally committed as revision 22365 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
987e857f63
Preallocate index entries in mov demuxer, huge speedup
...
Originally committed as revision 22363 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
998257bd4f
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
15 years ago
Michael Niedermayer
bbdf0d2214
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
15 years ago
Michael Niedermayer
6a2459059e
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
15 years ago
Anton Khirnov
ca76a11948
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
15 years ago
Carl Eugen Hoyos
895a9be60c
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
15 years ago
Baptiste Coudurier
49c43fc278
reindent
...
Originally committed as revision 21311 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
c3aeaa540d
set average frame rate in mov demuxer
...
Originally committed as revision 21310 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
c956611527
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
15 years ago
Andrew Wason
ff5ab5c8c9
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
15 years ago
Baptiste Coudurier
49544546b0
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
15 years ago
Baptiste Coudurier
7b1312fa55
cosmetics, remove useless parentheses, add space
...
Originally committed as revision 21025 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago