Commit Graph

357 Commits

Author SHA1 Message Date
Michael Niedermayer
8a05bca46c CONFIG_ENCODERS fix by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
Originally committed as revision 2711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-17 22:02:07 +00:00
Michael Niedermayer
0888ac4f27 seeking stuff
adaptively change middle position selection algo for seeking, this avoids some ugly worstcases of the interpolated variant
  avoid backward search for mpeg where possible, its 17 times slower then forward according to my benchmark

Originally committed as revision 2710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-17 20:26:44 +00:00
Michael Niedermayer
3e9245a98e store searched distance in index, so we dont waste time searching for keyframes where we already searched
asf seek fixes & use keyframe pos/timestamp cache

Originally committed as revision 2709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-17 18:06:52 +00:00
Michael Niedermayer
29962fea47 header parser fix
Originally committed as revision 2707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 21:50:05 +00:00
Michael Niedermayer
1305a9d55e replic_size==0 fix, needed so that G.726 asf file, so ffmpeg can at least decode the video without segfaulting
Originally committed as revision 2706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 21:27:59 +00:00
Michael Niedermayer
09646bab63 use packet number instead of byte number internally for seeking
Originally committed as revision 2704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 18:40:29 +00:00
Michael Niedermayer
a602556e06 unused
Originally committed as revision 2703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 18:32:49 +00:00
Michael Niedermayer
82b9e4a286 seeking fixes
memleaks
  infinite loops
  uninitalized variables
with some luck u can seek now a few times before it dies

Originally committed as revision 2702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 18:18:47 +00:00
Michael Niedermayer
580fb5e72c memleak fix
multiple stream seeking (yes i know seeking is still broken)
related cleanup

Originally committed as revision 2701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 14:45:53 +00:00
Kevin Kuphal
38376f00fd seeking in single stream asf patch by ("Kevin Kuphal" <kevin dot kuphal at sitecity dot net>)
Originally committed as revision 2700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-14 13:32:49 +00:00
Michael Niedermayer
b754978a3b caching of timestamps for mpeg-ps so seeking is faster
move (av_)find_stream_index() to utils.c as its usefull outside mpeg.c
assert checking enabled, to find bugs quicker, should obviously be disabled later
(av_)add_index_entry() inserts new entries so that the list stays ordered and updates entries if already in it
(av_)index_search_timestamp() cleanup (kill ugly goto) and shorter

Originally committed as revision 2697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-13 22:02:49 +00:00
Roberto Togni
a273bbfb03 MSZH and ZLIB decoder support
Experimental ZLIB encoder (not working yet)

