Commit Graph

3047 Commits

Author SHA1 Message Date
David Conrad
47e08c5860 Indentation
Originally committed as revision 10367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:24 +00:00
David Conrad
0580a12256 Use assert for conditions that must be true
Originally committed as revision 10366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:22 +00:00
David Conrad
203cce9a92 Simplify
Originally committed as revision 10365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:20 +00:00
David Conrad
8cf3bb2674 Grammar nits
Originally committed as revision 10364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:18 +00:00
David Conrad
cfde5d18f5 Break long comments
Originally committed as revision 10363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:16 +00:00
David Conrad
a6da1aa057 Use sample format for bit depth if av_get_bits_per_sample() doesn't give one
Originally committed as revision 10362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:14 +00:00
David Conrad
8eb1915395 Calculate and store DAR rather than SAR
Originally committed as revision 10361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:07 +00:00
David Conrad
5045da831b Clarify comments
Originally committed as revision 10360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:04 +00:00
David Conrad
5b66fc16af Use PRIu64/PRId64
Originally committed as revision 10359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:58 +00:00
David Conrad
baf71dca28 Calculate the size of key EBML master elements beforehand so only just enough size is reserved for the size
Originally committed as revision 10358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:56 +00:00
David Conrad
cce800b456 Use cluster_pos when checking cluster position
Originally committed as revision 10357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:53 +00:00
David Conrad
f0e9f44271 Modify put_ebml_size() so that the bytes parameter is exact rather than minimum
Originally committed as revision 10356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:50 +00:00
David Conrad
c635497cb4 Set default subtitle_codec to CODEC_ID_TEXT
Originally committed as revision 10355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:48 +00:00
David Conrad
ddf1646729 Simplify
Originally committed as revision 10354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:44 +00:00
David Conrad
1c73478c8e Move calculating the bytes needed to represent a size in EBML to its own function
Originally committed as revision 10353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:42 +00:00
David Conrad
9f38fd7efa Make a byte always mean a byte
Originally committed as revision 10352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:39 +00:00
David Conrad
432adc130c Simplify put_ebml_id()
Originally committed as revision 10351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:36 +00:00
David Conrad
22ccb69a7f Move ebml_id_size()
Originally committed as revision 10350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:34 +00:00
David Conrad
ec8f4ad909 Correct handling of smaller unknown sizes
Originally committed as revision 10349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:31 +00:00
David Conrad
541d443c03 Use a MD5 hash of some frames to write the segment uid
Originally committed as revision 10348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:29 +00:00
David Conrad
f095a17423 Revert using the time to generate the segment uid
Originally committed as revision 10347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:27 +00:00
David Conrad
57848e9abd Doxygenize some comments
Originally committed as revision 10346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:25 +00:00
David Conrad
fd150eb629 Set the language to undefined if no language specified
Originally committed as revision 10345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:22 +00:00
David Conrad
55c151efb3 Add mka muxer
Originally committed as revision 10344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:19 +00:00
David Conrad
c1f5aa2186 Add some debug logging
Originally committed as revision 10343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:17 +00:00
David Conrad
7332adddae Write the display size elements
Originally committed as revision 10342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:15 +00:00
David Conrad
d1a8d959fd Revert writing the file creation date
Originally committed as revision 10341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:12 +00:00
David Conrad
409533622e Codec Private should be correct for all but Real codecs now
Originally committed as revision 10340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:10 +00:00
David Conrad
8a39497c13 Write FLAC codec private correctly
Originally committed as revision 10339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:08 +00:00
David Conrad
86be66378b Move writing Xiph-style sizes to its own function
Originally committed as revision 10338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:06 +00:00
David Conrad
4b8f58eea5 Write segment UID
Originally committed as revision 10337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:03 +00:00
David Conrad
80380a0f71 Write the creation time
Originally committed as revision 10336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:01 +00:00
David Conrad
5fd35c6e00 Cosmetics
Originally committed as revision 10335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:59 +00:00
David Conrad
440e090121 Using LIBAVFORMAT_IDENT for both muxing and writing app is good enough
Originally committed as revision 10334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:57 +00:00
David Conrad
dcbfe3f099 Floats aren't used enough to justify writing any with single precision
Originally committed as revision 10333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:55 +00:00
David Conrad
9245c5ca08 Simplify
Originally committed as revision 10332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:53 +00:00
David Conrad
56e4540d3a Indentation
Originally committed as revision 10331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:52 +00:00
David Conrad
663a5d9d2d Write subtitle tracks
Originally committed as revision 10330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:49 +00:00
David Conrad
95527e0669 Move writing a block to its own function
Originally committed as revision 10329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:47 +00:00
David Conrad
8bea4aee4f Only write extradata if it exists
Originally committed as revision 10328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:46 +00:00
David Conrad
07918a227a Determine the output sample rate for SBR AAC and write it
Originally committed as revision 10327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:43 +00:00
David Conrad
6b9a10fbd3 Simplify
Originally committed as revision 10326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:41 +00:00
David Conrad
f9c8d57b79 Keyframe is the first bit not last
Originally committed as revision 10325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:39 +00:00
David Conrad
357eba6f0b Simplify
Originally committed as revision 10324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:38 +00:00
David Conrad
d22f88cb19 Use av_get_bits_per_sample
Originally committed as revision 10323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:34 +00:00
David Conrad
44008871ef Write bit depth for PCM audio
Originally committed as revision 10322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:31 +00:00
David Conrad
1a302a5c2a Write wav header if there is no native audio codec ID
Originally committed as revision 10321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:29 +00:00
David Conrad
6364d534ea Write the cues element
Originally committed as revision 10320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:27 +00:00
David Conrad
1b66d31467 Doxygenize comments
Originally committed as revision 10319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:26 +00:00
David Conrad
4d1fd70cac Calculate the size of a SimpleBlock before writing it so that bytes aren't wasted in writing the size
Originally committed as revision 10318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:23 +00:00
David Conrad
7973dd0bf1 Indentation
Originally committed as revision 10317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:21 +00:00
David Conrad
967d815ae5 Write the Seek Head element
Originally committed as revision 10316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:19 +00:00
David Conrad
801edb42d1 Make sure to return a value in functions that return a value
Originally committed as revision 10315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:17 +00:00
David Conrad
5034ab9024 Move writing the tracks element to its own function
Originally committed as revision 10314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:15 +00:00
David Conrad
56d55a3bcf Move Xiph's CodecPrivate writing code to its own function
Originally committed as revision 10313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:13 +00:00
David Conrad
02f487fc77 Write the duration of the file
Originally committed as revision 10312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:11 +00:00
David Conrad
f57b85a569 put_ebml_void()
Originally committed as revision 10311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:09 +00:00
David Conrad
ab41602755 Remove unused prototype
Originally committed as revision 10310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:07 +00:00
David Conrad
ffb880c278 Write unknown size if the size given is too large for EBML (greater than 2^56-1)
Originally committed as revision 10309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:06 +00:00
David Conrad
815eb6a2fe Track number and UID only have to be nonzero
Originally committed as revision 10308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:03 +00:00
David Conrad
90c02d93ff SimpleBlocks are Matroska v2
Originally committed as revision 10307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:01 +00:00
David Conrad
98186e416d Start a new cluster every 5 MB or 5 seconds
Originally committed as revision 10306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:00 +00:00
David Conrad
6d50a935c9 Fix writing Xiph header sizes
Originally committed as revision 10305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:58 +00:00
David Conrad
89e81bbbb9 Correctly write CodecPrivate element for Vorbis and Theora
Originally committed as revision 10304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:56 +00:00
David Conrad
79a58e91db Compile fix; missed a variable declaration in the last commit
Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:54 +00:00
David Conrad
b1adb69c5b Write one cluster and SimpleBlocks for the frames. Should now create playable mkv files for some video codecs (H.264 and VP3 checked)
Originally committed as revision 10302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:52 +00:00
David Conrad
f622c4f45c First stab at writing the tracks element, still needs some additional cases for certain codecs
Originally committed as revision 10301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:50 +00:00
David Conrad
f8e65a3271 Remove useless debug write
Originally committed as revision 10300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:48 +00:00
David Conrad
9b6b0c7926 put_ebml_float()
Originally committed as revision 10299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:47 +00:00
David Conrad
1e18c4d097 Const correctness
Originally committed as revision 10298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:45 +00:00
David Conrad
81efc03f58 Get rid of put_ebml_utf8(); the error checking that would have distinguished it from put_ebml_string() belongs elsewhere in lavf.
Originally committed as revision 10297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:43 +00:00
David Conrad
dbf653f766 Cosmetics: align nicely for better readibility
Originally committed as revision 10296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:41 +00:00
David Conrad
cf4f763be1 Simplify
Originally committed as revision 10295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:39 +00:00
David Conrad
67143c0f69 Beginning of mkv muxer, only EBML head is written correctly
Originally committed as revision 10294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:37 +00:00
Ramiro Polla
f7b8bffe47 Treat dc1394 as a library
Originally committed as revision 10292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 22:03:32 +00:00
Mike Melanson
80a16ccf82 simplify PTS handling
Originally committed as revision 10291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 17:33:35 +00:00
Luca Abeni
5f2cbb53b4 Fill the buffer with 0 before writing an SDP in it
Originally committed as revision 10287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 09:00:40 +00:00
Neil Brown
9fcbcca60a If a stream has no start time, but the first packet has a 'pts', use that
pts to set the start_time.
patch by Neil Brown: [neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less
dependant on start_time being defined.
date: 08/16/2007 08:27 AM

Originally committed as revision 10285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:56:26 +00:00
Luca Abeni
3f19004e46 Set the "B" flag in the payload header
Originally committed as revision 10284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:28:58 +00:00
Luca Abeni
2d7d6d4203 Set the "TR" field in the payload header
Originally committed as revision 10283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:22:37 +00:00
Luca Abeni
73130dfee2 Correctly set the "P" field in the payload header
Originally committed as revision 10282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:14:10 +00:00
Wolfram Gloger
9be5181587 fix probe buffer issue. patch by Wolfram Gloger {wmglo at dent.med.uni-muenchen.de}.
[FFmpeg-devel] [PATCH] ac3_probe input buffer overrun
Aug 28, 2007

Originally committed as revision 10281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 05:19:59 +00:00
Michael Niedermayer
da0b94f539 workaround ms (lack of) intelligence in their design of dvr-ms
yes kids you do not make 90% of your file contain empty dummy packets
closes issue76

Originally committed as revision 10280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-02 15:58:43 +00:00
David Conrad
84fa6e23fb SimpleBlock keyframe flag is the most significant bit
Originally committed as revision 10274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 18:24:09 +00:00
Diego Biurrun
1e97ce4a31 cosmetics: Sort some lines, whitespace changes.
Originally committed as revision 10268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:11:24 +00:00
Luca Abeni
46b274d4e5 Correct packetization for MPEG video frames, and correct setting of the
"B" and "E" bits in the payload header

Originally committed as revision 10260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-29 10:47:15 +00:00
Luca Abeni
7c8133aa44 Remove commented code (payload header extension)
Originally committed as revision 10259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-29 10:42:13 +00:00
Luca Barbato
f6df400c0c Backport fix for mpegvideo rtp, fixes Issue119, original fix from Dario Gallucci <dariodotgallucciatpolito.it> in feng
Originally committed as revision 10257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-28 13:43:39 +00:00
Roberto Togni
b6f508bbcc Change 4xm demuxer and video decoder to pass the video format version in
extradata instead of codec_tag.

Originally committed as revision 10253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 21:58:39 +00:00
Diego Biurrun
30a987ece9 Remove unused variable.
Originally committed as revision 10251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 12:36:19 +00:00
Luca Abeni
50755217f8 Use correct timescale in RTSP seeking
Originally committed as revision 10222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 15:12:38 +00:00
Luca Abeni
7fa9d0dd8f Remove copyright from a function prototype
Originally committed as revision 10214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 17:40:43 +00:00
Luca Abeni
98561024ac Move the RTP packetization code for MPEG12 video in its own file (rtp_mpv.c)
Originally committed as revision 10201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 07:13:34 +00:00
David Conrad
b75c8d16e7 Add V_SNOW
Originally committed as revision 10200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 00:49:46 +00:00
Kostya Shishkov
2b71ddd96e Take ring frame into account when demuxing.
This fixes issue 97.

Originally committed as revision 10192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 06:59:19 +00:00
Diego Biurrun
57b499c7da Identifiers starting with underscores are reserved.
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Baptiste Coudurier
1f794d69c0 support swink created files which have soi/eoi broken tags reversed
Originally committed as revision 10152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 19:55:37 +00:00
Neil Brown
9f32041d89 Do not butcher start_time in av_estimate_timings_from_bit_rate().
from a patch by neilb suse de

Originally committed as revision 10140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 01:26:06 +00:00
Neil Brown
d6a0906ad1 When looking for the last packet in each
stream, so as to calculate the duration, don't stop
as soon as all streams have seen at least one packet.
Otherwise the duration will be shorter than it
should be.  We must keep reading to the end-of-file.
patch by neilb suse de

Originally committed as revision 10139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:52:05 +00:00
Neil Brown
bf494092b0 There is no guarantee that every stream will
have a start_time found (though it is likely),
so check that the start_time is defined before
calculating a duration.
 (patch by neilb suse de)

Originally committed as revision 10138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:45:44 +00:00
Michael Niedermayer
df886e7e02 fix cur_dts at the end of av_estimate_timings_from_pts()
Originally committed as revision 10137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:44:14 +00:00
Neil Brown
e26381b6da more verbose doxy for duration (from patch by neilb suse de)
Originally committed as revision 10136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:35:43 +00:00
Neil Brown
4854c253a4 mention that start_time maybe AV_NOPTS_VALUE (from patch by neilb suse de)
Originally committed as revision 10135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:31:32 +00:00
Vincent Fourmond
9e33b10fd7 Allow pipe: URL to take fd number as input
Patch by Vincent Fourmond [vincent dot fourmond at 9online dot fr]

Originally committed as revision 10134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 15:14:29 +00:00
Vincent Fourmond
de79849eac Indent for next commit
Patch by Vincent Fourmond [vincent dot fourmond at 9online dot fr]

Originally committed as revision 10133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 15:12:30 +00:00
Diego Biurrun
93951943ec spelling/wording cosmetics
Originally committed as revision 10131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 10:45:50 +00:00
Björn Axelsson
a9054d91b7 store asf streaming bitrates consistently
patch by Björn Axelsson: [bjorn axelsson intinor se]

Originally committed as revision 10130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 06:49:43 +00:00
Ramiro Polla
f18cae4d6e Set UDP receive buffer to 64k
Originally committed as revision 10129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:12:03 +00:00
Aurelien Jacobs
fce388b4b9 cosmetic: indentation
Originally committed as revision 10128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:04:38 +00:00
Aurelien Jacobs
2f3b419cf1 Don't pre-scale default_duration to avoid precision loss in fps calculation.
closes Issue95

Originally committed as revision 10127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:01:54 +00:00
Aurelien Jacobs
aec783d42d no need for special case default_duration for AAC
Originally committed as revision 10126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:55:37 +00:00
Aurelien Jacobs
a92d20629c calculate default_duration according to framerate only when not already set
Originally committed as revision 10125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:54:04 +00:00
Michael Niedermayer
6d96a9b94d elaborate a little on AVStream.start_time, it seems the comment is not clear
enough, not that the clearer NEVER comment in AVFormatContext.start_time stoped
people from posting stupid patches

Originally committed as revision 10122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 12:07:05 +00:00
Aurelien Jacobs
77cb22fa7b Try size 640x480 for FLC files which don't specify their size.
This is a ugly hack to fix playback of specular.flc.
closes issue71

Originally committed as revision 10117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 15:51:30 +00:00
Michael Niedermayer
bc3a73bc87 remove broken movi_end skip-hack-check
this should fix seeking over the first riff chunk in odml

Originally committed as revision 10114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 03:00:56 +00:00
Michael Niedermayer
ea4b2b5e2c do not misuse movi_end for checking chunk sizes
Originally committed as revision 10113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 02:27:31 +00:00
Ramiro Polla
9c0edaaf13 Use AVERROR_PATCHWELCOME instead of AVERROR(ENOTSUP)
Originally committed as revision 10111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 22:55:44 +00:00
Diego Biurrun
9d4edf966e Make native and libnut NUT muxers mutually exclusive.
Originally committed as revision 10102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 08:33:03 +00:00
David Bryant
a6ba65f7f2 Support for WavPack version 0x410 (false stereo chunks)
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name);
Thread [PATCH] handle WavPack stream version 0x410

Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:36:50 +00:00
Michael Niedermayer
a985a940c0 export 4xm video version
Originally committed as revision 10092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:44:35 +00:00
Michael Niedermayer
880e3ef413 add support for old flac in ogg
fixes samples.mplayerhq.hu/flac/Yesterday.ogg
closes issue73

