Commit Graph

270 Commits

Author SHA1 Message Date
Michael Niedermayer
e0c91bc23b initial dts fix
Originally committed as revision 3555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:58:14 +00:00
Michael Niedermayer
7000a17542 SCR timestamp fix try #1
Originally committed as revision 3550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 02:42:01 +00:00
Michael Niedermayer
c40a3a42e1 move free() of AVStream priv data to av_write_trailer()
Originally committed as revision 3548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 16:30:15 +00:00
Michael Niedermayer
fe2d6fe235 move packet interleaving function into AVOutputFormat, so it can be overriden easily instead of doing reordering twice if the muxer needs some other interleaving then dts based
Originally committed as revision 3540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-29 23:25:01 +00:00
Michael Niedermayer
63dd1377b3 uninitalized variables
Originally committed as revision 3534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 21:09:25 +00:00
Michael Niedermayer
8b69867f2e Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)
Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 15:30:42 +00:00
Petr Doubek
6ba5cbc699 HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>)

Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-12 00:09:32 +00:00
Michael Niedermayer
53e2f9caf8 ffserver fixes by (Koos Vriezen <koos.vriezen at xs4all dot nl>)
Originally committed as revision 3340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 11:59:34 +00:00
Michael Niedermayer
03cfe134ca image2 / image API cleanup phase-1
with this its possible to encode&decode any video codec to individual (1 file per frame) files

Originally committed as revision 3319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 18:32:54 +00:00
Michael Niedermayer
0ff7199f59 fix first timestamp when decoding mpeg-ps
Originally committed as revision 3274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 17:34:15 +00:00
Michael Niedermayer
6f82497728 flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Michael Niedermayer
cf7eef66ce 1000l
Originally committed as revision 3241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-20 11:28:01 +00:00
Wolfram Gloger
a6a92a9aa6 user specified start time offset
frame dup/drop info
typos
patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)

Originally committed as revision 3217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 22:03:16 +00:00
Michael Niedermayer
3c895fc098 correctly interleave packets during encoding
dts/pts fixed for streamcopy
dont use coded_frame->key_frame hack in muxers, use AVPacket.flags instead

Originally committed as revision 3171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 18:50:31 +00:00
Michael Niedermayer
e928649b0b pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Michael Niedermayer
4fc2c6447f 100l (avi seeking)
Originally committed as revision 3155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-24 15:13:23 +00:00
Michael Niedermayer
77405fc866 cur_dts in native timebase
Originally committed as revision 3153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 21:36:23 +00:00
Michael Niedermayer
cdd5034f89 store index for seeking in the native timebase of each stream
set correct timebase for nut
merge mpeg-ts seeking with existing seeking code
10l fix in mpegts (27mhz vs. 90khz)

Originally committed as revision 3152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 16:26:12 +00:00
Michael Niedermayer
9ee91c2f53 move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 20:43:21 +00:00
Michael Niedermayer
293ed23f12 NULL pointers ...
Originally committed as revision 3080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 02:55:05 +00:00
Michael Niedermayer
8d14a25c3e moving nearly identical binary search code from nut/mpeg/asf to utils.c
Originally committed as revision 3003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 16:50:03 +00:00
Michael Niedermayer
c9247fc37a dont reduce the min_distance of AVIndexEntry
Originally committed as revision 2979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 21:33:53 +00:00
Michael Niedermayer
b0c7f5a9d8 move zero size hack from ogg.c to utils.c
Originally committed as revision 2959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 18:33:07 +00:00
Michael Niedermayer
6d8f985ecf fix obnoxious ogg_packet passing from encoder to muxer
Originally committed as revision 2955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 14:39:20 +00:00
Michael Niedermayer
8bfed902f3 remove spyware from ogg*.c
fix vorbis in ogg decoding

Originally committed as revision 2952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 01:10:50 +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
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
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
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
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
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
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
Fabrice Bellard
fb2758c83d initial av_read_frame() and av_seek_frame() support
Originally committed as revision 2494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:37:55 +00:00
Fabrice Bellard
da24c5e330 make AVFMT_NOHEADER flag dynamic - added av_open_input_stream()
Originally committed as revision 2447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:20:56 +00:00
Panagiotis Issaris
0bf92f7957 GCC 3.3.2 warnings patch by (Panagiotis Issaris <takis at lumumba dot luc dot ac dot be>)
Originally committed as revision 2440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-26 10:49:49 +00:00
Fabrice Bellard
f71869a4db simpler strptime - added os_support.[ch] - moved localtime_r to os_support.c
Originally committed as revision 2228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:20:55 +00:00
Fabrice Bellard
4358d5def3 removed ctype.h header
Originally committed as revision 2225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 20:04:44 +00:00
Michael Niedermayer
0a5f92a120 memory leak fix by (Tom Dexter <devel at www dot digitalaudiorock dot com>)
Originally committed as revision 2216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-07 09:26:39 +00:00
Roman Shaposhnik
904736b519 1000l in abbrv. table
Originally committed as revision 2179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 17:27:48 +00:00
Roman Shaposhnik
ba2a8cb40b * making resolution abbreviations right
* introducing sntsc/spal for square pixel ntsc/pal

