Commit Graph

1143 Commits

Author SHA1 Message Date
Baptiste Coudurier
c7e63546dc fix keyframe check, stss might be there but count set to 0
Originally committed as revision 5401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-18 15:17:09 +00:00
Diego Biurrun
c4052af07d Add MPEG FourCC for MPEG-2 video.
Originally committed as revision 5391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-17 21:52:38 +00:00
Kostya Shishkov
386b9b5f53 Proper PTS generation for Smacker audio
Originally committed as revision 5390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-17 03:05:34 +00:00
Kostya Shishkov
103eee5352 Now MPlayer should understand Smacker audio and video codecs.
Originally committed as revision 5389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-17 03:03:53 +00:00
Baptiste Coudurier
2c95f59f06 fix avc nal parsing
Originally committed as revision 5382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-15 17:11:50 +00:00
Baptiste Coudurier
a959f0ea7a fix pcm_s24be demuxing, simplify
Originally committed as revision 5381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-15 12:38:33 +00:00
Baptiste Coudurier
ed70a5099e add quicktime uncompressed 8bit 4:2:2 support
Originally committed as revision 5379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-14 14:21:06 +00:00
Baptiste Coudurier
5e0c720a4e fix mulaw muxing
Originally committed as revision 5378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 23:47:29 +00:00
Baptiste Coudurier
6dd19fff4d do not write wave if not needed
Originally committed as revision 5377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 22:25:17 +00:00
Baptiste Coudurier
3a72cbd9f0 fix AMR muxing in mov
Originally committed as revision 5376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 21:00:52 +00:00
Baptiste Coudurier
fcef991a85 add pcm 24/32 le/be support
Originally committed as revision 5375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 20:05:02 +00:00
Michael Niedermayer
08db8f1846 simplify
Originally committed as revision 5374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 18:45:29 +00:00
Baptiste Coudurier
039627cf48 clean and simplify
Originally committed as revision 5373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 18:01:16 +00:00
Michael Niedermayer
a443a2530d sanity checks some might have been exploitable
Originally committed as revision 5370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 11:37:56 +00:00
Justin Ruggles
ce1d2a95c3 Raw flac muxer, patch by Justin Ruggles (jruggle earthlink net). Can be
used with "-acodec copy" to either copy a flac file verbatim or extract
the raw flac from an ogg-flac file.

Originally committed as revision 5368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-12 15:13:51 +00:00
Måns Rullgård
3644cb8ff9 set stream time_base properly
Originally committed as revision 5367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-12 00:50:43 +00:00
Måns Rullgård
e1203ac098 ogm demuxing
Originally committed as revision 5365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 23:07:22 +00:00
Baptiste Coudurier
b565ea09c7 fix spliting chunks, simplify
Originally committed as revision 5363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 21:29:37 +00:00
Baptiste Coudurier
b451719e07 simplify, amr.c sets frame_size to 160, and sample size is always 8000
Originally committed as revision 5359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-10 18:00:16 +00:00
Baptiste Coudurier
9c09db541e fix damr atom, needed for quicktime player
Originally committed as revision 5358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-10 17:56:39 +00:00
Baptiste Coudurier
bfc2a19d7a 10l, undef DEBUG
Originally committed as revision 5354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 22:10:17 +00:00
Baptiste Coudurier
750b4aaabb assing correct codec_id for mjpegb
Originally committed as revision 5353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 22:07:49 +00:00
Benjamin Larsson
89ca8c497f Add support for raw flac decoding based on the .flac suffix of input files.
Originally committed as revision 5352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 12:34:35 +00:00
Diego Biurrun
60827a1a80 Further simplify AMR build.
Originally committed as revision 5347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-06 10:57:38 +00:00
Flavio Pimentel Duarte
c787ba854e Fix v4l grabbing with some webcams, and simplify the code.
Patch by Flavio Pimentel Duarte