Originally committed as revision 10088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 09:29:39 +00:00
Michael Niedermayer
07870f8537 pass *fr2 chunks to decoder (Toy-Story2_better-image-quality.4xa contains them)
Originally committed as revision 10085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:23:47 +00:00
Carl Eugen Hoyos
e56397800e Ensure av_tree_insert() is defined before using it.
Patch by Carl Eugen Hoyos   cehoyos _at_ ag.or.at

Originally committed as revision 10083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:58:10 +00:00
David Conrad
160ab30fcc Set dts in tta demuxer
Originally committed as revision 10077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:45:40 +00:00
Michael Niedermayer
06c5c560ed cola for diego
Originally committed as revision 10074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 20:03:10 +00:00
Diego Biurrun
68bf8d83c5 Bump minor number, NUT muxer was added.
Originally committed as revision 10072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 15:03:50 +00:00
Michael Niedermayer
63dd9d0ee3 simplify
Originally committed as revision 10068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 11:12:34 +00:00
Michael Niedermayer
d2062ff64d do not remove FLAG_CODED
Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 11:10:29 +00:00
Michael Niedermayer
0e6472fdcb remove useless code, found by oded
Originally committed as revision 10066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 10:12:39 +00:00
Michael Niedermayer
2529024b3c this is debug not info
Originally committed as revision 10065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 22:40:11 +00:00
Michael Niedermayer
fbd69f519b 100000l (forgotten return)
Originally committed as revision 10062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 17:05:12 +00:00
Michael Niedermayer
65d7d68b99 mention AVPROBE_PADDING_SIZE at the read_probe() doxy
Originally committed as revision 10061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:15:23 +00:00
Michael Niedermayer
d1a4544de9 remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)
Originally committed as revision 10060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:12:50 +00:00
Michael Niedermayer
e020dbd2a1 flac probe
closes issue83

Originally committed as revision 10059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:06:18 +00:00
Aurelien Jacobs
9c3e2f78a0 ensure that negative block_time are properly checked
(workaround unsigned comparison)

Originally committed as revision 10058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 15:37:55 +00:00
Michael Niedermayer
0a5790d1a9 ensure that the aspect ratio is spec compliant
Originally committed as revision 10056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 14:23:18 +00:00
Luca Barbato
272872e44b fix the packetization mode parsing
Originally committed as revision 10055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:34:56 +00:00
Michael Niedermayer
1b0353be6d disable TRACE
Originally committed as revision 10053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:45 +00:00
Michael Niedermayer
a17e046a42 muxer should now be spec compliant (though it likely still contains bugs!)
Originally committed as revision 10052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:16 +00:00
Michael Niedermayer
14b3f9961f header repetition
Originally committed as revision 10051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 12:59:17 +00:00
Michael Niedermayer
ead1939f69 info packet
Originally committed as revision 10050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 11:52:28 +00:00
Aurelien Jacobs
63f8165914 merge some REGISTER_MUXER/DEMUXER into REGISTER_MUXDEMUX
Originally committed as revision 10048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:44:50 +00:00
Ramiro Polla
a12df245a4 10l: removed pipe_close instead of pipe_read
Originally committed as revision 10047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:39:26 +00:00
Michael Niedermayer
caeeefd7a4 more FIXME
Originally committed as revision 10044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:13:50 +00:00
Michael Niedermayer
41b7c75db3 enable nut muxer
Originally committed as revision 10043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:12:54 +00:00
Michael Niedermayer
100d8eb8dc muxer is not yet fully compliant so prevent people from mistakenly using it
while believing it already is

Originally committed as revision 10042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:11:36 +00:00
Ramiro Polla
ee7db7b0b9 Make the pipe URLProtocol share read and write functions with the file URLProtocol
Originally committed as revision 10041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:41:59 +00:00
Ramiro Polla
1642cb6b2e Add initialization and cleanup functions for Winsock
Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:39:05 +00:00
Michael Niedermayer
7c04134fa1 set back ptr properly
Originally committed as revision 10039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:29:58 +00:00
Michael Niedermayer
4a3b5fe16a move syncpoint cache related stuff to common file
Originally committed as revision 10038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:24:02 +00:00
Michael Niedermayer
073811cdd2 fix forw_ptr crc check
not really beautiful but i did not find a nice solution
note, untested

Originally committed as revision 10037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:35:13 +00:00
Michael Niedermayer
f0a9978c92 fix header_checksum
Originally committed as revision 10036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:20:17 +00:00
Michael Niedermayer
bd533e6cbc store headers twice (getting closer to spec compliance ...)
Originally committed as revision 10035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:14:00 +00:00
Michael Niedermayer
7e506494b1 move header writing into its own function
Originally committed as revision 10034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:10:11 +00:00
Michael Niedermayer
7a26da44b0 get rid of printf
Originally committed as revision 10033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:04:10 +00:00
Michael Niedermayer
e1249ba92f write frames and syncpoints
Originally committed as revision 10032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:01:22 +00:00
Michael Niedermayer
491216c672 put_t()
Originally committed as revision 10031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:56:42 +00:00
Michael Niedermayer
6e6cf116d8 100l
Originally committed as revision 10030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:55:09 +00:00
Michael Niedermayer
34f8cc3802 2 FIXME comments
Originally committed as revision 10029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:54:17 +00:00
Michael Niedermayer
0fcfa8eb36 add a universal fallback frame code for the case that no other applies
Originally committed as revision 10028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:52:49 +00:00
Michael Niedermayer
f13ea4e00c move lsb2full to common file
Originally committed as revision 10025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 18:37:28 +00:00
Baptiste Coudurier
9031aeb1cd take care to use video track field number as duration
Originally committed as revision 10024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:18:59 +00:00
Michael Niedermayer
5c2198b184 move crc wrapper to slightly better spot
Originally committed as revision 10022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:46:48 +00:00
Michael Niedermayer
874abace12 move syncpoint timestamp resetting code to a common file
Originally committed as revision 10020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:29:30 +00:00
Michael Niedermayer
44f46a698e remove old unused nut (de)muxer
Originally committed as revision 10018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:15:50 +00:00
Michael Niedermayer
47772399ec check forw_ptr CRC
Originally committed as revision 10017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:51:08 +00:00
Michael Niedermayer
6c666941eb forw_ptr CRC
Originally committed as revision 10016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:48:52 +00:00
Michael Niedermayer
8d9a3f7e21 use a dynamic ByteIOContext instead of using the lavf buffer
this makes the code work with big packets, it is also simpler and saves
a byte or 2

