Commit Graph

4593 Commits

Author SHA1 Message Date
Aurelien Jacobs
cf960242a4 matroskadec: add needed definitions forgotten in r17331
Originally committed as revision 17332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:00:58 +00:00
Aurelien Jacobs
929e9de7a1 matroskadec: add generic metadata support
Originally committed as revision 17331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:53:55 +00:00
Aurelien Jacobs
325ace3efc matroskadec: read track and attachment uid
will be useful for generic metadata support

Originally committed as revision 17330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:34:22 +00:00
Aurelien Jacobs
38766e084f matroskadec: export track name through the metadata API
Originally committed as revision 17329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:29:09 +00:00
Aurelien Jacobs
6cb6e159f8 matroskadec: use new metadata API to export some simple information
Originally committed as revision 17328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:25:14 +00:00
Stefano Sabatini
d1037c1205 Do not export to the public the first_protocol symbol at the next
major bump.
There is no need for that, since av_protocol_next() already provides
access to the first registered protocol.

Originally committed as revision 17326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:34:23 +00:00
Stefano Sabatini
9075d1e027 Document av_protocol_next().
Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:31:18 +00:00
Stefano Sabatini
5d37750187 Replace calls/references of the deprecated register_protocol()
function with correponding calls/references to av_register_protocol().

Originally committed as revision 17323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:29:23 +00:00
Stefano Sabatini
65c40e4e3a Rename register_protocol() to av_register_protocol() and deprecate
register_protocol().

Originally committed as revision 17322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:25:23 +00:00
Aurelien Jacobs
54b4ea57fd demux some more metadata tags in mov
Originally committed as revision 17321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:13:28 +00:00
Stefano Sabatini
aeedac95cc Document av_iformat_next() and av_oformat_next() functions.
Originally committed as revision 17316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 09:04:08 +00:00
Aurelien Jacobs
49674dd052 use new metadata API in mov demuxer
Originally committed as revision 17309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 02:28:54 +00:00
Michael Niedermayer
8ba311410a Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type"
The alternative (schoolbook) solution is less readable.

Originally committed as revision 17230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:44:46 +00:00
Peter Ross
bad4a6bbb7 Use consistent indent style in oggdec.
Originally committed as revision 17227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 13:44:21 +00:00
Patrik Kullman
eca406e284 Add libavcodec/internal.h include to avoid warning: implicit declaration of
function ‘ff_log_missing_feature’

Patch by Patrik Kullman ( patrik yes nu )

Originally committed as revision 17220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 23:02:05 +00:00
Baptiste Coudurier
73d0869a2f compute body offset and index entry offset correctly
Originally committed as revision 17219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 22:38:05 +00:00
Thierry Foucu
2ead1eb0ff use correct field number for video according to specs, patch by Thierry Foucu, tfoucu at gmail dot com
Originally committed as revision 17214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:36:36 +00:00
Baptiste Coudurier
032d8aece2 cosmetics, rename nb_frames to nb_fields
Originally committed as revision 17213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:32:18 +00:00
Baptiste Coudurier
ab91e84d2b fix slice offset computation
Originally committed as revision 17212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 19:04:30 +00:00
Diego Biurrun
67164b0c13 Remove pointless #if around the file, it is already conditionally compiled.
Originally committed as revision 17208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 09:39:04 +00:00
Baptiste Coudurier
1c6bdfa999 set mime type for mxf
Originally committed as revision 17207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:57:37 +00:00
Baptiste Coudurier
844d9e4115 simplify
Originally committed as revision 17206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:46:03 +00:00
Baptiste Coudurier
8d1a5af700 cosmetics, reindent, add/remove some empty lines, redundant comment
Originally committed as revision 17205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:34:01 +00:00
Baptiste Coudurier
bd3f81f313 MXF D-10 muxer
Originally committed as revision 17204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:28:20 +00:00
Baptiste Coudurier
6249143da8 store display height without vbi
Originally committed as revision 17203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:13:36 +00:00
Baptiste Coudurier
db6db7e505 split mpegvideo descriptor into cdci descriptor and wav common in sound common
Originally committed as revision 17202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:11:21 +00:00
Baptiste Coudurier
e15421fe2b write essence elements klv packets with ber4 length, more interoperable
Originally committed as revision 17200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:06:35 +00:00
Baptiste Coudurier
baaf7b1be1 encode klv fill item length in fixed ber 4 bytes
Originally committed as revision 17199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 05:33:11 +00:00
Alex Converse
ecc3a139b8 Report the illegal audio object type, not it offset by 1.
Discussed and OKed at http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2009-February/019860.html