Originally committed as revision 5343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-04 12:23:12 +00:00
Baptiste Coudurier
a20da52cbf skip null fourcc, fix ep2_mystery_m640_dummy.mov
Originally committed as revision 5340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-01 15:52:57 +00:00
Oded Shimon
9d4461b9f2 Disable lavf NUT until it is synced to spec
Originally committed as revision 5312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-23 13:47:13 +00:00
Alex Beregszaszi
c2ea5f060c report to user if mmf with midi found (and not supported)
Originally committed as revision 5308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 22:17:11 +00:00
Reimar Döffinger
50a6c318b2 Avoid crash if there is a rtjpeg quant header but no video stream in file
Originally committed as revision 5305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 10:38:15 +00:00
Baptiste Coudurier
3cb4ee5124 set width and height even for mpeg4, pix_fmt to NONE will force decoding anwyay
Originally committed as revision 5303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 14:18:13 +00:00
Baptiste Coudurier
b6c1bfe097 add AVID DV fourcc
Originally committed as revision 5302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:56:28 +00:00
Baptiste Coudurier
e0977c8045 indention
Originally committed as revision 5301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:53:47 +00:00
Baptiste Coudurier
5c72cad888 always skip garbage at end of atom
Originally committed as revision 5300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:51:58 +00:00
Baptiste Coudurier
98d12b09af move declaration to mov.h
Originally committed as revision 5299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 10:02:41 +00:00
Diego Biurrun
2cf30841b5 Have EXTRALIBS appear after other link options, fixes shared build on Cygwin.
based on patch by Marcus Engene, ffmpeg AATT engene DDOOTT se

Originally committed as revision 5295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 15:05:53 +00:00
Baptiste Coudurier
5616f85deb clean and simplify mov_write_packet
Originally committed as revision 5289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 10:51:32 +00:00
Baptiste Coudurier
611fd605a3 get avcC profile and level indication from sps (from handbrake)
Originally committed as revision 5287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 09:54:17 +00:00
Baptiste Coudurier
18c697acce write mdat in write_header avoid check in write_packet
Originally committed as revision 5286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-13 13:21:20 +00:00
Baptiste Coudurier
32ba6fb141 dont write stss atom if keyframes only
Originally committed as revision 5284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-11 08:12:54 +00:00
Baptiste Coudurier
a336965e70 fix edts for tracks without b frames
Originally committed as revision 5282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 17:04:22 +00:00
Kostya Shishkov
fd7b199199 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
Originally committed as revision 5273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 16:59:57 +00:00
Kostya Shishkov
1c6606e2d0 Fix demuxing of AVIs with pad streams.
Originally committed as revision 5271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-06 03:33:10 +00:00
Michael Niedermayer
87b041e0f0 little h.264 related hunk from diff between cvs and mobile hackerz
Originally committed as revision 5268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 17:44:59 +00:00
Michael Niedermayer
9e282ba382 the PSP rejects video with too high bitrates so lets claim they arent too high ...
Originally committed as revision 5267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 12:58:56 +00:00
Roman Shaposhnik
c4e7baa85c * fixing DV-in-AVI type1 packet production bug
Originally committed as revision 5262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 23:13:53 +00:00
Måns Rullgård
9d9b432ae9 This patch simply adds demuxing support for AC-3 streams in DVB TS
files.  In these streams AC-3 is given type 0x06 (private stream) and
includes a descriptor with either tag 0x6A or 0x7A.  The code already
handles ATSC AC-3 which uses stream type 0x81.  All the new patch does
is look for any stream type 0x06 that has a descriptor with the proper
tag (i.e. 0x6A or 0x7A) and if found forces it to be recognized as an
AC-3 stream.
From Andy Brown <abrown at daqtron com>

Originally committed as revision 5260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 19:02:40 +00:00
Måns Rullgård
00a6b92bdd fix memory leak on mpegts close
found by Andy Brown <abrown at daqtron com>