Originally committed as revision 10015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:38:24 +00:00
Michael Niedermayer
0809b51e52 move stream header writing into its own function
Originally committed as revision 10014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:25:58 +00:00
Michael Niedermayer
97d5eb11db move main header writing into its own function
Originally committed as revision 10013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:22:02 +00:00
Michael Niedermayer
e999435a60 write correct time_base
Originally committed as revision 10011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 11:06:54 +00:00
Michael Niedermayer
efd8f22a16 make StreamContext.time_base a pointer
Originally committed as revision 10010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 11:04:43 +00:00
Michael Niedermayer
4d75168f17 variables needed for muxer
Originally committed as revision 10009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 10:57:10 +00:00
Michael Niedermayer
dcc9bde010 write stream headers
Originally committed as revision 10008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 10:45:19 +00:00
Michael Niedermayer
70ea1e6922 trying to finally get the nut muxer back uptodate
this one only writes the framecode table and mainheader though they should be
compliant to the current spec

Originally committed as revision 10006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 01:12:48 +00:00
Alex Beregszaszi
3cf9ea7f48 use proper closesocket defines
Originally committed as revision 9992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:25:32 +00:00
Ramiro Polla
6ff3f3e7ce Check for winsock2.h instead of __MINGW32__
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 19:18:10 +00:00
Ramiro Polla
85060fe6b4 MinGW returns EAGAIN instead of EINPROGRESS
Originally committed as revision 9982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 12:08:16 +00:00
Michael Niedermayer
c7385375bc ensure that the codec_id detection in av_find_stream_info() does not
destroy the first dts values

Originally committed as revision 9965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 21:14:29 +00:00
Michael Niedermayer
b43387d447 more verbose error
Originally committed as revision 9964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:37:45 +00:00
Michael Niedermayer
371bf80642 ignore preroll, it is generally not what AVStream.start_time should contain
Originally committed as revision 9963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:36:55 +00:00
Luca Abeni
8767b80f5f Change avf_sdp_create() to get a pre-allocated buffer as input, and to
return an integer (0 if the SDP has been succesfully created, < 0 in case
of error)

Originally committed as revision 9947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:44:56 +00:00
Luca Abeni
7ba32703dd Fix linking when RTP is disabled and libraries are dynamic
Originally committed as revision 9945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:32:37 +00:00
Reimar Döffinger
cbb79c0ea8 Hack to support XSUB subtitles in AVI
Originally committed as revision 9936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:16 +00:00
David Bryant
6b05eb3117 Add the handling of the INT32INFO block to the WavPack decoder.
Patch by David Bryant david at $codecname dot com
Thread: [FFmpeg-devel] [PATCH] handle INT32INFO in WavPack decoder

Originally committed as revision 9932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 05:56:34 +00:00
Justin Ruggles
2477ce2322 10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable.
Originally committed as revision 9931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 03:36:50 +00:00
Michael Niedermayer
4cd2508139 fix misdetection of out.ac3
Originally committed as revision 9930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 02:17:06 +00:00
Michael Niedermayer
3504467f8b //more debug info
Originally committed as revision 9929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 02:15:46 +00:00
Baptiste Coudurier
4f0a995631 remove now useless vars
Originally committed as revision 9928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:40:49 +00:00
Baptiste Coudurier
5fcf2df323 cosmetics, braces/parenthesis style
Originally committed as revision 9927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:40:07 +00:00
Baptiste Coudurier
c78ed54266 cosmetics, indentation
Originally committed as revision 9926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:36:31 +00:00
Baptiste Coudurier
c6f05d8122 add streams on the fly, swf is a streaming format and has no real header, correctly detect audio in RamboMJPEGAVP6_112K.swf now
Originally committed as revision 9925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:28:05 +00:00
Baptiste Coudurier
c6377f6143 do not write id3v2 header when writing .mp2 files
Originally committed as revision 9924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:47:57 +00:00
Baptiste Coudurier
7a97dd84e3 remove useless raw_write_header
Originally committed as revision 9923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:47:07 +00:00
Justin Ruggles
ecc8fc11ec additional tweaks to AC3 probe function. give a higher score to a single frame
at the start of the stream. also read all available data in the probe buffer.

Originally committed as revision 9922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:32:19 +00:00
Justin Ruggles
c49c02231c increase the maximum AC3 probe buffer size and reduce the threshold for 50% reliability score to 2 frames. Fixes out.ac3 from [FFmpeg-devel] AC3 Format Detection unreliable.
Originally committed as revision 9920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 23:53:05 +00:00
Michael Niedermayer
f683dbdc6a set the previous tag size correctly in flv files
Originally committed as revision 9919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 23:03:17 +00:00
Michael Niedermayer
48a59dfe8e set a more reasonable start_time if the first timestamps are AV_NOPTS_VALUE
Originally committed as revision 9918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 22:54:46 +00:00
Michael Niedermayer
8258354849 correct initial timestamps which have AV_NOPTS_VALUE
Originally committed as revision 9917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 22:46:13 +00:00
Baptiste Coudurier
74e9b9ae70 set block align to stsd audio v2 bytes per frame for adpcm ms and ima wav, fix surge-2-16-L-ms11.mov and surge-2-16-L-ms02.mov
Originally committed as revision 9895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:33:34 +00:00
Michael Niedermayer
bca7db3530 detect MS wav codecs
fixes detection of audio codec though not playback of surge-2-16-L-ms11.mov

Originally committed as revision 9885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 00:22:28 +00:00
Michael Niedermayer
02b15cc811 move code which adds a AVPacket into the packet buffer into its own function
Originally committed as revision 9871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 08:56:00 +00:00
Benoit Fouet
d2ace376b0 fill title, author, copyright and comment fields by parsing udta atom
Originally committed as revision 9840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 15:20:36 +00:00
Michael Niedermayer
10a7571b09 deal with the case where one of pts,dts has wrapped but the other has not
Originally committed as revision 9839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 15:06:27 +00:00
Michael Niedermayer
90f66438a5 kill antiwrapping code, i do not think this did anything good
fixes decoding of rete4.ps
closes issue44

Originally committed as revision 9835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:57:47 +00:00
Baptiste Coudurier
bffcf2ebbf treat NONE as U8 to fix qtNONE/000_0032.MOV, this should not any have side effect since if bps is 16 in stsd, codec will be changed to s16be, just yell if this breaks any sample
Originally committed as revision 9832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 10:00:42 +00:00
Michael Niedermayer
a11c2a2c66 support silly PCM variant used by zork nemesis
fixes audio decoding of T000A11C.AVI

Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 02:05:16 +00:00
Ronald S. Bultje
36cf20f5a6 Merge get_str() and get_str8() functions.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 9818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:05:11 +00:00
Ronald S. Bultje
28263f5f15 Fix get_str/get_str8() to also work if the target string is not long enough to
fit all data from the container string, and allow NULL as a string also to
simply skip the string altogether.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 9817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:02:19 +00:00
Diego Biurrun
df3a80b50a cosmetics: misc typo fixes
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:46:26 +00:00
David Conrad
bd35bdf1b2 Add EBML ID for Segment UID
Originally committed as revision 9814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 06:33:05 +00:00
Michael Niedermayer
8950f82879 detect voxware (closes issue39)
Originally committed as revision 9809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 11:37:56 +00:00
Michael Niedermayer
41415d2856 try exact match before case insensitive match in codec_get_id
Originally committed as revision 9808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 11:36:17 +00:00
Michael Niedermayer
60ff1c4481 ignore invalid packet_obj_size
fixes video5.asf

Originally committed as revision 9807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 00:29:33 +00:00
Luca Abeni
c5388c0784 Introduce an SDP generator
Originally committed as revision 9806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 22:34:26 +00:00
Aurelien Jacobs
89aa478f75 cosmetics: alignment
Originally committed as revision 9802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 13:02:07 +00:00
Aurelien Jacobs
b1dc5beb12 replaces hardcoded values by the equivalent enum definitions
Originally committed as revision 9801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 13:01:09 +00:00
Michael Niedermayer
e0c850a8c4 Avoid misdetecting acelp in ASF as MP3.
fixes 2001-04-11.asf

Originally committed as revision 9799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 20:39:43 +00:00
Aurelien Jacobs
11bf3847b3 add proper support for subtitles muxing/stream copying
Originally committed as revision 9798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:47:44 +00:00
Aurelien Jacobs
868e43d952 use the most appropriate codec id for A_MPEG/L1 and L2
Originally committed as revision 9794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 15:59:26 +00:00
Aurelien Jacobs
0f40b54c17 reorder matroska codec tags so that the encoder picks up the appropriate tag
Originally committed as revision 9793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 15:58:12 +00:00
Panagiotis Issaris
9510da2bca Replace ENOSYS by ENOTSUP as in this case the problem is not really a function
which is not available, but a media type which is not supported.

Originally committed as revision 9768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 08:05:27 +00:00
Panagiotis Issaris
85565db0f8 Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS).
Originally committed as revision 9763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:38:33 +00:00
Panagiotis Issaris
5632e568c0 Correct one Doxygen entry, replacing NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:37:44 +00:00
Panagiotis Issaris
6f3e0b2174 Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:23:32 +00:00
Panagiotis Issaris
769e10f068 Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:21:30 +00:00
Diego Biurrun
d0f596b4ef Make video hook infrastructure conditional on video hooks being enabled.
Originally committed as revision 9757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 14:48:13 +00:00
Benoit Fouet
d72e7d0f24 use sscanf to parse address
Originally committed as revision 9756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 10:48:50 +00:00
Benoit Fouet
109d30e9f1 remove useless check
Originally committed as revision 9733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 11:56:36 +00:00
Joakim Plate
104d04182d fix emulated inet_aton so that it fails for invalid addresses
patch by elupus: \elupus ecce se/
original thread:
[FFmpeg-devel] [PATCH] emulated inet_aton doesn't fail for invalidaddresses
date: 07/15/2007 12:40 AM