Originally committed as revision 17198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 03:51:15 +00:00
Alex Converse
dd44d9e316 ADTS Muxer: Refuse to write illegal ADTS files by checking validity of header
members and erroring out if invalid

Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 17193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 23:51:08 +00:00
Justin Ruggles
e3b446498a use av_malloc() in vorbis_comment()
Originally committed as revision 17188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 21:39:37 +00:00
Diego Biurrun
517ac2434b Use more descriptive format long_names.
Originally committed as revision 17184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 17:26:06 +00:00
Diego Biurrun
69acc88b2f cosmetics: format long_name spelling fixes
Originally committed as revision 17183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 17:24:17 +00:00
Baptiste Coudurier
6a460c36b6 write active picture height for d-10/imx in mov
Originally committed as revision 17178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 09:15:36 +00:00
Art Clarke
d5cce0a434 Add a warning log when trying to encode into a container requiring global
headers in extradata and the codec is not set correctly.
Patch by Art Clarke aclarke xuggle com

Originally committed as revision 17177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 08:10:43 +00:00
Baptiste Coudurier
6f0b186699 set last packet next pointer to null
Originally committed as revision 17176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 05:32:40 +00:00
Baptiste Coudurier
cfa3caf81c check body partitions count before writing
Originally committed as revision 17175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 03:38:08 +00:00
Baptiste Coudurier
2dc9188465 return error if read failed
Originally committed as revision 17173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 02:17:16 +00:00
Patrik Kullman
6fcce4f995 Change ffm_write_write_index to return int, and return if error occured.
Patch by Patrik Kullman, patrik at yes dot nu

Originally committed as revision 17172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 02:15:07 +00:00
Thierry Foucu
68a7aafff6 compute b_per_i_or_p value correctly, patch by Thierry Foucu, tfoucu at gmail dot com
Originally committed as revision 17166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 00:08:44 +00:00
Baptiste Coudurier
a88f0f16ab rename wrongly named b_per_gop to b_per_i_or_p according to specs
Originally committed as revision 17165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 23:49:54 +00:00
Aurelien Jacobs
bf6c32fe50 use new metadata API in ogg/vorbis demuxer
Originally committed as revision 17164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 23:34:57 +00:00
Baptiste Coudurier
5b4f5e5dff fix frame size, time rate is not stts duration anymore with time offset
Originally committed as revision 17162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 21:11:19 +00:00
Baptiste Coudurier
fcdd622cfc do not set start time to 0, it is not the case with elst time offset
Originally committed as revision 17161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 20:19:35 +00:00
Toshimitsu Kimura
865780ae9b Gopher protocol, patch by Toshimitsu Kimura, lovesyao gmail com
Originally committed as revision 17159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 16:28:46 +00:00
Diego Biurrun
b57ac115ae Add av_uninit macro to variable to avoid false positive warning:
libavformat/electronicarts.c: In function ‘ea_read_packet’:
libavformat/electronicarts.c:447: warning: ‘num_samples’ may be used uninitialized in this function

Originally committed as revision 17157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 15:01:52 +00:00
Benoit Fouet
80e58c6153 Allow demuxing of audio substreams stored as 0x06 type.
Fixes issue 725: MPEG2 PS with PCM audio.
On behalf of Jai.

Originally committed as revision 17150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 11:09:36 +00:00
Baptiste Coudurier
7a10119057 parse mpeg2 gop header time code and use it
Originally committed as revision 17149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 08:02:23 +00:00
Baptiste Coudurier
7c9668cf8a write timecode track
Originally committed as revision 17148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 07:18:00 +00:00
Baptiste Coudurier
a5929abe7a adjust time rate according to elst time offset
Originally committed as revision 17146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 02:32:39 +00:00
Baptiste Coudurier
0cfa359660 fix last keyframe index accross body partitions
Originally committed as revision 17145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 01:06:12 +00:00
Baptiste Coudurier
1585b93a2c fix body offset
Originally committed as revision 17144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:56:27 +00:00
Stefano Sabatini
4c08b2bdcb Cosmetics: vertical align "*" for consistency with the other doxyies.
Originally committed as revision 17143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:25:30 +00:00
Stefano Sabatini
3dc6cb2e92 Remove @deprecated notice from AVFrac, it is not deprecated anymore.
Originally committed as revision 17142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:19:05 +00:00
Baptiste Coudurier
9c91a0b049 fix partition offset when only one stream present
Originally committed as revision 17140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 23:25:23 +00:00
Baptiste Coudurier
0e633e2b01 fix timecode value
Originally committed as revision 17139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 22:59:13 +00:00
Baptiste Coudurier
99b170f896 write body partitions
Originally committed as revision 17126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 09:02:29 +00:00
Baptiste Coudurier
7524f46e21 compute index byte count in mxf_write_partition
Originally committed as revision 17125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:46:04 +00:00
Baptiste Coudurier
c1425a14f1 remove check, mxf muxer does not have track number limitation anymore
Originally committed as revision 17124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:35:14 +00:00
Baptiste Coudurier
4a15f3ee99 retrieve flags from mxf_parse_mpeg2_frame using a param
Originally committed as revision 17123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:31:48 +00:00
Baptiste Coudurier
a784cc679f 10l, edit unit offset is after klv fill
Originally committed as revision 17122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 07:28:53 +00:00
Baptiste Coudurier
bf31d93ad2 cosmetics, associate mxf_write_klv_fill to aligned elements
Originally committed as revision 17121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 07:23:51 +00:00
Baptiste Coudurier
ee1f7f4bf9 write component depth and horizontal subsampling best effort local tags
Originally committed as revision 17120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 06:14:39 +00:00
Baptiste Coudurier
7be3405291 fix header byte count
Originally committed as revision 17119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 06:09:50 +00:00
Baptiste Coudurier
b25ee3fb38 move up mxf_write_klv_fill and align index, rip and primer pack
Originally committed as revision 17118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 05:35:28 +00:00
Baptiste Coudurier
bd5c94b546 fix primer pack local tags uls
Originally committed as revision 17117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 05:22:38 +00:00
Baptiste Coudurier
216b6631fb correctly set multi track operational pattern
Originally committed as revision 17116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 04:53:41 +00:00
Baptiste Coudurier
4c125b8f6e fix compilation with DEBUG defined, field does not exist anymore
Originally committed as revision 17115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 02:27:26 +00:00
Aurelien Jacobs
949cd9783b remove now useless av_set_program_name() function
Originally committed as revision 17113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 00:27:42 +00:00
Aurelien Jacobs
0868119106 use new metadata API in mpegts demuxer
Originally committed as revision 17112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 00:25:21 +00:00
Baptiste Coudurier
16e3b0b3e6 rename ff_audio_interleave to ff_audio_rechunk_interleave
Originally committed as revision 17103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 21:34:20 +00:00
Michael Niedermayer
f0b00aba89 Try to clarify doxy of avformat_seek_file().
Originally committed as revision 17102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 19:57:23 +00:00
Alex Converse
d84d6fbf28 Increase the number of packets required to identify as MPEG PES to keep from
identifying MP3 files with padding or garbage at the beginning.

Originally committed as revision 17091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 01:46:01 +00:00
Baptiste Coudurier
7a094c6a42 remove no more needed comment, declaration is in internal header
Originally committed as revision 17086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 00:18:25 +00:00
Diego Biurrun
fbd7ddf459 cosmetics: typo/grammar fixes in doxygen and other comments
Originally committed as revision 17085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:34:58 +00:00
Diego Biurrun
7be75dd7df cosmetics: comment grammar/spelling fixes
Originally committed as revision 17077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 22:06:55 +00:00
Francesco Cosoleto
ced06bd8fe Add the ability to set the timestamp to the current time by specifying 'now'
as the time

Patch by Francesco Cosoleto ( cosoleto gmail com )

Originally committed as revision 17076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 22:03:54 +00:00
Vitor Sessak
f9e5b9420e 10l: fix compiler warning:
ncdec.c:82: warning: ISO C90 forbids mixed declarations and code

Originally committed as revision 17075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:42:06 +00:00
Baptiste Coudurier
1cc65cecb2 Move declaration of ff_interleave_add_packet to internal.h.
It is an internal function and should not be in an installed header.

Originally committed as revision 17070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:14:46 +00:00
Baptiste Coudurier
18099ade6f Declare ff_interleave_new_audio_packet as static, it is not used
outside of audiointerleave.c.  Also remove the function declaration
  from the header as it is now static.

Originally committed as revision 17068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:09:50 +00:00
Baptiste Coudurier
94027d3bdd document ff_audio_interleave
Originally committed as revision 17066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:08:34 +00:00
Nicolas Martin
eaf5d0112b NC camera demuxer
Patch by Nicolas Martin - elvadrias at gmail

Originally committed as revision 17062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 18:50:32 +00:00
Michael Niedermayer
998b6f7ca2 Clarify that avformat_seek_file() is not part of the stable API yet.
Originally committed as revision 17061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:55:00 +00:00
Michael Niedermayer
d04768fa80 avformat_seek_file() prototype
Originally committed as revision 17060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:52:52 +00:00
Baptiste Coudurier
04e06cfa20 cosmetics: sample_to_chunk -> stsc
Originally committed as revision 17054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:59:31 +00:00
Baptiste Coudurier
a234e38d6e cosmetics: sample_to_ctime -> ctts
Originally committed as revision 17053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:57:28 +00:00
Baptiste Coudurier
1975c52c2a remove useless field
Originally committed as revision 17052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:55:23 +00:00
Baptiste Coudurier
9e8d61d4f1 rewrite pts also, as comment says
Originally committed as revision 17051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:48:59 +00:00
Baptiste Coudurier
59453725f2 remove useless return
Originally committed as revision 17050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:42:37 +00:00
Baptiste Coudurier
425c9962b2 fix doxygen
Originally committed as revision 17049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:39:19 +00:00
Stefano Sabatini
8e2fd8e1d4 Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context().

Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:27:26 +00:00
Stefano Sabatini
88a2896520 Deprecate av_malloc_format_context() in favor of
avformat_alloc_context(), and drop the old symbol at the next major
bump.

Originally committed as revision 17047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:16:40 +00:00
Baptiste Coudurier
5ac4d7689d reuse MXFCodecUL for data def and simplify
Originally committed as revision 17042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 05:12:30 +00:00
Baptiste Coudurier
251bf87560 remove implicit header inclusions from mxf.h
Originally committed as revision 17041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:42:38 +00:00
Baptiste Coudurier
84a2d3045b free index entries
Originally committed as revision 17040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:35:36 +00:00
Baptiste Coudurier
63601677fe use new audio interleaving generic code
Originally committed as revision 17039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:33:53 +00:00
Baptiste Coudurier
f1544e79f2 extract audio interleaving code from mxf muxer, will be used by gxf and dv
Originally committed as revision 17038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:31:44 +00:00
Baptiste Coudurier
baf2ffd329 offset dts according to edit list, hackish but works, based on patch by Reimar
Originally committed as revision 17037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:27:07 +00:00
Diego Biurrun
6bab479955 Remove const qualifier from function argument to eliminate the warning
swfenc.c:452: warning: passing argument 2 of #av_fifo_generic_write# discards qualifiers from pointer target type

Originally committed as revision 17036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 03:44:54 +00:00
Baptiste Coudurier
d526105f08 only use 2 slices for index, one video(vbr) and one audio(cbr)
Originally committed as revision 17035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 03:29:49 +00:00
Baptiste Coudurier
5ccc2316ab force first track to be video and simplify
Originally committed as revision 17034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 02:38:07 +00:00
Baptiste Coudurier
67d8ac4a02 write system item
Originally committed as revision 17033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 02:34:56 +00:00
Baptiste Coudurier
88b2027e9a declare ff_interleave_add_packet
Originally committed as revision 17032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 21:13:40 +00:00
Baptiste Coudurier
85d0d114d0 use 512 kag size needed for d10
Originally committed as revision 17029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 02:13:23 +00:00
Luca Abeni
18c7b354c5 Move RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore
Originally committed as revision 17023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 20:42:21 +00:00
Luca Abeni
d3536678dc Do not use RTP_MAX_PACKET_LENGTH in the RTP muxer
Originally committed as revision 17022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 20:41:15 +00:00
Jindřich Makovička
dcd913d9ed Fix minor memory leak.
Patch by Jindrich Makovicka, approved by mans.

Originally committed as revision 17021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 20:30:18 +00:00
Luca Abeni
17a5894a23 Merge rtp_aac.h and rtp_mpv.h in rtpenc.h
Originally committed as revision 17020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 15:30:41 +00:00
Luca Abeni
302879cb36 Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h
Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 10:35:52 +00:00
Ronald S. Bultje
1a45a9f4c0 Add "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argument
to the parse_packet() function pointer in RTPDynamicProtocolHandlers. This
allows these functions to peek back and retrieve values from the demuxer's
context (or RTSPState). The ASF/RTP payload parser will use this to be able
to parse SDP values (which occur even before the payload ID is given), store
them in the RTSPState and then retrieve them while parsing payload data. See
"[PATCH] RTSP-MS 13/15: add RTSP demuxer AVFormatContext to parse_packet()
function pointer (was: transport context)" mailinglist thread.

Originally committed as revision 17015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 01:37:19 +00:00
Ronald S. Bultje
0a861b6f8b Rename "tx_ctx" and "cur_tx" variables to "transport_priv" and
"cur_transport_priv", as discussed in the "[PATCH] rtsp.h: rename tx
variables" thread.

Originally committed as revision 17012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 22:34:55 +00:00
Baptiste Coudurier
f5b288902e format timestamp correctly according to specs and set it
Originally committed as revision 17011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 20:15:18 +00:00
Baptiste Coudurier
5ccad11da0 use timestamp as modification date
Originally committed as revision 17010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 19:30:01 +00:00
Alex Converse
d0f89acf60 Make the MP3 probe weakly claim all files with ID3v2 tags to fix regressions on
files with very large tags.

Originally committed as revision 17008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 18:41:06 +00:00
Baptiste Coudurier
eacc40e84a use timestamp as creation date
Originally committed as revision 17007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 18:32:42 +00:00
Ronald S. Bultje
b516ecdd12 Delete an enum and a function typedef that aren't used anywhere, and
move move a struct/typedef in rtsp.h that is only used in ffserver.c into
ffserver.c. See "[PATCH] rtsp.h: move/remove unused thingies" thread on ML.

Originally committed as revision 17005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 17:00:10 +00:00
Luca Abeni
21da81d784 Introduce a new num_frames field in RTPDemuxContext so that rtp_aac.c
does not need to abuse read_buf_index

Originally committed as revision 17004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 14:53:25 +00:00
Peter Ross
468d298d0c Electronic Arts demuxer: support TQI video tag
Originally committed as revision 17003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 08:59:38 +00:00
Baptiste Coudurier
1c7c6669f6 fix key frame offset with open gop
Originally committed as revision 16999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 07:47:39 +00:00
Ronald S. Bultje
1262d638da Move enum RTSPTransport up a bit, so that all fields that are assigned a value
of this type can be properly attributed as such (in this case, transport in
the RTSPTransportField struct). See "[PATCH] RTSP-MS 10/15: ASF header parsing"
thread on mailinglist.

Originally committed as revision 16989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 17:17:20 +00:00
Baptiste Coudurier
034fcddf3c always write mxf time base in descriptors
Originally committed as revision 16987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 09:35:59 +00:00
Ramiro Polla
2db5da97e2 Do not misuse unsigned long to store pointers.
Originally committed as revision 16986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 05:56:39 +00:00
Baptiste Coudurier
5a897cfa3c use sample rate as audio input time base
Originally committed as revision 16985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 04:50:47 +00:00
Aurelien Jacobs
488227c5d7 write all available metadata tags into extended_content_header
Originally committed as revision 16984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 01:40:52 +00:00
Aurelien Jacobs
300f24f317 use new metadata API in asf muxer
Originally committed as revision 16983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 01:37:16 +00:00
Baptiste Coudurier
4f0f9bddac let packet pass through when no timestamps
Originally committed as revision 16982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 23:18:12 +00:00
Baptiste Coudurier
832404cea7 exactly compute index byte count
Originally committed as revision 16981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 23:11:13 +00:00
Baptiste Coudurier
bf252f7f6f prevent reading more than container atom size, fix broken file broken_by_rev15830.MOV, fix #818
Originally committed as revision 16979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 23:03:41 +00:00
Aurelien Jacobs
20e2a7aed2 use new metadata API in asf demuxer
Originally committed as revision 16977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 22:12:06 +00:00
Reimar Döffinger
1a534c7f1e Add and use a public API for RC4 and DES, analogous to the AES API.
Originally committed as revision 16970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 14:20:55 +00:00
Michael Niedermayer
88297e80aa Reformat rdt_demuxer AVCodec struct sanely.
Originally committed as revision 16969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 13:12:20 +00:00
Michael Niedermayer
1558d0b910 Fix probe & demuxing of Topfield 58XXPVR and 68XXPVR (topfield.rec)
Originally committed as revision 16968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 11:01:57 +00:00
Aurelien Jacobs
c0f1445864 use new metadata API in aiff demuxer
Originally committed as revision 16966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:43:12 +00:00
Baptiste Coudurier
33abc1a73a be more flexible with frame rate check
Originally committed as revision 16965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:37:03 +00:00
Aurelien Jacobs
be62f5569e simplify
Originally committed as revision 16964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:25:02 +00:00
Aurelien Jacobs
da61e4136a use new metadata API in rtsp demuxer
Originally committed as revision 16961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:09:39 +00:00
Aurelien Jacobs
f3650b239e use new metadata API in rtp muxer
Originally committed as revision 16960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:08:25 +00:00
Eli Friedman
e80c73b3c1 Add support for fourcc "SP54".
Patch by Eli Friedman eli D friedman A gmail

Originally committed as revision 16958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:43:51 +00:00
Aurelien Jacobs
b3a9e50c10 cosmetics: indentation
Originally committed as revision 16957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:17:26 +00:00
Aurelien Jacobs
3b1c4a06f6 simplify usage of dstlen as it is not a parameter anymore
Originally committed as revision 16956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:17:14 +00:00
Aurelien Jacobs
ee56cab3f3 cosmetics: indentation
Originally committed as revision 16955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:14:28 +00:00
Aurelien Jacobs
b182eeb08b use new metadata API in the mp3 muxer
Originally committed as revision 16954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:13:03 +00:00
Aurelien Jacobs
9d98535ceb use new metadata API in the mp3 demuxer
Originally committed as revision 16953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:11:56 +00:00
Aurelien Jacobs
5ea7ce8843 modify the way to pass parameters to av_metadata_set()
This improves code readability and this avoid warnings about discarding
qualifiers from pointer target type.

Originally committed as revision 16952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 21:45:55 +00:00
Aurelien Jacobs
69b6d53beb cosmetics: whitespace
Originally committed as revision 16951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 21:32:11 +00:00
Baptiste Coudurier
6fb625c455 cosmetics: whitespaces, empty lines
Originally committed as revision 16948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:29:31 +00:00
Baptiste Coudurier
f35254d1aa mxf does not have timestamps
Originally committed as revision 16947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:26:49 +00:00
Reimar Döffinger
0b178e5629 Add av_ prefix to LZO stuff and thus make it officially part of the public API.
Keep lzo1x_decode until the next major version bump for binary compatibility.

Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:16:00 +00:00
Stefan de Konink
426a6f34a0 Splits the totalbitrate in a videodatarate and audiodatarate part.
Patch by Stefan de Konink stefan konink de

Originally committed as revision 16944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 16:10:46 +00:00
Stefan de Konink
9a354fe3f9 Implement the reading of the video bitrate of flv movies out of the meta data,
to have the total bitrate available in the avformat structures.
Patch by Stefan de Konink  stefan konink de

Originally committed as revision 16943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 16:05:50 +00:00