Commit Graph

211 Commits

Author SHA1 Message Date
Michael Niedermayer 4b96d28abc ignore duration of the first 2 frames in the max-time break check
fixes framerate detection for framerate_misdetected.wmv

Originally committed as revision 7384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-29 21:41:06 +00:00
Michael Niedermayer 6268538afa do not base frame rate guess on just one duration
Originally committed as revision 7383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-29 21:16:21 +00:00
Michael Niedermayer e07d8929eb indent
Originally committed as revision 7290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 14:08:19 +00:00
Michael Niedermayer fd97f6a2ea the next r_frame_rate try ...
discard first duration
	accumulate remaining durations
	add 15000/1001 and 12000/1001

Originally committed as revision 7289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 14:07:46 +00:00
Michael Niedermayer 06d1e5c2b6 gcc 2.95 fix
Originally committed as revision 7285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 12:24:30 +00:00
Michael Niedermayer 4d43cbcc74 rewrite r_frame_rate selectioon code again
Originally committed as revision 7283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 16:59:10 +00:00
Måns Rullgård f27a726809 use standard INT64_MAX instead of MAXINT64 (and MIN)
Originally committed as revision 7241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 00:47:37 +00:00
Måns Rullgård 8da9266cea use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:46:11 +00:00
Baptiste Coudurier 68a432cf14 cosmetics, remove braces, remove spaces just inside parens
Originally committed as revision 7236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 17:17:33 +00:00
Andy Parkins 8533284dae do not truncate pts/dts if value is AV_NOPTS_VALUE, patch by Andy Parkins, andrew parkins at 360visiontechnology com
Originally committed as revision 7234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 15:46:12 +00:00
Michael Niedermayer 89ddd2a9a5 split av_seek_frame_binary() so the code becomes idependant of AVInputFormat and AVIndex
Originally committed as revision 7035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 01:34:36 +00:00
Michael Niedermayer faf7cbf110 nut simple seeking first try
Originally committed as revision 6968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:37:21 +00:00
Baptiste Coudurier f932cdf209 kill AVImageFormat
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:22:23 +00:00
Steve L'Homme 949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Diego Biurrun 1345f4ed6c Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:28:36 +00:00
Steve L'Homme e344c1ea36 reindentation, patch by From: Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:09:14 +00:00
Baptiste Coudurier 55bdd34d1a remove gcc warning about void * used in arithmetic
Originally committed as revision 6845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 23:59:52 +00:00
Baptiste Coudurier 18de0b81d5 fflags can/will be used for muxing too
Originally committed as revision 6802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 10:53:08 +00:00
Dominik Mierzejewski ccd3228e54 Use proper PRI?64 macros for %ll? format to fix printf format warnings:
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’
utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’
asf.c:872: warning: format ‘%Lx’ expects type ‘long long unsigned int’, but argument 4 has type ‘int64_t’
mov.c:1754: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 5 has type ‘int64_t’

Approved by Michael.

Originally committed as revision 6692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 20:43:39 +00:00
Michael Niedermayer 03bb9ae58c 10l CODEC vs. FORMAT
Originally committed as revision 6687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 19:19:07 +00:00
Diego Biurrun c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Michael Niedermayer 5523d5f41e fix r_frame_rate detection in mpeg4 streams with non integer fps
Originally committed as revision 6544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 19:13:27 +00:00
Michael Niedermayer 730ba4067c fix r_frame_rate init code for groundhog.vob
Originally committed as revision 6345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:34:07 +00:00
Michael Niedermayer 6c17a956b4 drop broken telecine detection code
Originally committed as revision 6343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:03:17 +00:00
Michael Niedermayer 35eab0c043 reindent
Originally committed as revision 6342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 17:27:08 +00:00
Michael Niedermayer 5fb83c3844 dont ignore MAX_READ_SIZE
Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 17:25:28 +00:00
Roman Shaposhnik f5a478f65d * Moving FifoBuffer out of libavformat/avformat.h and
libavformat/utils.c into libavutil

Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 07:31:53 +00:00
Panagiotis Issaris 4ff8fcefd2 Migrate the "packetsize" OptionDef option to become an AVOption.
Originally committed as revision 6293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:24:17 +00:00
Panagiotis Issaris 09a455764b Migrate the "muxrate" OptionDef option to become an AVOption.
Originally committed as revision 6292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:23:01 +00:00
Panagiotis Issaris 66acccf05f Make OFFSET() reuse offsetof
Originally committed as revision 6251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 13:51:54 +00:00
Panagiotis Issaris 5894991f94 Remove a redundant memset from libavformat.
Originally committed as revision 6250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 12:04:07 +00:00
Panagiotis Issaris 8c3dd5dc9c Use and set sane AVOption defaults
Patch by Takis
Original thread:
Date: Sep 8, 2006 3:26 PM
Subject: [Ffmpeg-devel] [PATCH 2/2] Use and set sane AVOption defaults

