Commit Graph

266 Commits

Author SHA1 Message Date
Michael Niedermayer ff9c8d7c6f Add flag to mark demuxers that can output discontinuous timestamps.
(could also be added to muxers if someone wants)

Originally committed as revision 14777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 16:13:05 +00:00
Baptiste Coudurier 0d84a8f6ae increase MAX_REORDER_DELAY and pts_buffer size to 16, max for h264 atm
Originally committed as revision 14715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-12 17:28:00 +00:00
Stefano Sabatini c97429e22b Implement avformat_version().
Originally committed as revision 14667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:40:50 +00:00
Måns Rullgård 5c5b1731b7 Maintain pointer to end of AVFormatContext.packet_buffer list
This changes add_to_pktbuf() to maintain a pointer to the last entry
in the list, avoiding a linear walk-through on each call.  Before this
change, add_to_pktbuf() could take a significant amount of time (10%
of total decoding time), even with input files of several minutes.
After the change, the time spent in this function is barely measurable
with oprofile.

Originally committed as revision 14654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 22:17:38 +00:00
Michael Niedermayer c5e56a813b Revert r14497
Log:
	Add missing header #includes.
Policy violation (change not approved by maintainer)
and while discussions where ongoing and no consensus has been reached.

Originally committed as revision 14500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 22:29:29 +00:00
Diego Biurrun 2e11268ea9 Add missing header #includes.
Originally committed as revision 14497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 16:29:26 +00:00
Kostya Shishkov 327ce5e6e6 SMPTE 421M Annex L (aka .rcv) muxer
Originally committed as revision 14352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-23 17:06:40 +00:00
Michael Niedermayer 0bef08e516 New codec probing system try #1.
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 18:42:00 +00:00
Gregory Montoir 5b8cc860a1 Motion Pixels MVI Demuxer.
Patch by Gregory Montoir <cyx <at> users <dot> sourceforge <dot> net>

Originally committed as revision 14147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-10 03:02:19 +00:00
Erik Hovland 72e043dd0f One-bit bitfields should probably be unsigned. Unfortunately, it is left
up to the compiler on how one bit fields are treated. gcc treats one-bit
bitfields as signed and allows for the -funsigned-field parameter. Other
compilers (like Sun C) treat one-bit bitfields as unsigned no matter what.
Patch by Erik Hovland erik hovland org

Originally committed as revision 14131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 23:20:22 +00:00
Michael Niedermayer 45b2b05f8e Make timestamp debugging work nicer.
Originally committed as revision 13728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 13:38:56 +00:00
Baptiste Coudurier 3438d82d4b remove ugly ffm_nopts hack, use AVFormatContext->timestamp
Originally committed as revision 13718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 00:24:29 +00:00
Stefano Sabatini bde15e74de Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me

Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:20:54 +00:00
Michael Niedermayer abd2256dbe Pass time_base as argument to new_chapter() as well.
This fixes the wrong timebase the matroska demuxer had after my previous commits.
Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?

Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 18:15:13 +00:00
Michael Niedermayer f6e76ba476 Document pts/dts.
Originally committed as revision 13265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 17:56:45 +00:00
Michael Niedermayer 5c37f43a0d Make ff_new_chapter() return AVChapter instead of int so its consistant with
av_new_program() and its simpler to set other fields in AVChapter which arent
set by ff_new_chapter().

Originally committed as revision 13262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 13:14:11 +00:00
Michael Niedermayer fbabf1e944 nb_chapters should be unsigned
Originally committed as revision 13261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 13:08:44 +00:00
Michael Niedermayer 7c8202cc92 s/num_chapters/nb_chapters/ all other similar variables are called nb_*.
Originally committed as revision 13260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 13:07:58 +00:00
Michael Niedermayer 7a2a3e8e40 Add id to AVChapter, untested (where do i find matroska files with chapters?).
Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 13:02:27 +00:00
Michael Niedermayer 8931e7b48a clarify start/end timebase
Originally committed as revision 13254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:45:03 +00:00
Michael Niedermayer c2fb6be4a6 align comments
Originally committed as revision 13253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:44:12 +00:00
Michael Niedermayer d2974f1676 chapter id and timebase
Originally committed as revision 13252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:43:33 +00:00
Anton Khirnov 79d7836a5e add support for chapters definition in lavf
patch by Anton Khirnov  wyskas _at_ gmail _dot_ com