Originally committed as revision 2693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-12 22:14:45 +00:00
Michael Niedermayer
0a61ba5869 audio pts fix
Originally committed as revision 2689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 23:55:57 +00:00
Michael Niedermayer
e6c0297f1c fixing some seek failure issues
Originally committed as revision 2688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 22:36:35 +00:00
Gildas Bazin
ec7d0d2e9e memleak patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 19:01:16 +00:00
Kevin Kuphal
d13431cd56 ASF extended header parsing patch by ("Kevin Kuphal" <kevin dot kuphal at sitecity dot net>)
Originally committed as revision 2672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-06 15:31:36 +00:00
Michael Niedermayer
3144b152a6 10l
Originally committed as revision 2666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 19:53:44 +00:00
Michael Niedermayer
76e9d39297 forgot ...
Originally committed as revision 2658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-03 13:29:46 +00:00
Mike Melanson
a7eb3c8dd1 initial commit for Sierra VMD file demuxer
Originally committed as revision 2653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-02 04:47:02 +00:00
Fabrice Bellard
e45f19437e harcoded DTS computation for mpeg
Originally committed as revision 2624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-18 13:03:37 +00:00
Fabrice Bellard
044007c220 primitive LPCM generator
Originally committed as revision 2622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 14:00:18 +00:00
Fabrice Bellard
0dbb48d91e better and simpler logic for MPEG muxing - fixed rare MPEG muxing PTS generation bug (stuffing is added in such rare cases) - fixed AC3 payload size generation - generate correct AC3 frame header (need spec checking)
Originally committed as revision 2621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 11:25:30 +00:00
Fabrice Bellard
6ec87caa70 fixed incorrect PTS/DTS logic in MPEG video case (caused rare PTS glitches if start codes were between two PES packets)
Originally committed as revision 2620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 11:21:25 +00:00
Fabrice Bellard
3735396022 make av_read_frame() return buffered frames at EOF
Originally committed as revision 2616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:45:37 +00:00
Wolfgang Hesseler
fad05f523c cygwin fix and dont average interlaced MVs patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 17:47:23 +00:00
Michel Bardiaux
27a206e031 suppress PTS in packets when not needed (slightly smaller files), fixed PTS generation in some cases, added provision for DTS generation, slightly better SCR generation (initial patch by Michel Bardiaux)
Originally committed as revision 2585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 18:06:18 +00:00
Fabrice Bellard
8a56ac7b89 copy packet without omitting the padding
Originally committed as revision 2584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 15:34:44 +00:00
Michael Niedermayer
a0b8f70c29 better get_packet_size and probe
Originally committed as revision 2578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 00:17:43 +00:00
Alex Beregszaszi
f0a93eb0b2 msb pts support
Originally committed as revision 2576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 17:54:40 +00:00
Alex Beregszaszi
4250dafc96 using LIBAVFORMAT_IDENT
Originally committed as revision 2575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 17:50:38 +00:00
Michael Niedermayer
a8380f44cf removing unused var & converting 64->32bit
Originally committed as revision 2567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 23:12:03 +00:00
Glyn Kennington
647b776270 SWF sanity check patch by (Glyn Kennington <glyn dot kennington at ox dot compsoc dot net>)
Originally committed as revision 2565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 00:41:58 +00:00
Mike Melanson
b7cbfc2307 DUCK codec
Originally committed as revision 2556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 04:58:48 +00:00
Mike Melanson
e692c8634c off by 1 in the palette
Originally committed as revision 2548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-01 13:59:08 +00:00
Laurent Aimar
cc15c93127 H264 fourcc patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 2540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 00:21:33 +00:00
Roberto Togni
e1c2a5a0a8 - Add reget_buffer() function to AVCodecContext
- Add default reget_buffer implementation in libavcodec/utils.c
- Remove AVCodecContext.cr_available, no longer needed
- Remove CODEC_CAP_CR, no longer used
- Add img_copy() prototype to avcodec.h (function from imgconvert.c)
- Rename img_copy() to jpeg_img_copy() in libavformat/jpeg.c to avoid
conflict
- Updated msrle, msvideo1, rpza, smc to use reget_buffer

Originally committed as revision 2531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-26 20:57:15 +00:00
Michael Niedermayer
28ba74a686 Patch for PPM probing by (Rob Joyce <rjoyce at twcny dot rr dot com>)
Originally committed as revision 2528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-24 17:59:56 +00:00
Fabrice Bellard
bcbecff13f fixed memory leak
Originally committed as revision 2525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-20 11:22:25 +00:00
Philip Gladstone
91628427ec Add more resilience in reading ffm files. In particular, don't assume
that the write pointer is correct. This can happen in certain failure
modes.

Originally committed as revision 2524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-19 02:34:40 +00:00
Mike Melanson
11498da334 set frame rate information, for good measure
Originally committed as revision 2521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-16 14:26:50 +00:00
Mike Melanson
d66dae57e8 use the proper file framerate (specified by a float); account the pts
for video and audio tracks separately

Originally committed as revision 2520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-15 18:18:42 +00:00
Mike Melanson
42cad81aea yep, FLI support
Originally committed as revision 2519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-14 05:42:14 +00:00
Zdenek Kabelac
67070e4f29 * *FILE needs <stdio.h>
Originally committed as revision 2515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-13 22:15:11 +00:00
Måns Rullgård
278de4755d support more codecs in MPEG-TS patch by (mru at kth dot se (Måns Rullgård))
Originally committed as revision 2511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 21:56:57 +00:00
Fabrice Bellard
afda223c6b frame rate should be completely disabled in asf (closer now) - disabled seek
Originally committed as revision 2503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:49:58 +00:00
Fabrice Bellard
155e9ee909 initial seek support
Originally committed as revision 2502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:48:33 +00:00
Fabrice Bellard
27f388aa24 seek support
Originally committed as revision 2501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:47:52 +00:00
Fabrice Bellard
f9b5459e79 seeking support - fixed some ADPCM decoding cases
Originally committed as revision 2500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:44:27 +00:00
Fabrice Bellard
8e38ff0c07 fixed double free
Originally committed as revision 2499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:43:12 +00:00
Fabrice Bellard
ba0ce88a2d added parsing
Originally committed as revision 2498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:42:51 +00:00