Originally committed as revision 9731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 07:57:26 +00:00
Diego Biurrun
f1ea5c2a96 typo fixes
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:57:50 +00:00
Ramiro Polla
1fc44ed69e MinGW has those include files.
Originally committed as revision 9707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 20:30:28 +00:00
Ramiro Polla
82e4ac2c97 Move av_gettime() back to lavf/utils.c
Originally committed as revision 9706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 20:28:43 +00:00
Ramiro Polla
c993a83131 MinGW has gettimeofday() since mingw-runtime-3.10
Originally committed as revision 9705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 20:27:16 +00:00
Aurelien Jacobs
ee8c87b55b add support for S_ASS and S_SSA codec string
Originally committed as revision 9704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 14:51:43 +00:00
Alex Beregszaszi
e2e2e7dd70 .memleak fix by Ronald Bultje. OK'd by Luca.
Originally committed as revision 9697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 10:56:40 +00:00
Michael Niedermayer
c4194cc606 remove likely wrong reseting of align_iframe
same md5 with a short -t dvd encoding
fixes streamcopy of dvd

Originally committed as revision 9687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 18:24:39 +00:00
Aurelien Jacobs
372a80d15d Avoid using undefined symbols.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-muxer=mpeg1system

Originally committed as revision 9650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:12:38 +00:00
Aurelien Jacobs
c3eaeadb4a Allow selecting only the vc1 demuxer.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=vc1

Originally committed as revision 9649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:43:06 +00:00
Aurelien Jacobs
95e99a769c Allow selecting only the mpegtsraw demuxer.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=mpegtsraw

Originally committed as revision 9648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:40:18 +00:00
Aurelien Jacobs
548fabb9fb The dxa demuxer depends on riff.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-demuxer=dxa

Originally committed as revision 9647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:35:17 +00:00
Aurelien Jacobs
6d7eee8418 The dv1394 demuxer depends on dv.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=dv1394

Originally committed as revision 9645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:32:41 +00:00
Aurelien Jacobs
8f3a44a2e5 All those demuxers don't depend on riff.o anymore.
Originally committed as revision 9644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:27:20 +00:00
Aurelien Jacobs
2115c69f2c All those demuxers use pcm_read_seek() and thus depend on raw.o.
Originally committed as revision 9643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:01:20 +00:00
Aurelien Jacobs
7f7fdbc842 The c93 demuxer depends on vocdec.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-demuxer=c93

Originally committed as revision 9642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:37:24 +00:00
Måns Rullgård
b3fc092548 avoid division by zero in av_find_stream_info() when no time base is set
Originally committed as revision 9637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 12:42:57 +00:00
Baptiste Coudurier
71daa04c86 Smartjog granted permission to relicense as LGPL 2.1
Originally committed as revision 9631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:15:56 +00:00
Baptiste Coudurier
51d2ff8044 round timestamps up, k2 broadcast server seems to need it
Originally committed as revision 9630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:06:58 +00:00
Alex Beregszaszi
ef466de0a8 h264_rtp_extra_data is not only used for debug purposes, asserts are using it also
Originally committed as revision 9623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 12:12:38 +00:00
Alex Beregszaszi
8a54ad09fe remove uneeded include as assert is never used
Originally committed as revision 9622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 12:01:56 +00:00
Alex Beregszaszi
51ce035e82 Remove broken assert. ebml_read_element_id can handle level_up set to NULL.
Originally committed as revision 9621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 11:58:15 +00:00
Alex Beregszaszi
5b83843f43 fix compilation with assert
Originally committed as revision 9619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 00:49:40 +00:00
Luca Barbato
d02678eccc rtsp multicast fix by Thijs Vermeir $1$2@gmail.com
Originally committed as revision 9611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 21:12:33 +00:00
Aurelien Jacobs
979c091056 add support for ASS like subtitles in Matroska
Originally committed as revision 9593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:37:07 +00:00
Aurelien Jacobs
f7e97aaf87 add support for Matroska subtitle tracks
Originally committed as revision 9591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:13:20 +00:00
Aurelien Jacobs
45da8124a0 Move public API functions av_codec_get_tag() and av_codec_get_id()
into a file which is compiled un-conditionally (utils.c).

Originally committed as revision 9590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 12:45:14 +00:00
Ramiro Polla
7c37e504f0 Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:52:04 +00:00
Måns Rullgård
a9fd2b1921 avoid deprecation warnings for AVFrac from avformat.h
Originally committed as revision 9569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 22:15:11 +00:00
Diego Biurrun
941125ef5f ISO8859-1 --> UTF-8
Originally committed as revision 9561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 18:54:11 +00:00
Aurelien Jacobs
e16c0fc30e duration must not be scaled
Originally committed as revision 9558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 13:51:06 +00:00
Aurelien Jacobs
463d5bcc29 properly set AVStream.language according to Matroska track header
Originally committed as revision 9557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 13:33:34 +00:00
Måns Rullgård
34174abf64 avoid uninitialised variable warning and clarify code
Originally committed as revision 9543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:52 +00:00
Måns Rullgård
b474d1f3fa update SectionCallback and PESCallback typedefs to match functions
Originally committed as revision 9542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:51 +00:00
Måns Rullgård
3f8cd151a0 remove redundant declaration of mpegts_muxer
Originally committed as revision 9541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:48 +00:00
Måns Rullgård
ea7599ba8b kill uninitialised variable warning in mp3_read_probe()
Originally committed as revision 9540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:46 +00:00
Måns Rullgård
4f9e995a96 kill harmless 64-bit pointer cast warning
Originally committed as revision 9539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:44 +00:00
Måns Rullgård
fae3a361be bethsoftvid: use correct type for size passed to av_fast_realloc()
Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:42 +00:00
Roman Shaposhnik
c21f308e77 * Getting rid of the use of GCC language extensions
Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 03:16:59 +00:00
Måns Rullgård
b3633dee58 remove deprecated codec_get_{bmp,wav}_{id,tag}()
Originally committed as revision 9530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:49:24 +00:00
Måns Rullgård
6927c84c82 ogm: don't use deprecated codec_get_{bmp,wav}_id()
Originally committed as revision 9529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:41:09 +00:00
Måns Rullgård
99a452342c nutdec: don't use deprecated codec_get_{bmp,wav}_id()
Originally committed as revision 9528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:41:07 +00:00
Måns Rullgård
7ea18c8c1e remove redundant codec_get_bmp_tag() call in avi_write_header()
it is incorrect and av_write_header() already does the right thing

Originally committed as revision 9527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:41:06 +00:00
Måns Rullgård
78c3c1881f use bytestream_get_* and AV_RLxx
Originally committed as revision 9525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:31 +00:00
Måns Rullgård
f015e411d7 kill uninitialised variable warning in amr_read_packet()
Originally committed as revision 9522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 13:46:30 +00:00
Måns Rullgård
8c222bb405 kill uninitialised variable warning in ac3_probe()
Originally committed as revision 9521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 13:46:28 +00:00
Måns Rullgård
14d194d5d8 remove unused functions
Originally committed as revision 9520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 13:46:25 +00:00
Ronald S. Bultje
80fb82346e Use AV_RB* macros where appropriate.
patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400

Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 09:32:34 +00:00
Luca Abeni
653387d8f0 Support for the AVFMT_FLAG_NONBLOCK flag (non-blocking input) in v4l2.c
Originally committed as revision 9496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:18:25 +00:00
Luca Abeni
bf09c2e2a6 Add support for non-blocking input formats
Originally committed as revision 9495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:16:47 +00:00
Eric Paul
74ef8b434d check udp_read_packet return value not to access uninitialized memory
patch by Eric Paul: [eric paul gmail com]
original thread: [FFmpeg-devel] [PATCH] : libavformat segfault when a
RTSP reading is interrupted
date: 07/05/2007 03:13 PM

Originally committed as revision 9492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:58:34 +00:00
Måns Rullgård
f225016296 update my email address
Originally committed as revision 9489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:08:51 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Diego Biurrun
7b94177e37 Group all copyright and author notices together.
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Diego Biurrun
a7738a044d URL update, move comment to a better place.
Originally committed as revision 9476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:06:27 +00:00
Diego Biurrun
224906414b Remove leading underscores from specifiers, they are reserved.
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Diego Biurrun
34359cab0d spelling cosmetics
Originally committed as revision 9459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 12:19:26 +00:00
Diego Biurrun
bbd861796e Add missing comment markers to #endif directive.
Originally committed as revision 9455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:10:53 +00:00
Vitor Sessak
7cf0999529 remove empty write trailer functions
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 06:54:47 +00:00
Baptiste Coudurier
4513cd48ee compute absolute data offset after reading blocksize
Originally committed as revision 9441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 23:08:39 +00:00
Baptiste Coudurier
1758c7128d this is named BlockSize in specs
Originally committed as revision 9430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 21:47:29 +00:00
Baptiste Coudurier
11d540a480 according to specs, offset is before blocksize
Originally committed as revision 9429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 21:46:15 +00:00
Baptiste Coudurier
620d1d7878 support files with COMM chunk after SSND, fix invalid_nocommon.aiff which is spec compliant
Originally committed as revision 9428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 21:31:33 +00:00
Ramiro Polla
05d00e953f Check for O_BINARY instead of a list of systems that need it
Originally committed as revision 9427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 20:34:20 +00:00
Ramiro Polla
45c1011020 Remove localtime_r implementation for systems that don't have it.
It is no longer used.

Originally committed as revision 9425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 16:18:28 +00:00
Maksym Veremeyenko
05ce0f11e4 * clarifying the AVInputFormat::read_seek return value
* changing dv_read_seek() to return the proper value
    (patch by Maksym Veremeyenko)

Originally committed as revision 9418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 02:08:04 +00:00
Aurelien Jacobs
ffaa3ecb60 cosmetics: indentation after last commit
Originally committed as revision 9417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 21:50:09 +00:00
Aurelien Jacobs
2def9cd94d drop blocks which are part of unsupported tracks
Originally committed as revision 9416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 21:49:13 +00:00
Måns Rullgård
ca3e90825c remove duplicate #include
Originally committed as revision 9413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:29:12 +00:00
Reimar Döffinger
272605c73e more av_strl* adjustments
Originally committed as revision 9412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:23:34 +00:00
Måns Rullgård
19f4cecafa warnings--
Originally committed as revision 9411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:18 +00:00
Måns Rullgård
4bd684bc2f whitespace cosmetics
Originally committed as revision 9410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:17 +00:00
Måns Rullgård
1eb1f6fdb8 use AV_RL32
Originally committed as revision 9409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:16 +00:00
Måns Rullgård
d66c30adec use more Vorbis metadata tags
Originally committed as revision 9408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:12:04 +00:00
Måns Rullgård
d367783979 replace strncpy with av_strlcpy
Originally committed as revision 9407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:11:45 +00:00
Måns Rullgård
f7d78f3654 replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 11:27:12 +00:00
Reimar Döffinger
bc60f09bff Cosmetics: use consistent indentation by four spaces
Originally committed as revision 9404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 07:45:19 +00:00
Reimar Döffinger
01fa74adb9 DV muxer should not only fail for more that 3 streams altogether
but also if two of them are video or all three are audio.

Originally committed as revision 9403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 07:38:26 +00:00
Måns Rullgård
e46e884f25 remove old unused string functions
Originally committed as revision 9402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 23:10:35 +00:00
Måns Rullgård
75e61b0e88 use new string functions
based on patch by Reimar Döffinger

Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 23:10:32 +00:00
Aurelien Jacobs
1607c534bf simplify
Originally committed as revision 9399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:49:36 +00:00
Aurelien Jacobs
fd2e1d88a6 remove useless empty function
Originally committed as revision 9398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:47:02 +00:00
Aurelien Jacobs
eb67342fdc cosmetics: too much blank lines
Originally committed as revision 9397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:42:45 +00:00
Aurelien Jacobs
2ce746c66a use intreadwrite functions in matroskadec
based on a patch by Ronald S. Bultje   rsbultje gmail com

