Michael Niedermayer
b9866ebcc7
support discarding uninterresting packets
...
Originally committed as revision 3860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 13:36:02 +00:00
Michael Niedermayer
2de7795ad2
common.h -> common.h/bitstream.h
...
Originally committed as revision 3778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 18:31:28 +00:00
Chriss
20b02bc628
This patch takes into account that fifo_realloc may adjust fifo.wptr
...
patch by ("Chris" chris at garveycocker dot com)
Originally committed as revision 3727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 02:46:00 +00:00
Michael Niedermayer
0d71240921
fifo_realloc()
...
Originally committed as revision 3726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-01 02:28:28 +00:00
Chriss
7e0fda0a4e
DVDNav4 patch by ("Chris" <chris at garveycocker d0t com>)
...
Originally committed as revision 3706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 22:25:12 +00:00
Michael Niedermayer
cbb6e405c0
parts of the dvd patch from ("Chris" <chris <at< garveycocker >dot< com> and Paul Curtis <pfc >at> terrapin <dot< com>)
...
Originally committed as revision 3700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 03:37:33 +00:00
Michael Niedermayer
17c88cb0ce
user setable preload and max_mux_delay
...
Originally committed as revision 3602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 21:27:42 +00:00
Michael Niedermayer
6c55b27f8f
do not randomize unknown timestamps
...
Originally committed as revision 3568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 01:55:34 +00:00
Michael Niedermayer
2db3c638a7
user selectable packet_size and mux_rate
...
Originally committed as revision 3566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 22:29:30 +00:00
Paul Curtis
78a0efb4fc
AVOutputFormat mpeg2dvd_mux and int is_dvd from the dvd patch by (Paul Curtis <pfc at terrapin dot com>)
...
Originally committed as revision 3557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 18:21:45 +00:00
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
2031ba1bf2
remove wrong 33bit truncation of internal timestamps
...
Originally committed as revision 3554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:17:46 +00:00
Michael Niedermayer
bc3429e382
pts/dts 100l fix
...
Originally committed as revision 3553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 11:16:40 +00:00
Michael Niedermayer
7e05155850
cleanup video buffer size
...
Originally committed as revision 3552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 03:14:09 +00:00
Michael Niedermayer
9205093333
cleanup
...
Originally committed as revision 3551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 02:57:42 +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
d8b5abfa70
simplify put_padding_packet()
...
Originally committed as revision 3549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 20:05:04 +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
95f97de146
64bit and reading over the end of the array fixes
...
Originally committed as revision 3547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 16:00:00 +00:00
Michael Niedermayer
71c32f19b3
do not call (av_)abort()
...
Originally committed as revision 3544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 13:16:16 +00:00
Michael Niedermayer
23c9925329
libdts support by (Benjamin Zores <ben at geexbox dot org>)
...
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 01:32:14 +00:00
Mike Melanson
9be653d0e9
cvs diff before cvs commit
...
Originally committed as revision 3240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 14:51:46 +00:00
Mike Melanson
0bd586c50d
sweeping change from -EIO -> AVERROR_IO
...
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 03:59:34 +00:00
Michael Niedermayer
573ab01eb7
ac3 bugfix, bug found by "Ben Cooley" <bcooley at dstreamtech dot com>
...
Originally committed as revision 3209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-09 00:38:52 +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
Sidik Isani
9e9080b6f0
dont add padding in the middle of the data patch by (Sidik Isani <isani at cfht dot hawaii dot edu>)
...
Originally committed as revision 3158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-25 23:06:00 +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
Hauke Duden
224944895e
mpeg SVCD compatibility, SCR fixes, standard compliance
...
- fixed VBR+constrained bitstream header flags for non-VCD
- more sane (and SVCD compatible) value for video stream->max_buffer_size
- always write at least one PES header stuffing byte for MPEG-2 to
prevent accidental start code generation
- do not write more than 16 stuffing bytes in a PES header (not
allowed). Use padding packets instead.
- include a PES extension in the first MPEG-2 packet
- fill the first pack of SVCD files with padding
- "sanity hack" that prevents the SCR from overtaking the PTS for non-VCD
- fixed VCD PTS values to correspond to the SCR
- always include DTS in the first SVCD packet (fixes lots of
compatibility problems with DVD players)
patch by (Hauke Duden <H.NS.Duden at gmx dot net>)
Originally committed as revision 3078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 22:16:06 +00:00
Dmitry Borisov
df70de1f61
Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)
...
Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 21:02:01 +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
Falk Hüffner
7906085fcc
warning patrol
...
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +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
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
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
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
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
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
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
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
Michael Niedermayer
b623bbcba2
1/0 fix by (Tim Allen <tim at proximity dot com dot au>)
...
Originally committed as revision 2444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-28 10:55:15 +00:00
Mike Melanson
764ef40015
disable encoders where appropriate (patch courtesy of BERO
...
<bero -at- geocities.co.jp>)
Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 04:15:53 +00:00
Alex Beregszaszi
117a5490bd
init_put_bits changed
...
Originally committed as revision 2369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 10:59:57 +00:00
Fabrice Bellard
fa0f62c37d
removed invalid sequence end code
...
Originally committed as revision 2256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 22:44:30 +00:00
Fabrice Bellard
490579042a
64 bit pts for writing - more const usage
...
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 22:37:33 +00:00