Originally committed as revision 13240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 22:00:21 +00:00
Michael Niedermayer 903a2e8628 Avoid using reserved __names.
Originally committed as revision 12946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 23:21:58 +00:00
Jai Menon 3a027f5e66 IFF demuxer
Patch by Jai Menon (realityman <at> gmx.net)

Originally committed as revision 12633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 19:17:01 +00:00
Diego Biurrun d952638699 typo: occured --> occurred
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 01:06:57 +00:00
Sascha Sommer cb96da4902 rl2 demuxer
Originally committed as revision 12545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 14:02:13 +00:00
Ramiro Polla 0f3444e17c MSN TCP Webcam stream demuxer.
Originally committed as revision 12492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 19:54:47 +00:00
Baptiste Coudurier aa9f4208b6 ipod/iphone compatible mp4 muxer
Originally committed as revision 12458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 13:36:36 +00:00
Ramiro Polla ffa71b2bbb Typo + grammar
Originally committed as revision 12385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 22:43:13 +00:00
Ramiro Polla ab8ab30c3d Introduce max_picture_buffer variable in AVFormatContext,
set by rtbufsize option.

Originally committed as revision 12383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 21:59:11 +00:00
Evgeniy Stepanov 90c2295b24 Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:25:09 +00:00
Måns Rullgård 800c289a66 less preprocessor magic in version number macros
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:37:59 +00:00
Måns Rullgård 76a448ed4f Install headers in $prefix/include/$libname
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 09:22:11 +00:00
Michael Niedermayer 635fbcb17f revert 12156
Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.

Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 20:24:38 +00:00
Michael Niedermayer ff2635b273 Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.

Originally committed as revision 12156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 03:20:06 +00:00
Måns Rullgård e97ac1e6f5 Clean up lib* version definitions
Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Kostya Shishkov eda178d273 SMPTE 421 Annex L format demuxer
Originally committed as revision 11661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-29 09:25:49 +00:00
Evgeniy Stepanov f8d7c9d373 Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself

Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 15:43:17 +00:00
Paul Egan dfb400a8ea new avm2 (flash 9) muxer, patch by Paul Egan, paulegan at mail dot com
Originally committed as revision 11574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 18:30:04 +00:00
Paul Kelly 3dea63bd7e user specifyable maximum amount of memory to use for the index.
patch by Paul Kelly  paul stjohnspoint co uk
with some changes by me

Originally committed as revision 11521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-13 13:33:37 +00:00
Michael Niedermayer 2576a9ecec Correct doxy about timestamp units of read_timestamp().
Originally committed as revision 11364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-31 16:49:18 +00:00
Michael Niedermayer de14759e97 Document return of read_timestamp.
Originally committed as revision 11363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-31 16:47:25 +00:00
Diego Biurrun 8bfb108b3e comment typo fixes
Originally committed as revision 11294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:50:18 +00:00
Ivo van Poorten 91fd7398f4 typo ;)
Originally committed as revision 11287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 00:22:40 +00:00
Michael Niedermayer ba66ae94a0 Document a few more structure change rules with relation to ABI/API.
Originally committed as revision 11283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:59:07 +00:00
Michael Niedermayer 252f17e292 Document structure change rules with relation to ABI/API.
Originally committed as revision 11281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:43:01 +00:00
Reimar Döffinger f47b9f4828 Increase minor version due to new av_close_input_stream
Originally committed as revision 11270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 14:09:54 +00:00
Reimar Döffinger 2506fd5467 Add a av_close_input_stream function
Originally committed as revision 11269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 14:07:13 +00:00
Michael Niedermayer 2e9b86ac12 Remove dead code which disappeared with the last major version bump.
Originally committed as revision 11268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 11:31:36 +00:00