Baptiste Coudurier
1c4bf2ec37
add one missing check for stream existence in read_elst, fix #1364
...
Originally committed as revision 19792 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
d862fce758
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
16 years ago
Reimar Döffinger
e1c1b0ff09
Reindent after last patch.
...
Originally committed as revision 19265 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3fe4d5d4e6
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
16 years ago
Reimar Döffinger
5dc5c43bda
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
16 years ago
Reimar Döffinger
a2f3851166
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
16 years ago
Reimar Döffinger
69fc436cbc
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
16 years ago
Baptiste Coudurier
6a63ff19b6
check stream existence before assignment, fix #1222
...
Originally committed as revision 19259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
1a40491ef2
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
16 years ago
Baptiste Coudurier
53e099de8b
check atom size against edit_count to avoid very long loop
...
Originally committed as revision 19198 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
86b61d4241
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
16 years ago
Baptiste Coudurier
bbe46bc4c2
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
16 years ago
Baptiste Coudurier
281551131d
broken stsd length might be < 16, fix elst-assert.mp4
...
Originally committed as revision 19084 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7e69621f56
split audio chunks in mov demuxer
...
Originally committed as revision 19018 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
350f2c2cef
return AVERROR_EOF
...
Originally committed as revision 18992 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2d5fabc87a
move increment after debug print
...
Originally committed as revision 18851 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
171a353159
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
16 years ago
Baptiste Coudurier
41e6499996
remove comment
...
Originally committed as revision 18811 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
4b29ed399f
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
16 years ago
Jai Menon
b24bbbb4da
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
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
17ad7b24c8
force sample for qcelp when not stored in mov, fix #968
...
Originally committed as revision 18374 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3dd3604197
Reindent
...
Originally committed as revision 18315 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
fb9ac65411
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
16 years ago
Baptiste Coudurier
f03a081df0
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
16 years ago
Ronald S. Bultje
2121b160d5
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
16 years ago
Baptiste Coudurier
08a5b4e9b5
since code now use get_bits_long, allocate padding buffer
...
Originally committed as revision 18138 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a0dd3c0039
reset codec width/height for h264 forcing decoder to parse extradata
...
Originally committed as revision 18134 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
5c3d507f1a
MOV: Use the AOT enum for the mp4_audio_types mapping.
...
Originally committed as revision 18044 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
2ac736a6da
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
16 years ago
Alex Converse
d0dab0ecd4
Cosmetics: Re-indent after last commit
...
Originally committed as revision 18017 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
bd27eed6d0
MOV: Support stz2 "Compact Sample Size Box"
...
Originally committed as revision 18016 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f05783c2db
cosmetics, remove useless braces
...
Originally committed as revision 18004 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
9bf1b2683c
simplify printing
...
Originally committed as revision 18003 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f584386d54
reindent
...
Originally committed as revision 18002 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
c6026e4360
fix trkn metadata parsing
...
Originally committed as revision 18001 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
0fb44a4e47
move read_udta_string up to avoid forward declaration
...
Originally committed as revision 18000 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
873358e5d4
more generic metadata handling
...
Originally committed as revision 17999 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2229a5c60e
do not set isom if ctype is not set, happens in mov
...
Originally committed as revision 17998 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
df8843c65f
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
16 years ago
Baptiste Coudurier
7c4502c8c4
typo in the mail, the 4am commit is always the worst
...
Originally committed as revision 17981 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
983bdd3788
add my copyright in mov de/muxer
...
Originally committed as revision 17979 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
e49da8273b
allocate palette in codec directly
...
Originally committed as revision 17976 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6c00a9dec2
cosmetics, add some whitespaces and empty lines
...
Originally committed as revision 17975 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f0f2218dce
do not modify sample_count, check against index entries
...
Originally committed as revision 17972 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
88c4339bda
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
16 years ago
Alex Converse
63581eb183
MOV: fix demuxing fragmented files
...
Originally committed as revision 17803 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
fefe43ff2c
MOV: fix crash when 'meta' occurs before first 'trak'
...
Originally committed as revision 17781 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
bc718b4720
fix missed usage of old metadata API in mov demuxer
...
Originally committed as revision 17689 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
f3592353ce
Add a context to av_log() call.
...
Originally committed as revision 17638 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago