Michael Niedermayer
b9866ebcc7
support discarding uninterresting packets
...
Originally committed as revision 3860 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
2de7795ad2
common.h -> common.h/bitstream.h
...
Originally committed as revision 3778 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
Michael Niedermayer
0d71240921
fifo_realloc()
...
Originally committed as revision 3726 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Chriss
7e0fda0a4e
DVDNav4 patch by ("Chris" <chris at garveycocker d0t com>)
...
Originally committed as revision 3706 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
Michael Niedermayer
17c88cb0ce
user setable preload and max_mux_delay
...
Originally committed as revision 3602 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
6c55b27f8f
do not randomize unknown timestamps
...
Originally committed as revision 3568 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
2db3c638a7
user selectable packet_size and mux_rate
...
Originally committed as revision 3566 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
Michael Niedermayer
e0c91bc23b
initial dts fix
...
Originally committed as revision 3555 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
2031ba1bf2
remove wrong 33bit truncation of internal timestamps
...
Originally committed as revision 3554 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
bc3429e382
pts/dts 100l fix
...
Originally committed as revision 3553 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
7e05155850
cleanup video buffer size
...
Originally committed as revision 3552 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
9205093333
cleanup
...
Originally committed as revision 3551 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
7000a17542
SCR timestamp fix try #1
...
Originally committed as revision 3550 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
d8b5abfa70
simplify put_padding_packet()
...
Originally committed as revision 3549 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
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
20 years ago
Michael Niedermayer
71c32f19b3
do not call (av_)abort()
...
Originally committed as revision 3544 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
21 years ago
Mike Melanson
9be653d0e9
cvs diff before cvs commit
...
Originally committed as revision 3240 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
0bd586c50d
sweeping change from -EIO -> AVERROR_IO
...
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
Falk Hüffner
7906085fcc
warning patrol
...
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
Fabrice Bellard
e45f19437e
harcoded DTS computation for mpeg
...
Originally committed as revision 2624 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Fabrice Bellard
044007c220
primitive LPCM generator
...
Originally committed as revision 2622 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
Fabrice Bellard
27f388aa24
seek support
...
Originally committed as revision 2501 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
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
21 years ago
Alex Beregszaszi
117a5490bd
init_put_bits changed
...
Originally committed as revision 2369 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Fabrice Bellard
fa0f62c37d
removed invalid sequence end code
...
Originally committed as revision 2256 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Fabrice Bellard
490579042a
64 bit pts for writing - more const usage
...
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago