Commit Graph

348 Commits

Author SHA1 Message Date
Michael Niedermayer ddce56efc5 Make packet interleaving in the muxer not scan through the whole
buffer when simply appending at the end works.
Much faster if one stream ends prematurely.
Fixes issue1379.

Originally committed as revision 19870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-16 00:59:15 +00:00
shinya.tesutosan@hotmail.com e5f58f81f7 Document padding for AVProbeData.
Patch by roundup user shinya, tesutosan hotmail

Originally committed as revision 19802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-09 22:55:10 +00:00
Bartlomiej Wolowiec ab1eff9c5c Add support for S/PDIF encapsulation.
Originally committed as revision 19674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-21 08:34:19 +00:00
Aurelien Jacobs 2bf74f4955 actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc
Originally committed as revision 19623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 20:48:05 +00:00
Kostya Shishkov 9fd6b84360 RTMP protocol support (as a client)
Originally committed as revision 19556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-31 06:49:36 +00:00
Michael Niedermayer dec14949a6 Make arguments of av_set_pts_info() unsigned.
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1

Originally committed as revision 19319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 18:50:31 +00:00
Stefano Sabatini 2b75bde648 Remove inconsistent use of a @brief command in av_write_trailer()
doxy.

Originally committed as revision 19289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-28 21:05:46 +00:00
Stefano Sabatini d1b9adf252 Use consistently the third person in doxy, as recommended by the
javadoc specs.

Originally committed as revision 19288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-28 21:01:51 +00:00
Baptiste Coudurier 57011a13d6 use AVFormatContext->probesize in av_find_stream_info and raise default to 5M
Originally committed as revision 19274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 19:10:27 +00:00
Baptiste Coudurier af122d6a80 limit raw packet buffer size used for codec probing
Originally committed as revision 19272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 18:48:57 +00:00
Ronald S. Bultje 92400be255 Change packet_size from signed to unsigned, since it never has a negative
value. Currently, this is only used in qcp.c and mpegenc.c, and they are
practically unaffected by this change.

See "[PATCH] make packet_size in AVFormatContext unsigned" thread on ML.

Originally committed as revision 19250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-22 16:52:02 +00:00
Baptiste Coudurier 86cb7e33cc fix codec probing, stop after MAX_PROBE_PACKETS and return all packets
Originally committed as revision 19000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 00:24:06 +00:00
Stefano Sabatini a330317890 Document match_ext().
Originally committed as revision 18971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 22:43:52 +00:00
Stefano Sabatini 819174fa1b Remove \p and \e doxygen markup.
Originally committed as revision 18947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 22:05:43 +00:00
Kenan Gillet cdce0fb845 Add QCP demuxer.
Originally committed as revision 18883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 17:19:39 +00:00
Michael Niedermayer 7e030c4739 Clarify which exact variant of ISO 639 is used. (The ISO spec explicitly
requires this to be clear)

Originally committed as revision 18530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-15 20:18:02 +00:00
Reimar Döffinger 6883ebe4b9 Describe read_alloc return value and required pkt handling to avoid memleaks
Originally committed as revision 18358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 21:10:10 +00:00
Thilo Borgmann cdd8930e6a Move av_packet_*() functions from libavformat/ to libavcodec/, where the
AVPacket structure now resides also.

Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist
thread "Google Summer of Code participation" for additional discussion.

Originally committed as revision 18353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 18:31:14 +00:00
Thilo Borgmann fabd2469f1 Move AVPacket declaration from avformat.h to avcodec.h.
Patch by Thilo Borgmann thilo dot borgmann at googlemail _dot_ com.

Originally committed as revision 18317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 19:53:53 +00:00
Ramiro Polla 23d9cc4563 Support raw TrueHD files
Originally committed as revision 18049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:46:56 +00:00
Ivan Schreter 61c23c155c Pass packet position to the parser, so frame's AVPacket.pos is computed correctly.
Originally committed as revision 17824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:36:16 +00:00
Aurelien Jacobs 827f7e285b deprecate old metadata API
Originally committed as revision 17690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 16:35:25 +00:00
Aurelien Jacobs ec26457064 new metadata API is now officially part of public API
Originally committed as revision 17682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 14:50:03 +00:00
Aurelien Jacobs 719e721a14 Add some basic metadata conversion tables for matroska and asf.
Add missing const qualifiers for metadata_conv in AV{In|Out}putFormat.

Originally committed as revision 17671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 00:12:08 +00:00
Aurelien Jacobs f610a9f284 add a metadata conversion API
Originally committed as revision 17670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 23:34:16 +00:00
Stefano Sabatini 3f4c2bf99b Mark as "internal but installed" the avio.h file.
This should prevent its direct inclusion in an external project, which
results broken if avformat.h is not included before.

Originally committed as revision 17626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:34:18 +00:00
Diego Biurrun 22e77e44dd spelling/wording/grammar cosmetics
Originally committed as revision 17589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 19:10:39 +00:00
Michael Niedermayer 882fb0a3ad untypo
Originally committed as revision 17586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 10:45:08 +00:00
Michael Niedermayer 1de2db8fab AVInputFormat.reed_seek2()
Originally committed as revision 17579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 03:18:11 +00:00
Ivan Schreter 27ca0a79c9 Add timestamp computation if values are exported by decoder.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 22:19:09 +00:00
Michael Niedermayer 2591821213 Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.
Originally committed as revision 17554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:04:18 +00:00
Ivan Schreter b1fa494205 Add convergence_duration to AVCodecParserContext.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:35:59 +00:00
Ivan Schreter 6363af44da Add key_frame to AVCodecParserContext, used in libavformat.
Initialized to -1 in parser.c for backward compatibility.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 23:46:05 +00:00
avcoder 1447aac4be av_alloc_format_context has been renamed, update AVFormatContext av_class
documentation accordingly.
Patch by avcoder: `gmail_address(ffmpeg)`

Originally committed as revision 17430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 14:01:46 +00:00
Stefano Sabatini c1b0210115 Improve grammar: "X next after Y" -> "next X after Y".
Originally committed as revision 17347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:45:10 +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
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
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
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
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
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
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
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
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
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 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
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