Originally committed as revision 9396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:32:19 +00:00
Aurelien Jacobs
6bca498d78 use intreadwrite functions in vocdec
Originally committed as revision 9395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:30:40 +00:00
Måns Rullgård
34f18ba853 remove useless #ifndef CONFIG_NOCUTILS
Originally committed as revision 9394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 01:20:38 +00:00
Måns Rullgård
aa38ada2d4 simplify stristart()
Originally committed as revision 9393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 00:47:28 +00:00
Måns Rullgård
315a2858b6 cosmetic: combine declaration and initialisation
Originally committed as revision 9392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 00:47:27 +00:00
Måns Rullgård
26301cb806 simplify pstrcpy()
Originally committed as revision 9391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 00:21:06 +00:00
Måns Rullgård
12a6f28928 simplify strstart()
Originally committed as revision 9390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 22:35:55 +00:00
Baptiste Coudurier
5d38574617 use allformats.h
Originally committed as revision 9384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 09:53:01 +00:00
Baptiste Coudurier
c4f27438ef remove now useless ifdef
Originally committed as revision 9383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 09:49:20 +00:00
Baptiste Coudurier
2abe5a01c8 split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
Originally committed as revision 9382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 09:39:29 +00:00
Reimar Döffinger
6de4aece26 Fix @file in matroskadec.c, it was still matroska.c
Originally committed as revision 9376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 17:37:11 +00:00
Benoit Fouet
9e15dfebb4 comment endif directive token
Originally committed as revision 9369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-19 21:12:52 +00:00
Guillaume Poirier
efb775777f add a comment to indicate which #endif belong to which #define
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård
699b3f99d0 add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Måns Rullgård
99545457bf include all prerequisites in header files
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:59:13 +00:00
Måns Rullgård
706da4af32 fix some printf format specifiers
Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:05 +00:00
Patrice Bensoussan
629272d86f Add support for track numbers when they are set via strings
patch by Patrice Bensoussan: patrice bensoussan free fr

Originally committed as revision 9318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 09:10:19 +00:00
Aurelien Jacobs
b997b67c63 use get_bits_long() where needed
patch by Aurelien Jacobs, aurel gnuage org

Originally committed as revision 9314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 18:14:35 +00:00
Ronald S. Bultje
48961970f1 remove decode_be32/64 and replace them by AV_RB32/64
patch by Ronald S. Bultje: \ rbultje at ronald bitfreak net /

