Commit Graph

83 Commits

Author SHA1 Message Date
Michael Niedermayer
b4aea108eb support discarding of uninterresting packets
Originally committed as revision 3858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 01:48:11 +00:00
Michael Niedermayer
568e18b15e integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks

Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 14:21:33 +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
Michael Niedermayer
dc56fc3802 int / int64 fix by (Wolfram Gloger <wmglo @@@ dent:med:uni-muenchen:de>)
Originally committed as revision 3704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 18:23:56 +00:00
François Revol
27d5f18f66 First implementation of nsv demuxer.
Get libavformat linked with lavc and lmp3lame is required. BeOS requires no undefined syms on link! (besides it's bad to leave undef syms)

Originally committed as revision 3696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-20 23:10:07 +00:00
Michael Niedermayer
5b6d559680 move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 18:09:28 +00:00
Roman Shaposhnik
f02be79d61 * Introducing IIDC1394 grabbing interface.
Use it with -grab dc1394

   * Introducing yet another packed pix_fmt in order to support some of
     the IIDC1394 modes: uyvy411 (Cb Y0 Y1 Cr Y2 Y3).

Originally committed as revision 3621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 02:04:30 +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
Mike Melanson
ad81a9fe41 Electronic Arts Game Multimedia format demuxer (WVE/UV2/etc.)
Originally committed as revision 3600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 19:33:57 +00:00
Michael Niedermayer
7b3c1382bf 100l (forgoten seeking functions)
Originally committed as revision 3585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 23:53:53 +00:00
Michael Niedermayer
3ba1438dec use native timebase for seeking
direction flag for seeking

Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-10 22:05:43 +00:00
Michael Niedermayer
576ae256a4 write error handling
Originally committed as revision 3572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 20:09:52 +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
Zdenek Kabelac
7fea94ce4a * fixing a few of gcc 'clean-code' warnings
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 08:50:46 +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
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
Mike Melanson
d08d7142fd support for Sierra Online audio files and Apple QuickDraw codec,
courtesy of Konstantin Shishkov

Originally committed as revision 3529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 03:09:49 +00:00
Roman Shaposhnik
0c9fc6e187 * replacing calls to not-always-available gmtime_r with our own code.
The new helper function actually differs in semantics from gmtime_r,
     so if that seems to be a problem I can actually move it to dv.c
     completely, since only DV muxer uses the code anyway.

Originally committed as revision 3399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-18 08:15:07 +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
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
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
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
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
Roman Shaposhnik
4568325a18 * making it possible to specify recording date and time in a stream
Originally committed as revision 2971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 06:31:12 +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
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
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
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
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
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
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
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
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
Mike Melanson
4120a53a86 implemented Id Quake II CIN support
Originally committed as revision 2339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-03 05:43:03 +00:00
Mike Melanson
2fdf638b0c New demuxers: Sega FILM/CPK, Westwood VQA & AUD; new decoders: MS RLE &
Video-1, Apple RPZA, Cinepak, Westwood IMA ADPCM

Originally committed as revision 2324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-01 04:39:38 +00:00
Falk Hüffner
e4e70d2e2d Fix compilation with ccc
Originally committed as revision 2298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-22 20:29:58 +00:00
Fabrice Bellard
7b7d86f120 simplified version handling
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:51:05 +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
Fabrice Bellard
6a58e1510d ID3 parsing and generation in MP3 format
Originally committed as revision 2237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:34:28 +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
Mike Melanson
493645ebd2 demuxer for custom Wing Commander III movie (.mve) files
Originally committed as revision 2218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 04:14:34 +00:00