Commit Graph

395 Commits

Author SHA1 Message Date
Michael Niedermayer c43e7a6611 untested win32 binary pipe fix
Originally committed as revision 2922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 18:29:30 +00:00
Roman Shaposhnik 490c735d1b * turns out raw DV files can have .dif extension
Originally committed as revision 2921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 06:32:57 +00:00
Roman Shaposhnik 8066e59fa4 * enabling seek in raw DV files
* generic DV demuxer now sets correct pts for every packet

Originally committed as revision 2919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-23 05:35:10 +00:00
Leon van Stuivenberg 2a42b5c37f support url_read which reads less then requested patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)
this is needed for compatibility with tcp.c 1.10

Originally committed as revision 2911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-20 19:57:28 +00:00
Michael Niedermayer 79292510a8 adjust_write_index() fix by ("Curi Fabio Eduardo (SFL)" <curif at TELEFONICA dot COM dot AR>)
Originally committed as revision 2903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 20:52:40 +00:00
Leon van Stuivenberg e15dec10d5 decode latency patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)
Originally committed as revision 2896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 03:29:32 +00:00
Leon van Stuivenberg b51469a0c5 tcp select() check and enables pressing 'q' when reading/(writing) from
tcp/http in ffmpeg.c patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)

Originally committed as revision 2891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 19:40:43 +00:00
Mike Melanson 23fe14bb20 minor VMD system update; still not perfect, but should not crash either
Originally committed as revision 2887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:08:11 +00:00
Mike Melanson 3a278992bd remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG

Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:04:08 +00:00
Michael Niedermayer 9eef2b77b2 no read loop tcp/http and http CRLF fix by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)
Originally committed as revision 2885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 02:59:33 +00:00
Ronald S. Bultje c3775e542f fix global name conflicts patch by ("Ronald S. Bultje" <R dot S dot Bultje at students dot uu dot nl>)
Originally committed as revision 2884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 23:04:37 +00:00
Brian Becker 247d56f568 Parse stss info in MOV files to get key frames patch by ("Brian Becker" <Brian dot Becker at palmone dot com>)
Originally committed as revision 2879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 21:02:26 +00:00
Mike Melanson 6a91ec51fd added SGI image format, encoding and decoding, courtesy of Todd Kirby
<doubleshot@pacbell.net>

Originally committed as revision 2876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 17:30:37 +00:00
Michael Niedermayer 6e046750d8 big endian compile fix by ("Ronald S. Bultje" <R dot S dot Bultje at students dot uu dot nl>)
Originally committed as revision 2873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-12 02:26:01 +00:00
Michael Niedermayer 08abe0fd66 matroska demuxer by ("Ronald S. Bultje" <R dot S dot Bultje at students dot uu dot nl>)
Originally committed as revision 2872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-11 16:26:42 +00:00
Brian Becker 361b1b8676 Correcting the header size for ADPCM_IMA_WAV files patch by (Brian Becker <brian dot becker at palmone dot com>)
Originally committed as revision 2867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 03:54:56 +00:00
Michael Niedermayer bb01a3f021 guess framerate
Originally committed as revision 2866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 03:45:14 +00:00
Michael Niedermayer 4bfc029f83 10l (1 vs. descrLength(1)) found by (Jean Le Feuvre - jeanlf)
Originally committed as revision 2864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 21:54:25 +00:00
Michael Niedermayer 92a267756f flv fixes
Originally committed as revision 2863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 20:14:34 +00:00
Michael Niedermayer 6ed08157ca channel count & samplerate fix
Originally committed as revision 2858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:38:43 +00:00
Konstantin Andreyev e4053d526b forgot to commit from patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
Originally committed as revision 2853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-06 11:07:37 +00:00
Konstantin Andreyev 615b92fd8e asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
1. Corrected packet sent time. (Packet sent time => previous packet sent
     time)
  2. Corrected payload playing time. (Payload playing time => packet sent
     time)
  3. Used different format for packets with one payload and multi payloads.

Originally committed as revision 2851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 22:10:50 +00:00
Konstantin Andreyev 542993b06e split asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
Originally committed as revision 2850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 21:34:30 +00:00
Michael Niedermayer 4346539522 av_log() cleanup
null pointer segfaults
 dont print redundant spam
 dont print prefix if reference==NULL
 class -> av_class
 dont copy AVClass to every object, its a waste of memory and not a good idea at all

Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 17:53:55 +00:00
Michel Bardiaux bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Michael Niedermayer 9740beffc6 use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 17:35:52 +00:00
Michael Niedermayer d705e4a6bb (f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get
Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 00:31:19 +00:00
Gildas Bazin 2092bd7531 avsync patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-20 14:39:15 +00:00
Hauke Duden 2451592652 improved VCD support patch by ("Hauke Duden" <H.NS.Duden at gmx dot net>)
- the first audio and video packs now contain only a system header and lots
  of padding.
  - no system headers in any packs other than the first ones
  - the two system headers only contain information about "their" stream
  - fixed some header values (muxrate, some flags, ...) so that they have the
  values specified by the standard
  - padding packs are inserted if the mux rate would be below 75 packs per
  second (the rate must not be below or above that value).
  - fixed the SCR of the packs
  - 20 zero bytes are now inserted at the end of each audio pack, after the
  data packet

Originally committed as revision 2804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 22:34:13 +00:00
Gildas Bazin 69dde1ad36 AAC support in mov, correct aspect ratio support and user data support patch by (Gildas Bazin <gbazin at altern dot org>)
and regression test checksum update for it by me

Originally committed as revision 2787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 19:08:09 +00:00
Gildas Bazin ac9fe33d0e avio patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 16:25:32 +00:00
Roman Shaposhnik ec26a167ee * turns out write_packet is supposed to return 0 on success, not
how many bytes were written.

Originally committed as revision 2770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-11 02:28:34 +00:00
Roman Shaposhnik e5966052ee * Initial implementation of the G.726 ADPCM audio codec.
Originally committed as revision 2759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 08:20:00 +00:00
Michael Niedermayer 2d9aa1e3a2 100l
Originally committed as revision 2758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 04:21:05 +00:00
Michael Niedermayer d3e18ad027 no limits!, warning is enough
Originally committed as revision 2757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 00:03:11 +00:00
Tinic Uro 747a0554ea - made --extra-cflags option work on darwin
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above
required) and made it default
- fixed broken mp3 support in swf file format
patch by (Tinic Uro <turo at macromedia dot com>)
cleanup by me

Originally committed as revision 2756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 23:56:37 +00:00
Mike Melanson 070ed1bc43 initial commit for Quicktime Animation (RLE) video decoder; bit depths
32, 24, and 16 are working; 8bpp is partially working; 4, 2, and 1 bpp
are not supported yet

Originally committed as revision 2748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-05 05:22:44 +00:00
Michael Niedermayer 4aa533be03 Patch for MPEG-2 VOB headers by (Jimmy Blair <blueskyjb at verizon dot net>)
Originally committed as revision 2740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-01 13:06:46 +00:00
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