Originally committed as revision 6227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 21:51:08 +00:00
Panagiotis Issaris 73a8ceaa17 make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:21:40 +00:00
Panagiotis Issaris 5e89b50b29 undefines a few temporary defines which were not undefined after their usage.
Patch by Panagiotis Issaris

Originally committed as revision 6205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 08:49:28 +00:00
Panagiotis Issaris ec1b10f4b9 enable setting the year and track number using AVOption
Patch by Takis
Original thread:
Date: Sep 6, 2006 5:43 PM
Subject: [Ffmpeg-devel] [PATCH] Enhance genre, year and track tag
support

Originally committed as revision 6196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 12:28:28 +00:00
Panagiotis Issaris 57c244f6c7 makes avformat_get_context_defaults() static
when the next compatibility breaking change occurs, as suggested by
Michael Niedermayer here:
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/36377
Patch by Takis
Original thread:
Date: Sep 8, 2006 11:19 AM
Subject: [Ffmpeg-devel] [PATCH] Make avformat_get_context_defaults static

Originally committed as revision 6195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 12:12:38 +00:00
Michael Niedermayer 2c00106c2b ignore index parameter to ignore the ODML index in avi
Originally committed as revision 6177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 19:23:32 +00:00
Michel Bardiaux 5c07cf535f Clarified API for numbered sequences, patch by Michel Bardiaux % mbardiaux A mediaxim P be %
Original thread:
Date: Aug 30, 2006 4:54 PM
Subject: [Ffmpeg-devel] [PATCH] Clarified API for numbered sequences

Originally committed as revision 6166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 09:57:47 +00:00
Michael Niedermayer 504ee036ee fix b pyramid in mp4 muxing if no dts are provided to the muxer
Originally committed as revision 6133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-30 21:18:17 +00:00
Nico Sabbi 9e6c94707e added option probesize; at the moment only used by mpegts.c
Originally committed as revision 6109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:21:19 +00:00
Nico Sabbi 4eb72c6b23 initial support for AVOption in AVFormatContext
Originally committed as revision 6108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:14:13 +00:00
Baptiste Coudurier 81f0f93826 update documentation
Originally committed as revision 5985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 21:24:54 +00:00
Baptiste Coudurier f21c0b4c43 export av_interleave_packet_per_dts
Originally committed as revision 5984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 21:21:51 +00:00
Michael Niedermayer 494bbf5805 dont be too picky about timestampsbeing wrong if the destination container is without timestamps and raw of the raw video / raw audio sort
Originally committed as revision 5961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 20:31:19 +00:00
Michael Niedermayer 434cab9e0f timestamp debugging av_logs()
Originally committed as revision 5960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 19:55:32 +00:00
Reimar Döffinger 22ffac707e Try to find out correct start time to make seeking faster and add some
extra checks to make sure the seeking function will not hang forever.

Originally committed as revision 5814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 18:19:33 +00:00
Måns Rullgård ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Måns Rullgård d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Aurelien Jacobs f1b163e01e set proper bits_per_sample value for ADPCM codecs
Originally committed as revision 5666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 07:14:00 +00:00