Originally committed as revision 9299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:24:22 +00:00
Ramiro Polla
6fe706df05 Remove unused declarations
Originally committed as revision 9297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:27:32 +00:00
Diego Biurrun
90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Stefano Sabatini
26ef3220cf Move the video size and rate abbreviations system from libavformat to libavcodec
patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it]
original thread:
[FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system
date: 06/02/2007 05:30 PM

Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:06:54 +00:00
Diego Biurrun
0a4f20c6c5 Add some explanatory comments to #endif directives.
Originally committed as revision 9287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:01:35 +00:00
Diego Biurrun
ea23327b9c Remove unused static function.
Originally committed as revision 9285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 07:59:34 +00:00
Ronald S. Bultje
19ecf88288 Add a bounds check on AVProbeData input.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net
thread:
Date: Sat, 09 Jun 2007 19:22:17 -0400
Subject: [FFmpeg-devel] lavf probing

Originally committed as revision 9275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 20:35:01 +00:00
Michael Niedermayer
b3e104366a simplify
Originally committed as revision 9258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:34:37 +00:00
Michael Niedermayer
2bb486a5e6 remove now unused "global" pcr_pid
Originally committed as revision 9257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:26:05 +00:00
Michael Niedermayer
dbf6b678fc proper per stream pcr_pid support by (Wolfram Gloger wmglo dent.med.uni-muenchen@de )
Originally committed as revision 9256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:21:29 +00:00
Panagiotis Issaris
716f6b47f2 Remove the unnecessary masking when counting received packet types in the H.264
RTP parsing code.

Originally committed as revision 9241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:51:26 +00:00
Panagiotis Issaris
7699645e7d Remove the unnecessary masking when reconstructing the NAL unit header in the
H.264 RTP parsing code.

Originally committed as revision 9240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:48:29 +00:00
Panagiotis Issaris
6ab6525e11 Remove the unnecessary masking when extracting the start bit in the H.264 RTP
parsing code.

Originally committed as revision 9239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:47:40 +00:00
Diego Biurrun
c64bab0805 Fix linking: emms_c is a macro, #include the correct header file.
Originally committed as revision 9238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:13:59 +00:00
Ronald S. Bultje
8e82f5048e emms --> emms_c, patch by Ronald S. Bultje, rbultje ronald.bitfreak net
reference thread:
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ff-grab-emms_c.patch (1/1)
Date: Thu, 07 Jun 2007 09:01:44 -0400

Originally committed as revision 9236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 13:24:19 +00:00
Baptiste Coudurier
e5f0be5a0c add MMES fourcc, matrox mpeg2 in avi files
Originally committed as revision 9234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 15:52:53 +00:00
Michael Niedermayer
7691686327 add mpegtsraw demuxer
Originally committed as revision 9233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 13:31:30 +00:00
Baptiste Coudurier
911f9b714e warn user if video codec timebase is very high
Originally committed as revision 9232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 13:21:50 +00:00
Diego Biurrun
ac3967c1ce spelling
Originally committed as revision 9221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 23:07:27 +00:00
Aurelien Jacobs
8d75b5a2fb cosmetics: use one type per field in every structs
Originally committed as revision 9220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:35:16 +00:00
Michael Niedermayer
e39291dfcf partially revert r2931 (Support raw mpegts streams from dvr)
the change was wrong

Originally committed as revision 9219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:23:05 +00:00
Aurelien Jacobs
77abe5e858 cosmetics: indentation
Originally committed as revision 9218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:21:29 +00:00
Aurelien Jacobs
eabb8ba445 add support for real audio in matroska
Originally committed as revision 9217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:19:17 +00:00
Aurelien Jacobs
407a3d94f5 fix an infinite loop in case one cluster is not enough to demux a packet
Originally committed as revision 9216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:17:55 +00:00
David Conrad
b061d892ed split some common code from the mkv demuxer that will be useful to the muxer
patch by David Conrad  umovimus _at_ gmail.com

Originally committed as revision 9215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:10:54 +00:00
Ramiro Polla
864ff8c119 Typos
Originally committed as revision 9213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 21:05:58 +00:00
Ramiro Polla
05abfce9a9 Doxygenize av_init_packet
Originally committed as revision 9212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 20:48:04 +00:00
Ramiro Polla
659596f002 Export av_init_packet
Originally committed as revision 9211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 16:52:02 +00:00
Michael Niedermayer
04ec18b8b3 harmless typo
Originally committed as revision 9210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:54:33 +00:00
Michael Niedermayer
28f03d0494 fix indention
Originally committed as revision 9209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:53:47 +00:00
Michael Niedermayer
ad39abcdd9 remove duplicate PAT scaning code and actual PAT scan
also disabling the nonsense 3yr old rawts change (it would after the
above chage totally break the demuxer if its left enabled)

Originally committed as revision 9208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:44:52 +00:00
Michael Niedermayer
4dc8a963d1 unused variables
Originally committed as revision 9207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:20:07 +00:00
Michael Niedermayer
90d13e30d5 dont rescan for information on each pid, but rather do it just once by
opening 1 filter for each at the same time

Originally committed as revision 9206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:17:43 +00:00
Michael Niedermayer
ecc31d1d8e move structs and enums to top of file so they can be used
Originally committed as revision 9205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:11:54 +00:00
Michael Niedermayer
4d9a577e30 passing MpegTSFilter to the filters instead of a random void *opaque
code is simler and the filters now know the pid they are filtering so one
filter callback can be used with more then one pid at the same time

Originally committed as revision 9204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 13:57:00 +00:00
Marc Hoffman
69621690ab extending video4linux support to handle the additional formats UYVY, YUYV and RGB565
Originally committed as revision 9203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 13:28:02 +00:00
Marc Hoffman
c7c64e9e5e convert if then else video palette to pix_fmt construct to simpiler table based lookup.
Originally committed as revision 9202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 13:25:29 +00:00
Michael Niedermayer
37dfd6333d do not perform SDT scan at the begin (this avoids a timeconsuming search for
optional info) instead fill SDT info in and update it as we stumble across it

Originally committed as revision 9201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 12:19:38 +00:00
Michael Niedermayer
657ced8cdb make new_service() update existing info sanely
Originally committed as revision 9200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:46:59 +00:00
Michael Niedermayer
0618bb1c5b remove fake service/provider names used for PAT
this allows us to distingush if the info came from SDT or PAT and will
allow to dyamically fill info in ...

Originally committed as revision 9199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:25:33 +00:00
Benoit Fouet
a45ec41409 Indentation
Originally committed as revision 9197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 08:53:08 +00:00
Baptiste Coudurier
1b4818452c cosmetics remove struct name with typedef
Originally committed as revision 9194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 22:56:11 +00:00
Baptiste Coudurier
738ebafceb remove unused EssenceContainerData
Originally committed as revision 9193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 22:40:42 +00:00
Baptiste Coudurier
151bdd5d3d skip no more needed on error
Originally committed as revision 9192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 18:04:33 +00:00
Baptiste Coudurier
01dfc64669 remove duplicate entry since now we ignore version byte
Originally committed as revision 9191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:53:15 +00:00
Baptiste Coudurier
28b9f98619 typo
Originally committed as revision 9190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:29:49 +00:00
Baptiste Coudurier
363f403f28 set pkt pos
Originally committed as revision 9189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:26:30 +00:00
Baptiste Coudurier
0e3ea3a26b remove now useless sync key
Originally committed as revision 9188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:20:35 +00:00
Baptiste Coudurier
6dc5554328 no need to seek on specific key anymore, since klv_read_packet will sync, tested on encrypted files
Originally committed as revision 9187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:19:15 +00:00
Baptiste Coudurier
b7889fce2f do not print error message when klv_read_packet fails
Originally committed as revision 9186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:15:39 +00:00
Baptiste Coudurier
cabe2527ef sync to mxf klv key before trying to read klv packet
Originally committed as revision 9185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:10:55 +00:00
Baptiste Coudurier
6982462f50 match uids indenpendantly of the version byte
Originally committed as revision 9184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 14:52:55 +00:00
Baptiste Coudurier
3c6b46d3a5 cosmetics, reorder and classify uids
Originally committed as revision 9183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 14:33:57 +00:00
Michael Niedermayer
b91811af83 get rid of if(1)
Originally committed as revision 9179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:14:38 +00:00
Michael Niedermayer
9deb6d71b8 get rid of one layer of callback obfuscation
Originally committed as revision 9178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:11:17 +00:00
Michael Niedermayer
b229219417 kill completely idiotic code which hides all but 2 streams
Originally committed as revision 9177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:04:46 +00:00
Michael Niedermayer
165f503a27 correct implementation of "try with auto_guess if first detection fails"
(untested)

Originally committed as revision 9175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 21:48:49 +00:00
Michael Niedermayer
d287b04b6d revert r4802 (try with auto_guess if first detection fails)
this change is broken, 3/4 of the code added is unreachable, ill implement
it correctly in a moment

Originally committed as revision 9174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 21:44:20 +00:00
Michael Niedermayer
38c48be213 split mpeg2ts_raw mode into its own demuxer using such a flag is an incredibly dirty hack
Originally committed as revision 9173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 20:57:31 +00:00
Michael Niedermayer
fc1f90d4e9 move jpegls up, fixes sf bug #1629152
Originally committed as revision 9165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 23:42:37 +00:00
Aurelien Jacobs
b1b64c237f typo
Originally committed as revision 9159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 10:04:37 +00:00
Aurelien Jacobs
d6649b2a58 use FFSWAP()
Originally committed as revision 9158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:50:35 +00:00
Aurelien Jacobs
43e869147a cosmetics: indentation
Originally committed as revision 9157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:45:09 +00:00
Aurelien Jacobs
7b2a2ce556 split rm muxer and demuxer in their own files
Originally committed as revision 9156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:44:16 +00:00
Michael Niedermayer
db8f4a92c9 warn the user about the the mdhd problem
(this is of course not a good solution but its better than silently
generating invalid files, we should find a better solution)

Originally committed as revision 9153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 00:08:32 +00:00
Glenn A. Serre
828bb5f1f6 variable initialization (because of a gcc warning)
patch by Glenn A. Serre gaserre spiresoftware com

Originally committed as revision 9146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 08:19:37 +00:00
Michael Niedermayer
8a59d9a385 fix "incorrect frame size" errors with small.nuv
Originally committed as revision 9133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 08:06:45 +00:00
Benoit Fouet
5faf2d3641 add rgb suffix handling for demuxer
Originally committed as revision 9103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 07:17:17 +00:00
Andreas Öman
0dc56bfae0 id3v2 writer
patch by Andreas Öman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2

Originally committed as revision 9102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 08:28:32 +00:00
Andreas Öman
52b53f8653 id3v2 reader
patch by Andreas Öman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2

Originally committed as revision 9101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 08:23:45 +00:00
Andreas Öman
cb2578d5ef cosmetic v1/v2 renaming
patch by Andreas Öman andreas olebyn nu

Originally committed as revision 9100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:58:22 +00:00
Thijs Vermeir
8bd32c0424 Add transport method options
patch by Thijs Vermeir thijs vermeir chez barco com
original thread:
[FFmpeg-devel] [PATCH] Add rtsp options support ( added option)

Originally committed as revision 9099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:51:39 +00:00
Thijs Vermeir
badc9ae2d5 Add support for options
patch by Thijs Vermeir thijs vermeir chez barco com
original thread:
[FFmpeg-devel] [PATCH] Add rtsp options support ( added option)

Originally committed as revision 9098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:47:04 +00:00
Alex Beregszaszi
3e2e29fb00 r9095 invalidly removed the check for non-winsock
Originally committed as revision 9096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 16:08:03 +00:00
Alex Beregszaszi
7235183df9 fix FD_SETSIZE handling in our poll() emulation
Originally committed as revision 9095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:54:35 +00:00
Baptiste Coudurier
4f60f34a89 print and return error if output is non seekable
Originally committed as revision 9087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 08:33:36 +00:00
Aurelien Jacobs
ca6e50afc1 add a ff_ prefix to some mpegaudio funcs
Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 15:11:55 +00:00
Alex Beregszaszi
c8df9c6358 Use usleep instead of sleep, some MinGW versions lack sleep.
Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 10:30:03 +00:00
Diego Biurrun
605315248c Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Diego Biurrun
14b2d01058 Drop unnecessary libavcodec/ prefix in #include path.
Originally committed as revision 9033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 09:21:23 +00:00
Corey Hickey
2e374f12b5 Don't forget about audio remaining in buffer, in case there is enough
left to make another DV frame.

Originally committed as revision 9032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 02:02:22 +00:00
Alex Beregszaszi
5676d140a9 initial mingw networking support
Originally committed as revision 9029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-15 14:58:30 +00:00
Baptiste Coudurier
4440b1188e simplify, no need for a function
Originally committed as revision 9008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:17:40 +00:00
Baptiste Coudurier
54a5c7193b fix ctts index computation when seeking, check must be done against next ctts sample, thanks to Uoti
Originally committed as revision 9007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:02:27 +00:00
Alex Beregszaszi
5f09770382 cosmetics: fix indentation
Originally committed as revision 8998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 19:07:40 +00:00
Baptiste Coudurier
c3ebc833b9 dmb1 fourcc, mjpeg_opendml.mov
Originally committed as revision 8990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:42:28 +00:00
Benoit Fouet
0ba0c8debb Use url_fopen error code when opening input file
handle the AVERROR_NOENT error case in print_error

Originally committed as revision 8977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:25:33 +00:00
Panagiotis Issaris
b484ec78e8 Typos
Originally committed as revision 8974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:51:00 +00:00
Luca Abeni
e4dd03f395 Reindent code after last commit
Originally committed as revision 8973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:15:15 +00:00
Limin Wang
0d6c07329e Allow avoid setting the video standard and input when capturing v4l2 video.
Patch by Limin Wang, edited by me

Originally committed as revision 8971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:14:42 +00:00
Vitor Sessak
13dec85765 RoQ muxer, patch by Vitor, vitor1001 gmail com
reference thread:
Subject: [FFmpeg-devel] [PATCH] RoQ muxer
Date: Wed, 09 May 2007 19:44:21 +0200

Originally committed as revision 8959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:07:40 +00:00
Aurelien Jacobs
99ff31dc75 move aac and ac3 parsers in their own files
Originally committed as revision 8941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:25:31 +00:00
Ivo van Poorten
8d2fb33320 autodetect ptx files
Originally committed as revision 8938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 11:57:49 +00:00
Aurelien Jacobs
c0f716b86f fix display of theora videos with visible size smaller than encoded size
Originally committed as revision 8928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 15:43:01 +00:00
Ivo van Poorten
cb63173785 Renderware TXD demuxer
Originally committed as revision 8927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:30:08 +00:00
Michael Niedermayer
5fd5d0ef3a improve mpeg4-es detection by rejecting streams with reserved startcodes (fixes 11-i_need_your_love-daw.mp3 detected as mpeg4)
Originally committed as revision 8923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 11:57:46 +00:00
Reimar Döffinger
89ecc26188 Fix two small typos in comment
Originally committed as revision 8920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 18:23:28 +00:00
Zuxy Meng
18d915dda6 cosmetics: Fix indentation after last commit, patch by Zuxy Meng.
Originally committed as revision 8917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 12:04:17 +00:00
Diego Biurrun
a4b120f32b cosmetics: Sort entries by CONFIG_ name.
Originally committed as revision 8877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 22:54:28 +00:00
Daniel Cardenas
711737af8e give the position offset of the file in the packet
update seek regression test reference file accordingly
patch by Daniel Cardenas: Daniel Car cox net
original thread: [Ffmpeg-devel] [PATCH] Debug help for file position
date: 05/01/2007 02:42 AM

Originally committed as revision 8871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 13:36:45 +00:00
Benoit Fouet
efd5fc538e return right format in set_codec_from_probe_data
Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 09:18:41 +00:00
Mark Cox
671adb1742 patch so that the deprecated items show up correctly
when building doxygen docs
patch by mark cox melbournemark plus ffmpeg minus devel chez gmail dot com

Originally committed as revision 8866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 09:13:47 +00:00
Zuxy Meng
d84707377f use asf stream information to set bitrate
patch by Zuxy Meng zuxy dot meng chez gmail tod com
reference thread: [Ffmpeg-devel] Third Try: Set bit_rate for asf format

Originally committed as revision 8861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-30 15:56:11 +00:00
Wolfram Gloger
7af636d44a Fix loop condition so it can be run through more than once.
patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de
reference: [Ffmpeg-devel] buffer underflow messages from the output_example.c

Originally committed as revision 8860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-30 09:46:11 +00:00
Wolfram Gloger
268fc08290 more detailed error message for buffer underflow
patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de

Originally committed as revision 8859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-30 09:43:29 +00:00
Baptiste Coudurier
25406e5002 fix AVStream documentation: clarify start_time, start_time and duration are actually in stream base
Originally committed as revision 8855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-28 13:07:52 +00:00
Kostya Shishkov
13544287d5 Support for newer MacOSX AIFF
Originally committed as revision 8852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 17:19:07 +00:00
Baptiste Coudurier
7bb7ad0eb5 fix oss audio playback, broken since r7983, pass AVFormatContext filename to audio_open since audio_device when NULL is no more set to default value
Originally committed as revision 8851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 16:10:05 +00:00
Alex Beregszaszi
ab7fd2c4f7 Use correct CONFIG_RTP_MUXER ifdef
Originally committed as revision 8847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 01:21:11 +00:00
Alex Beregszaszi
ba472aaf01 implement ff_socket_nonblock and use it in networking code
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 00:41:50 +00:00
Alex Beregszaszi
8da4034f52 use ff_neterrno() and FF_NETERROR() for networking error handling
Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 00:35:54 +00:00
Alex Beregszaszi
c08fb00016 Make protocols configure selectable and also cleanup the CONFIG_NETWORK
related parts (rtp,rtsp,sdp). Currently they are interdependent.

Originally committed as revision 8842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 23:44:56 +00:00
Alex Beregszaszi
9686292664 Don't compile RTSP_DEMUXER if not requested
Originally committed as revision 8841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 23:41:20 +00:00
Alex Beregszaszi
e7047005cb properly compile code for REDIR_DEMUXER
Originally committed as revision 8840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 23:40:36 +00:00
Diego Biurrun
4ee10633d2 cosmetics: Remove trailing whitespace and tabs.
Originally committed as revision 8838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 19:27:32 +00:00
Diego Biurrun
c23a470800 cosmetics: sort()
Originally committed as revision 8837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:31:33 +00:00
Alex Beregszaszi
383eda2348 move resolve_host from tcp.c to os_support.c as it is used widely
Originally committed as revision 8834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:04:42 +00:00
Alex Beregszaszi
a33cc9511b cosmetics in resolve_host
Originally committed as revision 8833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:00:28 +00:00
Alex Beregszaszi
0913873e5b remove unused rtsp_callback
Originally committed as revision 8832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 17:38:30 +00:00
Diego Biurrun
f87462ccef proper dependency on mpegts_demuxer for rtp_muxer
Originally committed as revision 8831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 17:35:31 +00:00
Baptiste Coudurier
b236a735e5 remove no more true comment
Originally committed as revision 8829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 11:46:04 +00:00
Baptiste Coudurier
e23848a49c cosmectics, use consistant and homogeneous type names for atoms
Originally committed as revision 8828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 11:36:05 +00:00
Baptiste Coudurier
f8c18cd711 use dprintf with AVFormatContext and simplify
Originally committed as revision 8827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 11:24:10 +00:00
Luca Abeni
578688fad5 Fix reading PTSs and DTSs in libavformat, by reverting r8465.
Such commit introduced some regressions (see the "Possible bug in reading
PTS/DTS" and "[BUG] no video transcoding" threads on ffmpeg-devel).

Originally committed as revision 8826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 10:49:48 +00:00
Baptiste Coudurier
1c086afc21 remove now obsolete and no more true comments
Originally committed as revision 8824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 08:42:21 +00:00
David Conrad
70fa2486a1 Support for seeking in TTA files.
Originally committed as revision 8820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 23:22:05 +00:00
Baptiste Coudurier
8d27c5f891 add xdv2 xdcam hd tag, decode xdcam_hd_1080i60.mov
Originally committed as revision 8812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 15:58:05 +00:00
Baptiste Coudurier
263a93ecff add 'wide' reversed tag in probe, detect broken xdcam files xdcam_hd_1080i60.mov
Originally committed as revision 8811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 15:57:15 +00:00
Benoit Fouet
b47f86c4a3 add rgb suffix to rawvideo muxer
Originally committed as revision 8805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 09:01:54 +00:00
Benoit Fouet
7d88b5ca02 more format abbreviations
Originally committed as revision 8798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 11:45:13 +00:00
Baptiste Coudurier
2f8fe719c6 correct comment about seek function
Originally committed as revision 8797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 10:51:26 +00:00
Diego Biurrun
a47ec310f2 Remove unused code + variable, fixes a warning.
Originally committed as revision 8794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 05:50:30 +00:00
Michael Niedermayer
db2a0e229f dont assert(0) due to buggy rm demuxer
Originally committed as revision 8790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 18:48:07 +00:00
Michael Niedermayer
b5a3541da1 fix av_seek_frame_generic() so that it doesnt fail if the
requested timestamp is after the last with backward flag

Originally committed as revision 8783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 16:23:44 +00:00
Michael Niedermayer
b237eb800d init packet before calling the demuxer
fixed random/uninitalized AVPacket->pos

Originally committed as revision 8781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 11:07:35 +00:00
David Conrad
756fb7fea1 Change from using a seek table internal to the TTA demuxer to using the standard lavf index.
Originally committed as revision 8780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 00:50:36 +00:00
Baptiste Coudurier
1c02d96f6d long -> int
Originally committed as revision 8774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:37:10 +00:00
Baptiste Coudurier
9e40addd21 cosmetics: mov_mp4 -> mp4
Originally committed as revision 8773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:12:51 +00:00
Baptiste Coudurier
0b07ac425a clean and simplify esds reading function
Originally committed as revision 8772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:09:14 +00:00
Baptiste Coudurier
d614f57978 remove broken ctab code
Originally committed as revision 8771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:03:53 +00:00
Baptiste Coudurier
fa22ca2214 use INT64_MAX
Originally committed as revision 8770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:01:47 +00:00
Alex Beregszaszi
61bc79ec9c remove possibly broken wince cruft
Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-20 23:45:53 +00:00
Benjamin Larsson
10e26bc782 Atrac3 decoder.
Originally committed as revision 8747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-17 20:53:39 +00:00
Aurelien Jacobs
57004ff1d7 add an enum for need_parsing
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 13:51:57 +00:00
Diego Biurrun
cefd4907e3 Make the declaration of AVInputFormat ac3_demuxer conditional
on CONFIG_AC3_DEMUXER.

Originally committed as revision 8741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 12:35:44 +00:00
Diego Biurrun
98d0205145 Move AC3 header parsing code together with the rest of the AC3 parsing code.
Originally committed as revision 8739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 12:32:36 +00:00
Joakim Plate
a74008a4c3 timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.

Originally committed as revision 8725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-13 07:50:04 +00:00
Diego Biurrun
4303c9bf62 spelling
Originally committed as revision 8722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 11:28:34 +00:00
John Donaghy
6fea687ec1 DVR-MS probe audio format
patch by John Donaghy \ johnfdonaghy chez gmail dot com /
Original thread:
date: 03/13/2007 04:56 PM
subject: [Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)

Originally committed as revision 8715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 08:11:33 +00:00
Baptiste Coudurier
c4fe61ff87 add D-10 PAL 40 audio essence container ul
Originally committed as revision 8709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:10:36 +00:00
Baptiste Coudurier
088e827a96 add D-10 PAL 40 ul
Originally committed as revision 8708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:04:59 +00:00
Aurelien Jacobs
7fdcdf25a1 cosmetics: indentation
Originally committed as revision 8707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 11:27:24 +00:00
Aurelien Jacobs
6207bb209e add support for seeking to a keyframe instead of a random frame
Originally committed as revision 8698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 17:03:20 +00:00
Aurelien Jacobs
79f2634686 add an intermediate variable (prepare for next patch)
Originally committed as revision 8697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 17:00:09 +00:00
Aurelien Jacobs
cca9b6cdb3 add support for seeking in matroska files
Originally committed as revision 8696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:48:28 +00:00
Aurelien Jacobs
df06539a25 move matroska_find_track_by_num() upper in the file
so that it can be used by other part of the code

Originally committed as revision 8695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:45:43 +00:00
Aurelien Jacobs
67545b0ce6 cluster position is relative to segment_start
Originally committed as revision 8694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:29:10 +00:00
Aurelien Jacobs
01344104c1 properly set streams start_time
Originally committed as revision 8693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:27:00 +00:00
Aurelien Jacobs
8e7a7e6a01 remove unused context field
Originally committed as revision 8692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:24:03 +00:00
Aurelien Jacobs
794857ae45 remove wrong and no more used packet reordering code
Originally committed as revision 8691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:22:18 +00:00
Nicholas Tung
e4141433ea Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 20:24:16 +00:00
Stefan Huehner
119e48d960 Make some functions which aren't used outside their declaring source file
and have no prototype in a header file static.
patch by Stefan Huehner, stefan huehner org

Originally committed as revision 8686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 20:21:11 +00:00
Marco Gerards
90f2a1a03c cosmetics: indentation fix
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 12:05:02 +00:00
Michael Niedermayer
ac5565d88c file extension based probe is max/2
Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 11:37:43 +00:00
Michael Niedermayer
65a00bd65a factorize
Originally committed as revision 8678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 11:37:04 +00:00
Michael Niedermayer
87e8788680 allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 11:34:15 +00:00
Michael Niedermayer
f118d254be also remove c93_ prefix for static function in the c93 demuxer
Originally committed as revision 8676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 09:50:08 +00:00
Michael Niedermayer
3e62d187ed s/rle_num_bytes/code/
shorter and correcter (its not the number of anything)

Originally committed as revision 8673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:32:55 +00:00
Michael Niedermayer
f858c24fb3 simplify
Originally committed as revision 8669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:26:11 +00:00
Michael Niedermayer
a7c405a48a conform to spec
Originally committed as revision 8668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:24:31 +00:00
Michael Niedermayer
d7cf44899f use shorter names for the block type enum
Originally committed as revision 8664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:10:22 +00:00
Michael Niedermayer
905234285d code claims to use 32bit timestamp, lets make it also use that
Originally committed as revision 8662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:57:04 +00:00
Michael Niedermayer
8bb57775e8 remove redundant comments
Originally committed as revision 8661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:55:15 +00:00
Michael Niedermayer
955629c0e8 remove inappropriate debuging av_log() alternatively they could be changed to dprintf()
Originally committed as revision 8660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:51:05 +00:00
Michael Niedermayer
373209f816 memleak (seems ive missed that under the obfuscated indention)
Originally committed as revision 8659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:47:55 +00:00
Michael Niedermayer
d5c5c8b4d3 sane indention (no more 3 statements on one line...)
Originally committed as revision 8658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:41:45 +00:00
Anssi Hannula
8e952e4d23 CRYO APC demuxer
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:34:18 +00:00
Nicholas Tung
1e6c67599e Bethsoft VID demuxer and video decoder
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 20:51:58 +00:00
Marco Gerards
d1e0d21f94 THP PCM decoder, used on the Nintendo GameCube.
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 16:03:23 +00:00
Anssi Hannula
9a0ddd09e7 Interplay C93 demuxer and video decoder
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:25:25 +00:00
Diego Biurrun
e42dba481f typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +00:00
Xiaohui Sun
2d99eed135 SGI image decoder ported to the new image API.
patch by Xiaohui Sun, sunxiaohui dsp.ac cn

Originally committed as revision 8635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 18:29:27 +00:00
Víctor Paesa
e19fbbec95 Add some help for the analyzeduration option.
patch by Víctor Paesa, wzrlpy arsystel com

Originally committed as revision 8631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 09:43:32 +00:00
Stefan Huehner
2b100ab2bf changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org %

Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 11:51:08 +00:00
Diego Biurrun
3af6d5cf2f There were two files, libavformat/grab.c and libavformat/grab_bktr.c declaring
the video_grab_device_demuxer AVInputFormat.  Use two different names for the
AVInputFormats to reduce confusion and remove ugliness from the Makefile.

Originally committed as revision 8619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 21:09:36 +00:00
Diego Biurrun
3d18b282e0 cosmetics: indentation
Originally committed as revision 8618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 16:47:43 +00:00
Diego Biurrun
7b17ad84be Get rid of unnecessary conditionals.
Originally committed as revision 8617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 16:33:04 +00:00
Diego Biurrun
12631f2dd0 CONFIG_NETWORK depends on CONFIG_PROTOCOLS, no need to nest conditionals.
Originally committed as revision 8615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 15:59:15 +00:00
Diego Biurrun
e011ef1a85 cosmetics: Put audio (de)muxer entries in alphabetical order.
Originally committed as revision 8614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 15:57:38 +00:00
Diego Biurrun
e64271c2fe Audio (de)muxer dependency on OSS is handled by configure.
Originally committed as revision 8613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 15:56:21 +00:00
Diego Biurrun
ed252b1624 cosmetics: Sort list of input/output formats.
Originally committed as revision 8606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 12:40:17 +00:00
Diego Biurrun
fa1ab87200 Fix copy and paste error in comment.
Originally committed as revision 8588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 15:46:43 +00:00
Diego Biurrun
efb0c399ca support for the THP game format by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 14:28:48 +00:00
Michael Niedermayer
91aeec1bc7 WMVA
Originally committed as revision 8581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 01:09:56 +00:00
Baptiste Coudurier
beef9ba9e2 add AVRn fourcc
Originally committed as revision 8572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:27:22 +00:00
Diego Biurrun
30a1380a04 cosmetics: Fix indentation.
Originally committed as revision 8565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 11:48:28 +00:00
Sam Hocevar
d495fdc3d3 Do not return invalid pointer for non-audio or video streams.
Patch by Sam Hocevar sam+ffmpeg zoy org

Originally committed as revision 8564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 23:04:45 +00:00
Michael Niedermayer
09a628662d argh, who commited this trash
start must be 0 ...

Originally committed as revision 8563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 22:10:25 +00:00
Michael Niedermayer
dc417a6e2f 10^10l to the idiot who designed this format and didnt even realize what number he used
Originally committed as revision 8562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 21:59:52 +00:00
Michael Niedermayer
0c0d17f3ce fix demuxing of IMAG0002.ASF
Originally committed as revision 8558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 16:20:40 +00:00
Michael Niedermayer
6cc65ab3c6 analyze end condition must match r_fps selection condition
fixes fps for Channel\ 4\ News_Channel\ 4_20_10_2006_19_00_01.dvr-ms

Originally committed as revision 8557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 15:05:09 +00:00
Michael Niedermayer
e9f6c8eaae fix probe of 001.vdr-broken-6025
Originally committed as revision 8550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 20:22:38 +00:00
Baptiste Coudurier
11979c460c move atom size check before parsing function search
Originally committed as revision 8546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 10:45:34 +00:00
Baptiste Coudurier
a097e559b2 unset sample count to disable track when is broken
Originally committed as revision 8545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 10:42:22 +00:00
Baptiste Coudurier
62b6498df2 break if atom size is more than size left in container atom, fix shooter.mov
Originally committed as revision 8544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 10:37:07 +00:00
Limin Wang
f5ad81f527 Allow setting v4l2 input and video standard.
Patch by Limin Wang (lance.lmwang AT gmail DOT com)

Originally committed as revision 8542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 06:32:54 +00:00
Bobby Bingham
4992d8bf7d Change the vhook code to send real timestamps to the filters instead of the
current time of day, which is useless, and which the filters could just as
easily query for themselves.
patch by Bobby Bingham, uhmmmm gmail com

Originally committed as revision 8541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 05:24:35 +00:00
Baptiste Coudurier
2f124d2af2 add hdv1 fourcc
Originally committed as revision 8540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 15:45:24 +00:00
Baptiste Coudurier
0b339acb9e revert r8538 (set bit rate for asf format) until regression tests issue is stated
Originally committed as revision 8539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 14:48:42 +00:00
Zuxy Meng
4d38ebfd7b set bit rate for asf format, patch by Zuxy Meng, zuxy meng gmail com
Originally committed as revision 8538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 12:03:37 +00:00
Michael Niedermayer
7975048628 require at least a score of AVPROBE_SCORE_MAX/4 or reaching of PROBE_BUF_MAX
to detect a container
fixes probing of mpeg_probe_fail.mpg

Originally committed as revision 8535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 19:28:40 +00:00
Baptiste Coudurier
bad0cefbdd add IJPG fourcc, to play m_ijpg.avi
Originally committed as revision 8530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 18:41:12 +00:00
Michael Niedermayer
61f676e1c1 warning about vhooks status
Originally committed as revision 8529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 18:01:26 +00:00
Baptiste Coudurier
c59f24e657 activate parser on MP3 id, fix [A-Destiny]_Konjiki_no_Gash_Bell_-_65_[71EE362C].mp4
Originally committed as revision 8516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:15:35 +00:00
Baptiste Coudurier
0174f51470 prefer MP3 id
Originally committed as revision 8515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:12:27 +00:00
Baptiste Coudurier
db6d109da2 use MKTAG
Originally committed as revision 8513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:09:02 +00:00
Baptiste Coudurier
b0c17f7776 dont fail immediately when a somehow broken track is detected, some tracks might be good, fix mi2_vorbis51.mp4
Originally committed as revision 8512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:06:50 +00:00
Aurelien Jacobs
8509fc7b13 add support for V_THEORA into Matroska
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:11:00 +00:00
Baptiste Coudurier
ccba88d764 cosmectics, mov -> mp4
Originally committed as revision 8497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:24:36 +00:00
Baptiste Coudurier
295b7dc367 sort
Originally committed as revision 8496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:17:30 +00:00
Baptiste Coudurier
2b4162f0ae add some codec object type ids
Originally committed as revision 8495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:16:03 +00:00
Baptiste Coudurier
b41899c66c prefer MP3 id as mentioned in avcodec.h line 210
Originally committed as revision 8494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:11:47 +00:00
Baptiste Coudurier
7555d2e633 add specifications reference comments
Originally committed as revision 8493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:10:12 +00:00
François Revol
c9fdab0dab Some more BeOS cleanup: check for arpa/inet.h; declare the prototype for inet_aton if not found; remove barpainet.h as it's not longer needed.
Originally committed as revision 8488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-23 22:01:37 +00:00
David Conrad
8076609a40 The NSV demuxer assumes that a video frame's timestamp increases by one on each
frame, but some low-bitrate NSV files omit video frames for some NSV frames,
and expect the timestamp to increase by one every NSV frame. This is noticeable
in 64vp3.nsv where the video runs several times faster than the audio. Fix this
by unconditionally incrementing the video's timestamp with each NSV frame.
patch by David Conrad, umovimus gmail com

Originally committed as revision 8466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 11:05:35 +00:00
Wolfram Gloger
df7625ed62 av_estimate_timings_from_pts() flushes the packet queue but doesn't
reset the streams' cur_dts values.  This can lead to a fatal "error,
non monotone timestamps ..." message later, because the out-of-date
cur_dts values are used to compute some packet's dts.

Fix this by calling av_read_frame_flush() and eliminate code
duplication in the process.

The additional hunk gives more detailed error messages.

patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de

Originally committed as revision 8465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:48:10 +00:00
Baptiste Coudurier
e14f79ed37 cosmetics, sample_size_v1 -> bytes_per_frame / samples_per_frame
Originally committed as revision 8464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:28:03 +00:00
Baptiste Coudurier
638fd2fce7 cosmetics
Originally committed as revision 8463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:19:37 +00:00
Baptiste Coudurier
2d2432b738 set audio frame size based on stts
Originally committed as revision 8462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:17:52 +00:00
Baptiste Coudurier
4278662d45 treat frame_size > 1 as compressed audio
Originally committed as revision 8461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:03:27 +00:00
Michael Niedermayer
028d6f3e71 revert r8428, the check was not that useless
should fix constant pts=0 with broken demuxers

Originally committed as revision 8454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 13:59:59 +00:00
Michael Niedermayer
a843d1ff32 i think this is more correct
Originally committed as revision 8452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 13:01:39 +00:00
Luca Barbato
bd03c380ce expose av_base64_decode and av_base64_encode
Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-19 00:48:47 +00:00
Clemens Ladisch
559fd1e795 fix end-of-file detection
At the end of a nut file, the check for url_feof() fails because the
eof flag was cleared by the url_fseek() call that was used to skip over
the index packet.    This patch fixes this
patch by: Clemens Ladisch % cladisch A fastmail P net %
Original thread:
Date: Feb 27, 2007 6:13 PM
Subject: [Ffmpeg-devel] [PATCH] nutdec: fix end-of-file detection

Originally committed as revision 8447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:59:56 +00:00
Baptiste Coudurier
c06136e024 add dnxhd fourcc
Originally committed as revision 8446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:29:40 +00:00
Justin Ruggles
f8b9830b6c improve ac3_probe by counting consecutive frames
Originally committed as revision 8441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 19:32:22 +00:00
Diego Pettenò
642d4a1a16 Remove parameter unused in format string.
Patch by Diego Petten [flameeyes gentoo org]

Originally committed as revision 8438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 09:49:25 +00:00
Michael Niedermayer
bc4efe42dd remove incorrect special case for audio
Originally committed as revision 8433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:44:22 +00:00
Michael Niedermayer
7e4baa66e0 fix indention
Originally committed as revision 8432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:29:00 +00:00
Michael Niedermayer
d9e1efb7f8 reorder pts into dts support
Originally committed as revision 8431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:27:01 +00:00
Michael Niedermayer
a7f7965a27 remove useless if()
Originally committed as revision 8428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 02:23:53 +00:00
Michael Niedermayer
14eb3345ba simplify
Originally committed as revision 8427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 02:03:59 +00:00
Michael Niedermayer
41c8a56a14 simplify
Originally committed as revision 8426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 01:21:40 +00:00
Michael Niedermayer
e25f97313f remove silly video check, theres nothing video specific in there
Originally committed as revision 8425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-16 23:02:33 +00:00
Michael Niedermayer
befe3b05d3 add a delay variable to hold the timestamp buffer size
set cur_dts correctly for delay>1

Originally committed as revision 8424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-16 22:59:45 +00:00
Michael Niedermayer
741887cf3e remove special case for h.264 whatever this was supposed to do its not correct
Originally committed as revision 8423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-16 22:31:57 +00:00
Aurelien Jacobs
262e2bee24 disable pts reordering code and initialize a parser instead
Originally committed as revision 8418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 23:08:58 +00:00
Bobby Bingham
2c0c00cb14 Targa (.tga) encoder,
patch by Bobby Bingham % uhmmmm A gmail P com %
Only handles 24-bit BGR and 8-bit grayscale, no RLE at the moment either.
Original thread:
Date: Mar 11, 2007 7:58 PM
Subject: [Ffmpeg-devel] [PATCH] Targa encoder

Originally committed as revision 8411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 12:23:08 +00:00
Kostya Shishkov
33a0dd378a DXA demuxer and decoder
Originally committed as revision 8405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 14:49:49 +00:00
Aurelien Jacobs
5ae4975c65 remove outdated comment
Originally committed as revision 8370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:21:19 +00:00
Aurelien Jacobs
2b1785b7cc remove no more needed parameters
Originally committed as revision 8369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:20:18 +00:00
Aurelien Jacobs
086b0ad8ca set pkt->duration for laced packets too
Originally committed as revision 8366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:16:31 +00:00
Aurelien Jacobs
9b54ab15e7 calculate pts for laced packets
Originally committed as revision 8365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:10:52 +00:00
Aurelien Jacobs
7fde6331a7 calculate default_duration for AAC tracks
Originally committed as revision 8364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:02:55 +00:00
Aurelien Jacobs
25f2b76fdb scale duration and default_duration
Originally committed as revision 8363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:01:24 +00:00
Aurelien Jacobs
916bf03a69 move timecode calculation out of laces loop
Originally committed as revision 8359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:58:29 +00:00
Baptiste Coudurier
3679f65946 remove wrong avid imx ntsc fourcc
Originally committed as revision 8350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 17:43:36 +00:00
Ronald S. Bultje
ecb4a895b2 Properly initialize filesize during input buffer initialization.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:51:18 +00:00
Panagiotis Issaris
750f0e1f8b Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:17:26 +00:00
Michel Bardiaux
318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Baptiste Coudurier
ea486ab3be remove codec_info_duration/nb_frames from AVStream
Originally committed as revision 8337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 10:59:47 +00:00
Aurelien Jacobs
ded669f836 cosmetic: indent after last commit
Originally committed as revision 8335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:44:13 +00:00
Aurelien Jacobs
ac9073c926 reorder pts of packets from tracks using V_MPEG* codecs
Originally committed as revision 8334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:40:57 +00:00
Aurelien Jacobs
3d20538d07 revert r7181
This was a stupid mistake. We already take care of time_scale
in av_set_pts_info().

Originally committed as revision 8333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:19:27 +00:00
Aurelien Jacobs
6bed20f45a check if current block contains a B frame and gives this info to parse_block()
Originally committed as revision 8332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:05:01 +00:00
Aurelien Jacobs
4d41f3eea0 extract ebml_read_binary() out of matroska_parse_block()
This allows to read all the blockgroup parameters before
parsing the block itself.

Originally committed as revision 8331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:54:15 +00:00
Aurelien Jacobs
12f3278dc5 reindent after last commit
Originally committed as revision 8330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:28:03 +00:00
Aurelien Jacobs
0fb7a2b9bf parse clusters until some packets are queued
instead of parsing only one cluster

Originally committed as revision 8329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:26:39 +00:00
Aurelien Jacobs
0f3bd8ce1b fix a stupid bug in ebml_read_sint()
Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:19:02 +00:00