Originally committed as revision 2177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 06:58:55 +00:00
Fabrice Bellard
22b37f5d32 suppressed frame number modulus hack - added loop_input hack which I find easier to understand
Originally committed as revision 2151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 21:20:44 +00:00
Fabrice Bellard
00b4fdb758 win32 compile fix
Originally committed as revision 2139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 13:59:05 +00:00
Roman Shaposhnik
c92454179d all human-readable output should go into stderr for now. We really
need a generic logging facility in ffmpeg, but this will suffice for now.

Originally committed as revision 2131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-21 21:04:19 +00:00
Fabrice Bellard
48091512c9 no default bit rate if decoding
Originally committed as revision 2117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 18:13:43 +00:00
Fabrice Bellard
12f996edfa initial duration/start_time generic support - displays stream duration and average total bitrate when using an input file
Originally committed as revision 2115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 18:02:23 +00:00
Fabrice Bellard
afdd82bbf0 fix fmt == NULL case
Originally committed as revision 2050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-16 07:50:17 +00:00
Fabrice Bellard
b689213642 fixed RTP/TCP client support
Originally committed as revision 2045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-15 16:57:35 +00:00
Roman Shaposhnik
445f1b83ad * First round of AV sync fixes.
* -r now does the right thing.
   * frame rate and frame sizes now share same abbv. table and you
     can do -r ntsc as well as -s ntsc

Originally committed as revision 2035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-12 07:37:05 +00:00
Michael Niedermayer
e71ea8b251 mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))
Originally committed as revision 2012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-04 23:08:16 +00:00
Michael Niedermayer
b530f84262 VOB stream patch ba (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 1836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 20:47:23 +00:00
Michael Niedermayer
a05c8d7177 merging a small amount of the changes from BroadQ, the rest is either not clean / doesnt apply / or is PS2 specific (someone with a PS2 should merge/send a patch for the later)
Originally committed as revision 1690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-18 17:22:23 +00:00
Michael Niedermayer
14bea432f1 per context frame_rate_base, this should finally fix frame_rate related av sync issues
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Michael Niedermayer
b559b29b1f read BITMAPINFOHEADER extra stuff (huffyuv decoding fixed)
fixed framerate encoding & decoding hopefully, this should fix av sync on long AVIs

Originally committed as revision 1646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 10:57:44 +00:00
Michael Niedermayer
2ec23b6d44 move repeat_pict field from AVCodecContext -> AVFrame (closes bug #683536)
Originally committed as revision 1608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-26 17:26:20 +00:00
Zdenek Kabelac
0c1a9edad4 * UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Zdenek Kabelac
5c91a6755b * static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:35:32 +00:00
Fabrice Bellard
6fa5a56c1b zero copy packet handling for DV1394 by Max Krasnyansky
Originally committed as revision 1542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-03 22:58:29 +00:00
Roman Shaposhnik
98486a6bc0 zero sized malloc patch by Roman Shaposhnick
Originally committed as revision 1501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 22:00:57 +00:00
Fabrice Bellard
7f172339fd grab device is in AVFormatParameter (at least better than global variable)
Originally committed as revision 1499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 10:33:16 +00:00
Fabrice Bellard
86fd51fbad video_device fixes
Originally committed as revision 1497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 09:55:19 +00:00
Slavik Gnatenko
f3ec2d46ba os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 20:34:38 +00:00
Fabrice Bellard
94d883e84b jpeg detection fix - fixed imagepipe output
Originally committed as revision 1443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 05:33:35 +00:00
Fabrice Bellard
87a0a6816f added still image support
Originally committed as revision 1439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 05:02:14 +00:00
Bill Eldridge
9b2e001fc5 mingw patch by (Bill Eldridge <bill at rfa dot org>)
Originally committed as revision 1347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 19:25:10 +00:00
Philip Gladstone
c9646fda01 * Extend the syntax of a filename for the img reader to allow looping. Thus
%125*d means substitute the frame number MOD 125 into the filename. This
  is a cheap method of having an infinite stream.

Originally committed as revision 1332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-11 03:20:05 +00:00
Michael Niedermayer
492cd3a920 AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 12:03:43 +00:00
Michael Niedermayer
1e491e29c2 cleanup
adding AVVideoFrame
 moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
 removing obsolete variables in AVCodecContext
 skiping of MBs in b frames
 correctly initalizing AVCodecContext
 picture buffer cleanup

Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 10:04:03 +00:00
Fabrice Bellard
abac617591 renamed libav to libavformat
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-25 19:07:40 +00:00