Originally committed as revision 5259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 18:19:00 +00:00
D Richard Felker III
f880199375 fix constraint violation: libavformat is not allowed to modify state of caller, including rng state
Originally committed as revision 5249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 16:44:32 +00:00
Reimar Döffinger
dfca23e361 NuppelVideo/MythTVVideo support, including rtjpeg decoder
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 22:22:50 +00:00
Baptiste Coudurier
4f6a6e1f81 skip 0byte packets
Originally committed as revision 5231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 16:43:04 +00:00
Baptiste Coudurier
b0519015f0 ignore wrong negative cts values created by quicktime
Originally committed as revision 5229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 16:19:51 +00:00
Baptiste Coudurier
302ed0ddcd flush packets
Originally committed as revision 5226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 10:36:22 +00:00
Baptiste Coudurier
3ed73c46ca let vorbis decoder init too, fix mi2_vorbis51.mp4
Originally committed as revision 5223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 17:05:28 +00:00
Baptiste Coudurier
e31bd3e309 add mp3on4 detection, fix red.mp4
Originally committed as revision 5222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 16:54:53 +00:00
Baptiste Coudurier
94ede53e57 fix double free, priv_data is freed in av_open_input_stream
Originally committed as revision 5221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 14:06:00 +00:00
Baptiste Coudurier
a3a80ddca0 use 64bit atom version if needed
Originally committed as revision 5220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 13:34:51 +00:00
Michael Niedermayer
d766800b78 dont set random timestamps if they are not known
Originally committed as revision 5219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 19:51:12 +00:00
Michael Niedermayer
78a11456a1 fixing timebase
Originally committed as revision 5218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 19:40:27 +00:00
Steve L'Homme
662710ed35 Rename time variable to the more descriptive block_time.
patch by Steve Lhomme steve.....lhomme..@..free.....fr

Originally committed as revision 5216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 13:37:34 +00:00
Baptiste Coudurier
ec04d244b5 let faad init parameters properly, fix many SBR samples
Originally committed as revision 5212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 17:03:49 +00:00
Baptiste Coudurier
99487f42b1 fix demuxing of CDR-Dinner_LAN_800k.mp4
Originally committed as revision 5211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 16:52:56 +00:00
Baptiste Coudurier
e1017f2b87 need to dissociate pcm 16bit and 8bit cases
Originally committed as revision 5210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 16:01:00 +00:00
Baptiste Coudurier
67dd33f90e use av_d2q to parse frame rate
Originally committed as revision 5209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 15:47:44 +00:00
Baptiste Coudurier
0dd39bfe5d Quicktime creates S8 that way too
Originally committed as revision 5208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 15:38:15 +00:00
Baptiste Coudurier
a66abcb1b5 vorbis seems to be 221, decodes borgcube_vorbis20.mp4, demux mi2_vorbis51.mp4 though not decoded properly (5:1), 249608749a89.3g2 is 225 and is Qclp
Originally committed as revision 5207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 15:25:43 +00:00
Baptiste Coudurier
7e815047e5 use 64bit types
Originally committed as revision 5202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 12:11:51 +00:00
Baptiste Coudurier
3cdc7eb474 dvcpro is 411p in fact
Originally committed as revision 5199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 16:49:05 +00:00
Steve L'Homme
d439facb3d duration and subitle fix from the patch by Steve Lhomme
Originally committed as revision 5196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 11:11:02 +00:00
Michael Niedermayer
70596d04a8 cleanup codec_id mapping (untested)
Originally committed as revision 5195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 11:06:08 +00:00
Baptiste Coudurier
f444b977a5 clean
Originally committed as revision 5194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 10:56:51 +00:00
Baptiste Coudurier
1175561e19 support 64bit date/duration
Originally committed as revision 5193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 10:45:04 +00:00
Michael Niedermayer
68ca39b21a fix aspect ratio
Originally committed as revision 5192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 10:33:21 +00:00
Michael Niedermayer
8fcdd831f4 fixing current_sample vs. next_sample mess
Originally committed as revision 5190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 18:32:58 +00:00
Kostya Shishkov
348efc1836 Smacker demuxer and decoder.
Originally committed as revision 5189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 17:27:47 +00:00
Michael Niedermayer
305ee50fbb provide more info on which streams lack codec parameters
Originally committed as revision 5188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 11:29:50 +00:00
Diego Biurrun
b0e6636b2d Reenable NUT and NUT regression tests as requested by Michael.
Originally committed as revision 5177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 23:21:18 +00:00
Diego Biurrun
8859312001 Disable the NUT (de)muxer until it has been synced with the specification.
Originally committed as revision 5174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 00:47:48 +00:00
Michael Niedermayer
dbdaebe28d extract duration
Originally committed as revision 5171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-16 17:04:31 +00:00
Baptiste Coudurier
f4c7b001ab fix sample size for uncompressed sound
Originally committed as revision 5165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-14 00:25:46 +00:00
Luca Abeni
60023e3234 Do not be too verbose
Originally committed as revision 5161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 09:48:32 +00:00
Luca Abeni
11b9c0f4d3 Tell the user why video capture is failing
Originally committed as revision 5160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 09:47:37 +00:00
Baptiste Coudurier
576f144529 indention
Originally committed as revision 5156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 23:55:34 +00:00
Baptiste Coudurier
6f2741f4a8 use of PRI macros in dprintf
Originally committed as revision 5154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 15:43:22 +00:00
Baptiste Coudurier
5148a2aeeb fix conversion types in dprintf
Originally committed as revision 5153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 13:38:56 +00:00
Baptiste Coudurier
0ab16fe09d fix a warning when DEBUG is defined
Originally committed as revision 5152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 18:43:10 +00:00
Baptiste Coudurier
c6e722e5e9 create edts atom when muxing B frames, needed to compute cts
Originally committed as revision 5151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 18:21:28 +00:00
Baptiste Coudurier
c1b8e6d8a8 do nal reformating when muxing H264, create avcc atom
Originally committed as revision 5150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 18:18:17 +00:00
Michael Niedermayer
70a61ed4e4 some mov files have invalid pts so we need to consider these pts too in calculating the timabase
Originally committed as revision 5149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 11:30:07 +00:00
Kostya Shishkov
d82da3a880 More correct demuxing and timestamp setting fot Sierra VMD
Originally committed as revision 5148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 04:27:58 +00:00
Michael Niedermayer
c04c3282b4 simplify AVFormatParameters NULL checks
Originally committed as revision 5146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:22:21 +00:00
Diego Biurrun
6c953a6af3 Use AV_LOG_DEBUG loglevel instead of AV_LOG_ERROR where appropriate.
Originally committed as revision 5128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 21:51:39 +00:00
Steve L'Homme
267f7edcd1 (f)printf --> av_log conversion
taken from a patch by Steve L'Homme

Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Baptiste Coudurier
8e32161943 correct computing of DV fourcc in mov muxer
Patch by Baptiste COUDURIER, baptiste <<dot>> coudurier <<at>> smartjog <<dot>> com

Originally committed as revision 5124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 00:39:23 +00:00
Baptiste Coudurier
6e2695947d set track timescale to mov timescale if 0 patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 22:15:43 +00:00
Baptiste Coudurier
79c343c024 referencing more FCP fourccs patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 21:29:48 +00:00
Baptiste Coudurier
fc5188f3d1 add support for Motion JPEG 2000 file format patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 21:22:02 +00:00
Michael Niedermayer
43a80ccee5 generic crc calculation code
Originally committed as revision 5115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:13:01 +00:00
Daniel Maas
0b297700b7 DVCPRO50 support.
Patch by Daniel Maas dmaas at maasdigital dot com

Originally committed as revision 5113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 08:54:33 +00:00
Baptiste Coudurier
6a045bf3bd Support mov stsd atom version 2.
Patch by Baptiste COUDURIER, baptiste <<dot>> coudurier <<at>> smartjog <<dot>> com

Originally committed as revision 5106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 01:13:13 +00:00
Michael Niedermayer
61452d5637 fixing total_frames
Originally committed as revision 5101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 20:44:35 +00:00