Commit Graph

5966 Commits

Author SHA1 Message Date
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
Nathan Kurz
ecc2c0a464 set keyframe flag for au/wav patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 22:06:46 +00:00
Michael Niedermayer
528c2c737e fix assertion failure in case of timestamp discontinuities
Originally committed as revision 3592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 23:58:28 +00:00
Roman Shaposhnik
664f583665 * static allocation for audio packets. This will make it a little bit
faster and easier to follow.

   * misc. fixes for problems with seeking

Originally committed as revision 3590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 00:03:00 +00:00
Mike Melanson
b3bfb29980 Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 12:47:49 +00:00
Michael Niedermayer
8bcb147f54 generic cur_dts update
removing cur_dts update code from dv again, i think its not needed

Originally committed as revision 3588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 10:28:27 +00:00
Michael Niedermayer
83582de4c1 flags, rounding and cliping fix by (Nathan Kurz <nate at verse dot com>)
max_pos, buffer flush, audio and video timestamp fix by me

Originally committed as revision 3586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 01:51:04 +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
Nathan Kurz
eb497825fe default stream timebase docs patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 19:42:18 +00:00
Wolfram Gloger
d0f3f15945 print start_time patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 17:12:52 +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
caaeefc591 prevent multiple av_register_all()
Originally committed as revision 3570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 21:11:08 +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
Måns Rullgård
ca37721277 untested AAC in WAV/AVI patch by (Måns Rullgård <mru at mru dot ath dot cx>)
Originally committed as revision 3565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 20:12:58 +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
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
Michel Bardiaux
65d1bea201 Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 13:32:13 +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
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
30667f42f5 pads stream
Originally committed as revision 3531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 09:55:44 +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
5088363247 * experimental dynamic audio stream allocation for DV demuxer. This
should make Nathan Kurz and if I don't hear too much complaints
     about it -- that's the way it will be from now on.

   * updating regressions

Originally committed as revision 3527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 22:53:27 +00:00
Roman Shaposhnik
96319c3922 * let DV muxer generate audioless DV streams. This might not be 100%
complaint with the SMPTE & IEC specs, but it seems harmless enough.
     The way we "specify" that there's no audio is by simply leaving
     audio DIFs filled with 0xff (I bet there's a way to mark this
     properly in the system info section!).

Originally committed as revision 3526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 22:46:36 +00:00
Michael Niedermayer
3ed0212929 10l
Originally committed as revision 3495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 21:25:09 +00:00
Michael Niedermayer
c4f8d5d9f9 write shorter headers if possible
Originally committed as revision 3494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 20:01:56 +00:00
Roman Shaposhnik
457c649ac4 * fixing a regression introduced by the last seek-support patch
Originally committed as revision 3490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 04:51:01 +00:00
Michael Niedermayer
aace1f9b86 gcc 2.95 compile fix by (Jan Knutar <jknutar at nic dot fi>)
Originally committed as revision 3486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 10:19:30 +00:00
Roman Shaposhnik
2c3cee348f * fix for a DV regression introduced with the last round of avi_read_packet
fixes.

Originally committed as revision 3482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 19:24:56 +00:00
Roman Shaposhnik
f520cf1ba9 * a couple of silly defaults to make everybody happy.
Originally committed as revision 3479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 02:57:56 +00:00
Roman Shaposhnik
c4e554701e * misc. fixes and hacks to improve timing detection in raw DV
Originally committed as revision 3478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 02:05:22 +00:00
Nathan Kurz
0bf4e2b8a3 * seek in raw DV patch by Nathan Kurz (nate at verse dot com)
Originally committed as revision 3477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-18 00:32:36 +00:00
Todd Kirby
e1e98dbd57 removing the .so file when make clean is run patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 17:15:58 +00:00
Mike Melanson
d0a0bbd22c IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 03:31:41 +00:00
Mike Melanson
69bde0b258 added support for the elusive AVI palette change chunk, courtesy of
Kostya <cannonball at bw-team.com>

Originally committed as revision 3467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 02:14:50 +00:00
Michael Niedermayer
d2c5f0a4bf various fixes for the main chunk demux loop
Originally committed as revision 3464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 01:35:09 +00:00
Roberto Togni
c931e60860 h261
Originally committed as revision 3409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-22 15:35:21 +00:00
Alex Beregszaszi
7251dfafda unofficial ids for sonic for using in nut (fixme)
Originally committed as revision 3406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-21 19:24:40 +00:00
Michael Niedermayer
14a68b8910 nonsense removial
Originally committed as revision 3400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-18 11:22:15 +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
Mike Melanson
9d53d58ea7 TechSmith Camtasia (TSCC) video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 15:08:09 +00:00
Patrice Bensoussan
b6c50eb17c iTunes metadata encoding support patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)
Originally committed as revision 3388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 14:05:48 +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
Roman Shaposhnik
8f9298f801 * simplifying OpenDML AVI handling.
* adding code to skip over JUNK. It turns out that video editing
     software uses junk to resize ix## chunks without actually
     scrubbing the data. That trips up our packet extraction
     code since it recognizes ix## entries as "packets". Basically
     we have to skip over JUNK chunks for exactly the same reason
     we have to skip over ix## entries.

Originally committed as revision 3378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-04 20:57:35 +00:00
Michael Niedermayer
13859ac9da dont be so picky
Originally committed as revision 3370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 13:00:58 +00:00
Roman Shaposhnik
d8665b1274 * fixing a bug in DV timestamp generation. Now libavtest doesn't
depend on a local TZ anymore.

Originally committed as revision 3368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 05:42:49 +00:00
Roman Shaposhnik
f5fc28d23c * fixing a buffer overrun in gif.c
Originally committed as revision 3363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 21:56:59 +00:00
Sebastien Bechet
15c8dbe778 2000/00/00 to 2001/03/01 QT fileformat documentation patch by (Sebastien Bechet <s.bechet at av7 dot net>)
Originally committed as revision 3360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 10:04:14 +00:00
Gildas Bazin
ef19c7eb3f AAC in mov/mp4 patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 3359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 09:40:59 +00:00
Roman Shaposhnik
3ea1ce2146 * fixing a small quirk with DV audio muxing
* making DV testable via libavtest

Originally committed as revision 3355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:58:47 +00:00
Michael Niedermayer
791e7b83c3 my experimental wavelet codec
note, this is far from finished, dont expect todays encodings to be decodeable with cvs tomorrow ...

Originally committed as revision 3341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 23:36:44 +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
627c50b7fc raw rgb support
Originally committed as revision 3330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-21 01:21:06 +00:00
Michael Niedermayer
58e555d4ba mov_read_elst fix, based upon a patch by (Sebastien Bechet <s.bechet at av7 dot net>)
Originally committed as revision 3327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-17 21:01:03 +00:00
Michael Niedermayer
7c4a25c89f disable mov_read_elst
Originally committed as revision 3326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-17 16:35:47 +00:00
Michael Niedermayer
61fb3183b7 support single images, remove copy/paste junk
Originally committed as revision 3320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 20:15:40 +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
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
Michael Niedermayer
f8facaaf41 play more broken files
Originally committed as revision 3308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 00:10:06 +00:00
Michael Niedermayer
ffdd57d47e warn user if ms style codec tag is used
remove "    " codec tag

Originally committed as revision 3307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-13 20:59:29 +00:00
Michael Niedermayer
240ae82c51 h264 in mpeg-ts fix by (Måns Rullgård <mru at kth dot se>)
Originally committed as revision 3293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-07 20:19:29 +00:00
Michel Bardiaux
5c030d3ee9 compilation of mov.c broken patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 18:06:17 +00:00
Gael Chardon
baf25c9dd9 Seeking in .mov/.mp4 files
printf->av_log
patch by (Gael Chardon <gael.ffmpeg at 4now dot net>)

Originally committed as revision 3290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 02:35:39 +00:00
Michael Niedermayer
37cdf93d6e assert(0) -> retunrn -1
Originally committed as revision 3285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-02 19:26:51 +00:00
Cedric Vincent
3c13647a8a The atom 'skip' should be handled by 'mov_read_leaf()', not by
'mov_read_default()'. This atom has the same behaviour than the atom 'free'.
patch by (Cedric VINCENT <c-vinc02 at bat710 dot univ-lyon1 dot fr>)
the second part of the patch hasnt been applied, but fixed slightly differently

Originally committed as revision 3276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 19:24:43 +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
75293f05f9 simplify
Originally committed as revision 3252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 20:03:51 +00:00
Michael Niedermayer
504c8380a3 ogg with ffplay fix
Originally committed as revision 3247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-24 20:20:16 +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
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
Luca Abeni
6e454c38b0 A/V Synch in ffmpeg patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 03:03:32 +00:00
Michael Niedermayer
4904d6c2d3 10l fix by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-17 10:46:08 +00:00
Michael Niedermayer
50c3dd32fd pass timestamps correctly for -sync 0
use zero sized frames in avi to handle duplicate frames

Originally committed as revision 3225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-15 13:49:12 +00:00
Michael Niedermayer
ca6ecf50f9 file id string
max short startcode distance

Originally committed as revision 3223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-14 21:30:36 +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
c60d6ad4bc more fourccs
Originally committed as revision 3212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-10 14:08:57 +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
e05655fbbd fix playback of http://www.zonque.org/test-long.ps
better seeking, (not to keyframes but at least to the start of packets ...)

Originally committed as revision 3182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 16:57:00 +00:00
Michael Niedermayer
c6148de232 h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
Originally committed as revision 3176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 20:37:15 +00:00
Michael Niedermayer
7520409245 10l
Originally committed as revision 3174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 01:04:50 +00:00
Michael Niedermayer
cc11e2b3e4 skip subtitle streams instead of perishing
Originally committed as revision 3173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 00:43:43 +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
42feef6b70 exporting keyframe flags, fixes keyframe stuff with streamcopy
Originally committed as revision 3169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 12:01:28 +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
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
cde073b448 100l (AVStream.duration)
Originally committed as revision 3154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-24 13:08:00 +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
84ad613008 bytestream tracing support
sync points
removing timestamp lru prediction
extendible frame_code / frame_code table

Originally committed as revision 3142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-20 16:00:22 +00:00
Roman Shaposhnik
12cccabd0f * IEC DV seems to accept SMPTE way of tagging 16:9 too.
Originally committed as revision 3139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 02:33:27 +00:00
Michael Niedermayer
7f2ca68a84 segfault fix
Originally committed as revision 3135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-13 14:54:57 +00:00
Mike Melanson
d91712990c support SVQ1 in AVI files, just for fun
Originally committed as revision 3112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 02:57:13 +00:00
Michael Niedermayer
1fa3d65d57 vbr audio fix
Originally committed as revision 3111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-06 21:52:38 +00:00
Michael Niedermayer
0b43db1448 match latest spec
seeking to startcode-less frames

Originally committed as revision 3102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-02 01:03:55 +00:00
Luca Abeni
3834be5858 fix rounding errors with NTSC patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 13:28:16 +00:00
Michael Niedermayer
c0c37848d8 export pts if available
Originally committed as revision 3081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 03:35:14 +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
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
Michael Niedermayer
7aae316869 ring buffer fix by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 13:30:21 +00:00
James Morrison
bb476ff367 vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:16:23 +00:00
Sascha Sommer
45d6de9258 nut files in cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 13:10:35 +00:00
Sascha Sommer
2a86d50bd9 cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 11:51:38 +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
11a8e42573 various fixes
Originally committed as revision 3031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 15:26:57 +00:00
Michael Niedermayer
068f2a22db cleanup
fix streamcopy

Originally committed as revision 3026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 12:04:59 +00:00
Wolfram Gloger
550f0a9b07 Off-by-two in mpegts.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-13 13:33:02 +00:00
Steven M. Schultz
17c22f574b libavformat/os_support.c HAVE_LOCALTIME_R patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 22:54:48 +00:00
Michael Niedermayer
31179d85cb store correct pts
Originally committed as revision 3008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 22:23:16 +00:00
Michael Niedermayer
75553f825c bit-exact
Originally committed as revision 3007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 20:06:23 +00:00
Michael Niedermayer
2fefb2201d distclean by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 18:42:23 +00:00
Michael Niedermayer
e5d64d6892 10l
Originally committed as revision 3005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 18:32:36 +00:00
Steven M. Schultz
3ec34bfdb2 libavformat/mov.c fails with gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 17:40:31 +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
ee77723580 codec tag for FLV
Originally committed as revision 3002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 19:32:24 +00:00
Michael Niedermayer
7585aa5c4e 4xm codec tag
Originally committed as revision 3001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 19:18:53 +00:00
Michael Niedermayer
b4c64c5092 some tag for mpeg2, so looking MPEG2VIDEO up works
Originally committed as revision 2999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 14:58:51 +00:00
Michael Niedermayer
31290c2b9b avoid seeking to the end, as it confuses some crappy code
Originally committed as revision 2996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 02:07:31 +00:00
Michael Niedermayer
ee76016c79 set codec_tag
Originally committed as revision 2995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 20:11:00 +00:00
Michael Niedermayer
a90466f741 prefix global
Originally committed as revision 2994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 19:42:18 +00:00
Mike Melanson
44f110f509 patch courtesy of Todd Kirby:
* Fixes a small memory leak in read_rle_sgi()
* Remove temp buffer in read_rle_sgi(). Write rle data directly to image
buffer.
* Adds sanity check to read_rle_sgi() to insure decoded rle data row
equals image width.

Originally committed as revision 2993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 15:09:46 +00:00
Michael Niedermayer
aec8f88a9e removing keyframe prediction and checksum threshold
Originally committed as revision 2991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 16:46:12 +00:00
Thomas Raivio
2768b0d99f correctly identify AAC audio in mov/mp4/etc. files. patch by ("Thomas Raivio" <tjraivio at cc dot hut dot fi>)
Originally committed as revision 2984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 13:13:24 +00:00
Steven M. Schultz
1c24c51dec gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 2983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 12:31:36 +00:00
Michael Niedermayer
7dddf251a2 fourcc & language code v->vb type
some minor cleanups
some bugfixes
seeking to type 1 and 2 frames (no index needed)
timestamp/position cache so seeking without an index is fast

Originally committed as revision 2980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 00:22:22 +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
Alex Beregszaszi
21f52609dd support for -timestamp
Originally committed as revision 2978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 14:00:16 +00:00
Alex Beregszaszi
e9afa2f4dd unknown format char
Originally committed as revision 2976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 13:27:53 +00:00
Alex Beregszaszi
8cc7a34dd0 support for wider range of codecs
Originally committed as revision 2973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 12:47:33 +00:00
Michael Niedermayer
465e1dadbe 10l (bytes_left() -> url_feof())
10l (updating LRU delta pts for type 1/2 frames)
ensure that checksumming isnt enabled if its not needed
search for next startcode and then search backward to the next valid frame if an inconsistancy is detected
deal with non-frame startcodes in the middle of the stream

Originally committed as revision 2972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 17:40:17 +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
Michael Niedermayer
7c5934ede9 search for undamaged headers
Originally committed as revision 2970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 22:00:59 +00:00
Michael Niedermayer
ee9f36a88e checksuming for nut & nice checksum API for libavformat
Originally committed as revision 2969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 12:02:10 +00:00
Michael Niedermayer
5e9b83f5d7 antitime
Originally committed as revision 2968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 11:36:13 +00:00
Michael Niedermayer
5a75750785 10l (Titel->Title)
Originally committed as revision 2967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 10:38:01 +00:00
Michael Niedermayer
e52788d069 info packet read/write & simplify
Originally committed as revision 2965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 22:34:26 +00:00
Michael Niedermayer
ae3fa4ea9c make vorbis default again
Originally committed as revision 2964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 20:24:28 +00:00
Michael Niedermayer
5062c202e2 10l
Originally committed as revision 2963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 20:00:04 +00:00
Michael Niedermayer
6748046eaa store extradata, vorbis in avi works now, dont expect av sync though
Originally committed as revision 2962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 19:28:49 +00:00
Michael Niedermayer
2926db54ba some random id for vorbis so we can do some experiments with vorbis in various containers, anyone knows if vorbis in WAV/AVI has a official id?
Originally committed as revision 2961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 19:18:15 +00:00
Michael Niedermayer
a1d4d70c7a large extradata fix
use 3 pts predictors for vorbis, slightly more efficient

Originally committed as revision 2960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 18:37:41 +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
a03cbe5f7f fix global header passing from demuxer to decoder
Originally committed as revision 2958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 17:55:59 +00:00
Michael Niedermayer
bbb77e7c2e remove function call from muxer->encoder and cleanly pass global headers
Originally committed as revision 2956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 15:19:20 +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
d76f581ff5 kill obnoxious ogg_packet passing from demuxer to decoder
Originally committed as revision 2953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 02:07:15 +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
a5247e3d8d nut (de)muxer update
conform to latest spec
 remove get/put_s() not needed anymore
 update_packetheader() fixed (wasnt always working)
 store/load extradata & aspect ratio
 memleak fix
 dont use vorbis by default yet
 use frame_size from the codec instead of hardcoding it in the source

Originally committed as revision 2951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-03 21:00:14 +00:00
Steven M. Schultz
d298185c73 yuv4mpeg output 'C' tag patch by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 2944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-01 23:32:53 +00:00
Roman Shaposhnik
cac0a56c55 * .mov files with uncompressed audio can't be correctly processed
because of the sample_size == 1 and MINOLTA hack relying on
      the information. So in a way, it's a hack of a hack.

      btw, if somebody knows why in the world even Apple's software
      thinks that for PCM 16bit sample_size == 1 please let me know.
      It clearly isn't documented that way.

Originally committed as revision 2941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-31 04:51:14 +00:00
Roman Shaposhnik
906b578f16 * fixing 10l in movenc.c + updating regression patterns.
Originally committed as revision 2938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 03:29:00 +00:00
Roman Shaposhnik
9a4d938874 * making .mov files generated by ffmpeg compatible with Apple software.
Originally committed as revision 2937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 02:17:06 +00:00
Wolfram Gloger
6fb316d563 Support raw mpegts streams from dvr patch by (wmglo at dent dot med dot uni-muenchen dot de)
Originally committed as revision 2931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 17:40:40 +00:00
Roman Shaposhnik
ca20f118d1 * enabling DV-in-QT
* fixing a bug in movenc.c: for QT files hdrl should contain 'mhlr'

Originally committed as revision 2928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 09:04:06 +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
Michael Niedermayer
d957696f17 cleanup frame_rate code, this may also fix some large file bugs
Originally committed as revision 2924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 19:03:20 +00:00
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
Michael Niedermayer
0a61ba5869 audio pts fix
Originally committed as revision 2689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 23:55:57 +00:00
Michael Niedermayer
e6c0297f1c fixing some seek failure issues
Originally committed as revision 2688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 22:36:35 +00:00
Gildas Bazin
ec7d0d2e9e memleak patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 19:01:16 +00:00
Kevin Kuphal
d13431cd56 ASF extended header parsing patch by ("Kevin Kuphal" <kevin dot kuphal at sitecity dot net>)
Originally committed as revision 2672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-06 15:31:36 +00:00
Michael Niedermayer
3144b152a6 10l
Originally committed as revision 2666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 19:53:44 +00:00
Michael Niedermayer
76e9d39297 forgot ...
Originally committed as revision 2658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-03 13:29:46 +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
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
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
Wolfgang Hesseler
fad05f523c cygwin fix and dont average interlaced MVs patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 17:47:23 +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
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
Michael Niedermayer
a0b8f70c29 better get_packet_size and probe
Originally committed as revision 2578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 00:17:43 +00:00
Alex Beregszaszi
f0a93eb0b2 msb pts support
Originally committed as revision 2576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 17:54:40 +00:00
Alex Beregszaszi
4250dafc96 using LIBAVFORMAT_IDENT
Originally committed as revision 2575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 17:50:38 +00:00
Michael Niedermayer
a8380f44cf removing unused var & converting 64->32bit
Originally committed as revision 2567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 23:12:03 +00:00
Glyn Kennington
647b776270 SWF sanity check patch by (Glyn Kennington <glyn dot kennington at ox dot compsoc dot net>)
Originally committed as revision 2565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-05 00:41:58 +00:00
Mike Melanson
b7cbfc2307 DUCK codec
Originally committed as revision 2556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-03 04:58:48 +00:00
Mike Melanson
e692c8634c off by 1 in the palette
Originally committed as revision 2548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-01 13:59:08 +00:00
Laurent Aimar
cc15c93127 H264 fourcc patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 2540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 00:21:33 +00:00
Roberto Togni
e1c2a5a0a8 - Add reget_buffer() function to AVCodecContext
- Add default reget_buffer implementation in libavcodec/utils.c
- Remove AVCodecContext.cr_available, no longer needed
- Remove CODEC_CAP_CR, no longer used
- Add img_copy() prototype to avcodec.h (function from imgconvert.c)
- Rename img_copy() to jpeg_img_copy() in libavformat/jpeg.c to avoid
conflict
- Updated msrle, msvideo1, rpza, smc to use reget_buffer

Originally committed as revision 2531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-26 20:57:15 +00:00
Michael Niedermayer
28ba74a686 Patch for PPM probing by (Rob Joyce <rjoyce at twcny dot rr dot com>)
Originally committed as revision 2528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-24 17:59:56 +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
Philip Gladstone
91628427ec Add more resilience in reading ffm files. In particular, don't assume
that the write pointer is correct. This can happen in certain failure
modes.

Originally committed as revision 2524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-19 02:34:40 +00:00
Mike Melanson
11498da334 set frame rate information, for good measure
Originally committed as revision 2521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-16 14:26:50 +00:00
Mike Melanson
d66dae57e8 use the proper file framerate (specified by a float); account the pts
for video and audio tracks separately

Originally committed as revision 2520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-15 18:18:42 +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
Måns Rullgård
278de4755d support more codecs in MPEG-TS patch by (mru at kth dot se (Måns Rullgård))
Originally committed as revision 2511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-12 21:56:57 +00:00
Fabrice Bellard
afda223c6b frame rate should be completely disabled in asf (closer now) - disabled seek
Originally committed as revision 2503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:49:58 +00:00
Fabrice Bellard
155e9ee909 initial seek support
Originally committed as revision 2502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:48:33 +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
f9b5459e79 seeking support - fixed some ADPCM decoding cases
Originally committed as revision 2500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:44:27 +00:00
Fabrice Bellard
8e38ff0c07 fixed double free
Originally committed as revision 2499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:43:12 +00:00
Fabrice Bellard
ba0ce88a2d added parsing
Originally committed as revision 2498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:42:51 +00:00
Fabrice Bellard
4986a42929 seek support for PCM formats
Originally committed as revision 2497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:41:45 +00:00
Fabrice Bellard
ccd39ae6ea use parsers
Originally committed as revision 2496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:40:14 +00:00
Fabrice Bellard
ff762d6ed2 initial seek support - more generic play/pause support
Originally committed as revision 2495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:39:26 +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
Mike Melanson
b595afaae7 added palette support to the QT demuxer; registered SMC video decoder
with QT system

Originally committed as revision 2489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 03:17:32 +00:00
Roberto Togni
1dc1ed9933 8BPS decoder
Originally committed as revision 2486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-07 22:39:18 +00:00
Roman Shaposhnik
19d053c5ba * fixes for broken builds on Solaris, OS2 and all bingendian
systems out there.

Originally committed as revision 2480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-04 19:35:43 +00:00
Michael Niedermayer
dd0003fa3d removing borderline spyware
Originally committed as revision 2478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-04 12:55:26 +00:00
Gildas Bazin
e45ccf79be movenc patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 21:51:07 +00:00
Roberto Togni
5e29abf8b7 Make avi and asf demuxer export palette in palctrl
Originally committed as revision 2465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-02 21:55:38 +00:00
Roman Shaposhnik
ddaae6a9d1 * DV demuxer is now capable of decoding auxilary audio stream. So,
everybody who still uses second streo track for dubbing can
     now export it.

   * void* -> DVDemuxContext* change (per Fabrice's suggestion).

   * -dv1394 capture now works in all modes.

Originally committed as revision 2458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 22:26:26 +00:00
Mike Melanson
2a2bbcb05f revised palette API, courtesy of Roberto Togni (rtogni at freemail.it)
Originally committed as revision 2451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 05:40:58 +00:00
Fabrice Bellard
8b1ab7bf21 added MPEG2TS support in RTP, SDP and RTSP - replaced fake RTP demux by a specific API
Originally committed as revision 2448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:25:27 +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
Fabrice Bellard
b45a7a18d3 mpeg TS demux API (called from RTP layer) - raw mpeg TS reader (uses fake codec MPEG2TS)
Originally committed as revision 2446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:16:31 +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
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
Mike Melanson
8dafdb88e6 added XVID fourcc (ISO MPEG-4?) and AC3 fourcc
Originally committed as revision 2432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 04:41:53 +00:00
Michael Niedermayer
5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Michael Niedermayer
9dad924e22 bottom_field_first -> top_field_first
Originally committed as revision 2402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 10:33:13 +00:00
Dan Christiansen
4cb3f3b637 Using the extension m4a for audio only MPEG-4 files is increasingly
common, especially since Apple iTunes treats files with the two
extensions differently. Without the patch, FFmpeg won't know that m4a
is for MPEG-4 files
patch by (Dan Christiansen <danchr at daimi dot au dot dk>)

Originally committed as revision 2398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-19 20:57:47 +00:00
Dan Christiansen
cf9d24adf6 - Moving -Wall from the individual Makefiles to configure (and only
have it passed to GCC)
- Moving the usage in configure to the top of it, so you don't have to
wait needlessly
- Silence compiler output during configuration
- Add support for configuring with IBM XLC

patch by (Dan Christiansen <danchr at daimi dot au dot dk>)

Originally committed as revision 2397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 18:47:06 +00:00
Roman Shaposhnik
2744ca9ac9 * providing MPEG codecs with a generic fields in AVFrame to use.
* fixing YUV4MPEG format.

    * fixing a bug in DV codec where coded_frame was not set.

Originally committed as revision 2396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 03:19:44 +00:00
Doug Larrick
66535069da Enable decoding of more mpeg-ts streams for pcHDTV patch by (Doug Larrick <doug at ties dot org>)
Originally committed as revision 2390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 18:06:44 +00:00
Alex Beregszaszi
4b68410579 10l
Originally committed as revision 2387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 15:21:46 +00:00
Mike Melanson
93cb9d7f73 hook up the XA ADPCM decoder
Originally committed as revision 2386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 03:53:40 +00:00
Michael Niedermayer
ffaa816ee3 recommit of
* fixing an unitilaized field AVImageInfo::interleaved.

      As a matter of fact we have two problems here: first
      AVImageInfo::interleaved is never initialzed in img.c.
      The second problem is that even if we want interleaved
      PNGs there's a bug in png.c that prevents us from generating
      them.

      The later problem is for somebody familiar with PNG to
      handle.

      And yes, always setting AVImageInfo::interleaved to 0 isn't
      such a good idea, but it still beats garbage values.
orginal commit by roman shaposhnik

Originally committed as revision 2380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 14:40:36 +00:00
Mike Melanson
002936777b remove experimental reference
Originally committed as revision 2378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 14:13:57 +00:00
Alex Beregszaszi
485bc05dec make it compatible with older make (debian stable - make 3.79.1)
Originally committed as revision 2377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 11:36:03 +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
Mike Melanson
20f269dc28 handle a wider variety of VQA files, including silent files
Originally committed as revision 2343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 17:41: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
Roman Shaposhnik
a686caf03d * fixing bug that prevented resampling the picture and
changing pix_fmt at the same time.

   * aspect ratio should be more reliable for DV now.

Originally committed as revision 2338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-03 01:08:10 +00:00
Alex Beregszaszi
e692fd601d fixed codec specific data headers
Originally committed as revision 2337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 22:41:08 +00:00
Alex Beregszaszi
cf24628385 fixed time base and sample rate handling
Originally committed as revision 2336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 22:33:55 +00:00
Alex Beregszaszi
5aa0a64494 fix fabrice's broken get_bi and some minor changes in draft
Originally committed as revision 2335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 14:59:54 +00:00
Mike Melanson
dda6142361 properly demux silent files; implemented precise framerate calculation
Originally committed as revision 2330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 04:16:59 +00:00
Mike Melanson
68a43d044a the correct data type is offset_t
Originally committed as revision 2329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 03:53:52 +00:00
Roman Shaposhnik
4fa1c4fa8d * preAlpha DV encoding support -- there's still a truckload
of work to do, but it least people can try it out and share
      ideas. Please don't hesitate to give it a spin:

         $ ffmpeg -i file.avi file.dv

      is all you need.

    * fix for a deallocation bug in DV muxer

Originally committed as revision 2327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-01 23:34:46 +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
Michael Niedermayer
08f29f82b9 Patch for attribute(printf) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-30 17:54:30 +00:00
Michael Niedermayer
b49d4175c2 10l
Originally committed as revision 2321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 22:40:01 +00:00
Roman Shaposhnik
0d8d3ed519 * The functionality is now available in dv.[ch].
Originally committed as revision 2320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 17:56:21 +00:00
Roman Shaposhnik
7458ccbb02 * DV handling was streamlined for both muxing/demuxing and
decoding. All muxing/demuxing functionality is now available
     in libavformat/dv.[ch].

   * dv1394.c and avidec.c were hooked up with general DV demuxer.

   * DVAUDIO is dead! Long live pcm_s16le!

   * DV audio is now always recognized -- which means we can
     now hear all those ducks quaking in pond.dv.

Originally committed as revision 2319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 17:54:07 +00:00
Philip Gladstone
6c8e0d4d46 Fix a very nasty problem with extra bytes appearing in TCP data streams.
Whenever there was an EINTR/EAGAIN return, then a byte in the data stream
would be duplicated!! This fix should allow ffserver to work again.

Originally committed as revision 2317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 01:41:30 +00:00
Dan Christiansen
fe0f2a9719 PowerPC warnings & optimisations patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 2315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 22:53:25 +00:00
Thomas Raivio
f578f93838 mov/mp4/3gp muxer improvements patch by (Thomas Raivio <tjraivio at cc dot hut dot fi>)
Originally committed as revision 2314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 21:09:32 +00:00
Michael Niedermayer
d663a1fdc0 AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
Originally committed as revision 2311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 20:34:11 +00:00
Mike Melanson
d42f74b85e send the chunk preamble bytes to the respective decoders; Id RoQ demuxer
now works correctly

Originally committed as revision 2303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-26 00:10:21 +00:00
Steven M. Schultz
a63d49334e yuv4mpeg.c extra space patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-25 08:38:16 +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
Mike Melanson
e7106d5b8e clean up 4xm demuxer; make valgrind just a little happier
Originally committed as revision 2296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-20 21:54:33 +00:00
Mike Melanson
773159ed27 iterate through the appropriate range of palette entries
Originally committed as revision 2295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-20 00:31:43 +00:00
Mike Melanson
b59ebf6220 provisions for raw PCM audio
Originally committed as revision 2291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-18 04:25:41 +00:00
Fabrice Bellard
165f74ff46 remove unused AMREXTRALIBS
Originally committed as revision 2287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:29:19 +00:00
Fabrice Bellard
69ef9450d8 generate correct PTS in transport stream - use mpeg2 encoder by default
Originally committed as revision 2282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 12:56:42 +00:00
Roman Shaposhnik
dd6ee74e4c * fixing a typo ;-)
Originally committed as revision 2280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 02:09:17 +00:00
Fabrice Bellard
cb728d7902 correct DLL windows install
Originally committed as revision 2279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-15 22:27:43 +00:00
Mike Melanson
b76c707acd adapt to use interim palette control API; do away with multi-chunk data
transfer to decoder

Originally committed as revision 2274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-14 18:56:45 +00:00
François Revol
a018d318e7 64 bit pts for writing - more const usage (don't forget me !)
Originally committed as revision 2269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-13 09:20:12 +00:00
Mike Melanson
ba118447d5 deploy palette control API
Originally committed as revision 2266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-12 03:48:14 +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
Mike Melanson
7e5ef401b7 forgot to apply the palette component lookup table
Originally committed as revision 2259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 05:39:51 +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
Michael Niedermayer
8c653280bd get_bi(), be/le fix
Originally committed as revision 2254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 13:00:24 +00:00
Michael Niedermayer
2187d9482e theres no SVQ1 encoder -> it cant be default
Originally committed as revision 2252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 10:46:50 +00:00
Michael Niedermayer
6e6d6dc0a5 mov/mp4 muxer cleanup (mostly cosmetics/simplifications & global header fix)
Originally committed as revision 2249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 23:03:04 +00:00
Michael Niedermayer
9d90c37f39 memleak fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 19:32:52 +00:00
Michael Niedermayer
72a476c1e1 kernel header bug workaround by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
Originally committed as revision 2241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 19:14:05 +00:00
Glenn Maynard
cddf3f452a Debug/optimization patch by (Glenn Maynard <g_sf at zewt dot org>)
Originally committed as revision 2240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 19:03:14 +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
e224e36030 removed localtime_r.h
Originally committed as revision 2236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:32:30 +00:00
Fabrice Bellard
80783dc2c2 CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:04:29 +00:00
Fabrice Bellard
66a15ea2d2 removed os_support.h
Originally committed as revision 2230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:59:53 +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
Fabrice Bellard
a182f5da93 fixed endianness dependancies (untested)
Originally committed as revision 2224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 20:00:13 +00:00
Mike Melanson
9e8cd0db54 hacks to support Xan AVI files
Originally committed as revision 2220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 04:17:40 +00:00
Mike Melanson
048446bfeb support for Duck DK3 and DK4 ADPCM
Originally committed as revision 2219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 04:15:27 +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
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
Alex Beregszaszi
ed0bb7bee6 move packetheader after startcodes
Originally committed as revision 2215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-07 00:37:46 +00:00
Alex Beregszaszi
99b17f25b1 some fixes
Originally committed as revision 2214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-06 23:17:17 +00:00
Michael Niedermayer
203504d910 padding fix
Originally committed as revision 2213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-06 16:29:05 +00:00
Michael Niedermayer
3ac8749b90 big/little endian fix
storing 64bit stuff in int fix
put_v() fix
startcodes
nut_probe()

Originally committed as revision 2212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-06 14:03:35 +00:00
Alex Beregszaszi
3aa180b84e initial nut muxer and demuxer (demuxer is not fail safe)
Originally committed as revision 2211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-05 18:45:32 +00:00
Alex Beregszaszi
8026c3b54c bump version numbers to 0.4.8
Originally committed as revision 2210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-05 14:41:53 +00:00
Michael Niedermayer
ea739de1b9 rewrite
Originally committed as revision 2208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-05 07:11:41 +00:00
Michael Niedermayer
94dcfb14e7 fixing copyright header (the code is from strptime.c so the copyright header should be from there too instead of strptime.h)
Originally committed as revision 2207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-04 20:15:32 +00:00
Michael Niedermayer
076342fa5c Compile fix when no CONFIG_ENCODERS by (Glenn Maynard <g_sf at zewt dot org>)
Originally committed as revision 2206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-04 10:30:52 +00:00
Michael Niedermayer
77efa159eb case insensitive codec_get_id()
Originally committed as revision 2205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-04 10:26:49 +00:00
Glenn Maynard
5e4639e200 localtime_r patch by (Glenn Maynard <g_sf at zewt dot org>)
Originally committed as revision 2204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-04 09:52:39 +00:00
Michael Niedermayer
a17236c53c MingW patches by (Glenn Maynard <g_sf at zewt dot org>)
Originally committed as revision 2203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-04 08:21:27 +00:00
Mike Melanson
3ef8be2bfc initial commit for Id RoQ and Interplay MVE multimedia subsystems
Originally committed as revision 2195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-02 04:32:02 +00:00
Michael Niedermayer
149f7c029c fix MPEG-TS missdetected as MPEG-PS
Originally committed as revision 2194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 18:30:02 +00:00
Mike Melanson
3f16d933a9 first pass at PSX STR demuxer; does not yet interact correctly with MDEC
video decoder

Originally committed as revision 2190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 15:55:38 +00:00
Michael Niedermayer
8d876a433c asv2 regression test
Originally committed as revision 2188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-01 13:05:21 +00:00
Charles Yates
d9a916e221 stdin patch by (Charles Yates <charles dot yates at pandora dot be>)
* removes use of read_key and getchar when input is received on stdin
(this was corrupting the packet reading)
* terminates av_encode when a termination signal is received (use of
ctrl-c issued a term_exit and subsequent uses of q failed)
* specific correction to yuv4mpeg pipe reading - the defined header was
too short to allow for extended yuv4mpeg flags [as used by smil2yuv and
y4mscaler and accepted by mjpeg tools]

Originally committed as revision 2183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 20:51:10 +00:00
Michael Niedermayer
572f992eff libavformat/avio.h compilation problem in VisualC++ by (lethean at realtime dot ssu dot ac dot kr)
Originally committed as revision 2182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 20:33:57 +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
Roman Shaposhnik
118e91f3d8 * Phase 1 for DV encoding support. Muxing/demuxing of DV streams is now
possible. For example you can do:

          ffmpeg -i i.dv -i audio_track.mp3 -map 0.0 -map 1.0 \
	         -vcodec copy -acodec pcm_s16le out.dv

   * Preparations for getting rid of DVAUDIO codec, DV stream really
     contains PCM audio, so there's no codec needed if we have a
     decent demuxer.

   * Providing entry points for dv1394 write support.

Originally committed as revision 2174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-28 19:53:47 +00:00
Mike Melanson
1a31840cea naughty, forbidden variable declarations
Originally committed as revision 2171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-27 01:26:14 +00:00
Michael Niedermayer
1cb5f7fd41 mov, 3gp, mp4 muxer by (Thomas Raivio <tjraivio at cc dot hut dot fi>)
Originally committed as revision 2168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-26 20:23:13 +00:00
Fabrice Bellard
44664b0915 accepts pgmyuv extension
Originally committed as revision 2152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 21:21:10 +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
Michael Niedermayer
bd5a60201e use codec_tag for encoding too
Originally committed as revision 2125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-18 09:20:02 +00:00
Roman Shaposhnik
36b58e850d * fixing a regression in mpeg encoder (not setting pix_fmt),
this is hardly the right way to do things, but it'll suffice for now.
   * patch from Gildas Bazin
                gbazin at altern dot org
   * fix for a 10l in configure
   * gcc 2.95.3 and Solaris build in general are not ready
     for -Werror in libavformat/Makefile

Originally committed as revision 2123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-12 18:20:29 +00:00
Fabrice Bellard
c95108037f support for older real audio files (<= version 3)
Originally committed as revision 2119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-11 16:16:49 +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
25c4950e9b update duration and start_time
Originally committed as revision 2113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:58:38 +00:00
Fabrice Bellard
32f38cb4cc exports mpegps_demux
Originally committed as revision 2112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:54:05 +00:00
Fabrice Bellard
ca1538f8d9 update duration and start_time
Originally committed as revision 2111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:53:30 +00:00
Fabrice Bellard
247eadca9d update duration and start_time - add av_new_stream() usage
Originally committed as revision 2110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:52:53 +00:00
Fabrice Bellard
fa26a29d65 add av_new_stream() usage
Originally committed as revision 2109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:52:30 +00:00
Fabrice Bellard
ee40480319 added stream start time and duration API - AV_NOPTS_VALUE is no longer zero
Originally committed as revision 2108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:49:27 +00:00
Roman Shaposhnik
1fbe1a61b1 patch for DV capturing by Dan Dennedy <dan at dennedy dot org>
Originally committed as revision 2105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-06 05:40:38 +00:00
D Richard Felker III
2864dfd579 yuv4mpeg pipe reader for libavformat patch by (D Richard Felker III <dalias at aerifal dot cx>)
Originally committed as revision 2102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-05 09:32:31 +00:00
Michael Niedermayer
6b17c988e5 ATI VCR2
Originally committed as revision 2080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 23:37:40 +00:00
François Revol
438fcb754f OSX and BeOS networking fix (socklen_t)
Originally committed as revision 2077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 13:30:27 +00:00
Michael Niedermayer
be3564edad ATI VCR1 decoder
Originally committed as revision 2076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 12:18:46 +00:00
Fabrice Bellard
09787fb8af support aborting in TCP
Originally committed as revision 2061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 10:28:27 +00:00
Fabrice Bellard
b7b8fc3406 suppressed RTSP abort hack - added PLAY/PAUSE
Originally committed as revision 2060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 10:27:47 +00:00
Fabrice Bellard
590403c702 removed warnings
Originally committed as revision 2059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 10:26:02 +00:00
Fabrice Bellard
019ac05ace added primitive aborting system
Originally committed as revision 2058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 10:25:36 +00:00
Fabrice Bellard
d5809b0aa2 warnings are errors
Originally committed as revision 2057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 10:24:28 +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
Måns Rullgård
8683e4a0c0 Write correct MPEG2-PS streams patch by (mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 2048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-15 22:15:37 +00:00
Fabrice Bellard
e5526b2c39 fixed NTP generation for mpeg
Originally committed as revision 2046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-15 19:41:40 +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
François Revol
aa35ccb8e1 BeOS fix: NOT every ld likes undefined syms, include C++ objs, and link to libs needed for audio in.
Originally committed as revision 2044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-15 13:35:20 +00:00
Fabrice Bellard
fc48fe84a9 cosmetic change in resync code - added PAT scanning code if no SDT is found (in the futur it would be interesting to give an API to change channel - also useful for DV input number or TV grab tunning
Originally committed as revision 2043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-15 13:21:39 +00:00
Michael Niedermayer
5b9d235fce 10l
Originally committed as revision 2037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-12 16:55:15 +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
Tim Allen
6bc114b2fb Shared library for libavformat support patch by (Tim Allen <tim at proximity dot com dot au>)
Originally committed as revision 2033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-11 21:33:27 +00:00
Michael Niedermayer
14b3225377 Building ffmpeg with gcc-2.95.3 encountered a problem due to C99 initialization fix by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 23:18:09 +00:00
Isaac Richards
ec23a47286 - Looks a tiny bit harder in mpegps_probe() for a valid start code. This is
needed to detect some files produced by pvr-250/350 capture cards.
- Adds AC3 audio support to the mpegts demuxer, and makes it a little more
tolerant of bad files.
patch by (Isaac Richards <ijr at po dot cwru dot edu>)

Originally committed as revision 2028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-10 09:04:04 +00:00
Garrick Meeker
d4f5d74a54 flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)
Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 23:10:59 +00:00
Michael Niedermayer
342474abd9 av_free_packet SEGV fix by (Arthur van Hoff (javanator))
Originally committed as revision 2013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-04 23:48:20 +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
cc74aafbc6 undefined local_port fix by (Giancarlo Formicuccia <ilsensine at inwind dot it>)
Originally committed as revision 2007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-04 09:14:14 +00:00
Michael Niedermayer
ce34182dd7 try to filter _all_ PATs if no SDT could be found patch by (<gbazin at altern dot org>)
+ mpegtsenc.c compile fix by me

Originally committed as revision 1995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-28 23:44:09 +00:00
Alex Beregszaszi
e3ee328330 tv standard selection support for dv1394 and grab (v4l)
Originally committed as revision 1987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-25 10:21:45 +00:00
Alex Beregszaszi
ccafe7b122 lossless jpeg support
Originally committed as revision 1981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 18:21:58 +00:00
Alex Beregszaszi
611d192ce0 warning fixes
Originally committed as revision 1980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 17:55:24 +00:00
Alex Beregszaszi
cad6f6cdee 1000l
Originally committed as revision 1979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 15:51:24 +00:00
Alex Beregszaszi
377ea75708 pal vs ntsc fix by stoyan k <stoyan@i-space.org>
Originally committed as revision 1978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-20 15:30:14 +00:00
Johannes Carlsson
2f4db4d5e5 amr typefix patch by (Johannes Carlsson <joca at rixmail dot se>)
Originally committed as revision 1972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-18 22:24:51 +00:00
François Revol
fb059921da cleanup; BSoundRecorder moved to Experimental namespace
Originally committed as revision 1960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-15 17:06:28 +00:00
Fabrice Bellard
5dbafeb7ba mpeg ts demux uses DVB SI info and generates correct PTS info - added prototype mpeg ts mux
Originally committed as revision 1956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-13 14:28:45 +00:00
Fabrice Bellard
39f472c3b6 dynamic array functions
Originally committed as revision 1955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-13 14:22:23 +00:00
Michael Niedermayer
7408ad05cc 10l
Originally committed as revision 1940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-09 19:11:50 +00:00
Fabrice Bellard
2af7e61032 use custom packet allocation only for DV
Originally committed as revision 1937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-07 18:36:27 +00:00
Zdenek Kabelac
067cbf313f * amr format - by Johannes Carlsson
Originally committed as revision 1934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-06 11:47:49 +00:00
Johannes Carlsson
14342fd537 * missing part of the 3gp patch by Johannes Carlsson
Originally committed as revision 1933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-06 11:46:25 +00:00
Zdenek Kabelac
bc634f6fc2 * 3gp patch by Joca
Originally committed as revision 1931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-05 14:30:52 +00:00
Michael Niedermayer
4b465299f3 4xm adpcm
Originally committed as revision 1928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-03 13:58:44 +00:00
Mike Melanson
73a19b2dae get the video dispatch straight
Originally committed as revision 1916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-28 23:50:00 +00:00
Mike Melanson
8e7284ba91 dispatch video as well as audio
Originally committed as revision 1914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-28 02:41:24 +00:00
Michael Niedermayer
9ca9fce1dd asv1 regression test
Originally committed as revision 1912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-27 22:43:34 +00:00
Mike Melanson
5a634a6952 allocate enough bytes
Originally committed as revision 1908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-26 20:53:09 +00:00
Michael Niedermayer
948f01ff1e 10l
Originally committed as revision 1906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-25 23:55:47 +00:00
Michael Niedermayer
4a106616a2 c frame size debug stuff
Originally committed as revision 1905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-25 23:41:25 +00:00
Mike Melanson
3c96b4ef38 add 4xm to the family
Originally committed as revision 1904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-25 05:18:30 +00:00
Mike Melanson
cef4ba9e8a first pass at an experimental 4xm demuxer
Originally committed as revision 1903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-25 05:07:36 +00:00
Falk Hüffner
4cfbf61bf1 Warning and compatibility fixes.
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-24 18:48:30 +00:00
Michael Niedermayer
d07f90433a truncated h263 decoding support / H263-ES "demuxer"
Originally committed as revision 1898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-22 14:12:22 +00:00
joca@rixmail.se
891f64b339 AMR-NB audio support patch by (<joca at rixmail dot se>)
Originally committed as revision 1876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 11:40:16 +00:00
Zdenek Kabelac
25fa62e13a * added s263 (mapped to h263 - 3gp files)
* less strict header detection - also do not call exit when it's not found.

Originally committed as revision 1864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 17:58:52 +00:00
Zdenek Kabelac
9ed83b0a93 * passing ImageDescriptions for SVQ3 (Vertical300K.sorenson works)
(IMHO only SMI chunk should be stored in extradata)

Originally committed as revision 1863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 15:39:38 +00:00
Zdenek Kabelac
fd6e513ee1 * uninitialized/unused vars cleanup
Originally committed as revision 1859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 11:07:46 +00:00
Zdenek Kabelac
5ca1d879bb * support for AAC audio (esds decoding - using extradata)
* using MOV_atom_t instead of 3 args
* chunk parsers ordered alphabeticaly

Originally committed as revision 1858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 10:59:18 +00:00
Michael Niedermayer
8b82a95675 svq3 decoder by anonymous
Originally committed as revision 1845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-09 22:16:14 +00:00
Roman Shaposhnik
631670888d * introducing new public interface in imgconvert.c
+ avcodec_get_pix_fmt
         converts textual representation of pixel format into
	 the actual id. Complements avcodec_get_pix_fmt_name.
       + avpicture_layout
         serializes given picture into a flat array.
	 Complements avpicture_fill.

   * adding a new option -pix_fmt to the ffmpeg, in order to control
     pixel format for the codecs that do support it, like rawvideo,
     for example.

   * reducing complexity of the rawvideo codec by splitting it in two
     and making it more reliable via hooking up to the avpicture_layout.
     Plus adding new FourCC as described here: http://www.fourcc.org

   * A tiny fix for avienc.c that makes avih and video strf consistent
     regarding codec FourCC.

Originally committed as revision 1842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 19:01:45 +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
Andriy Rysin
eb9ef61a81 prefers MP3 codec (rather than MP2) for output if
compiled with MP3LAME and output file seems to be of MP3 type patch by (Andriy Rysin <arysin at bcsii dot net>) with minor changes by me

Originally committed as revision 1834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 12:59:42 +00:00
Andriy Rysin
eeb67f400c mp3 codec autodetection patch by (Andriy Rysin <arysin at bcsii dot net>)
Originally committed as revision 1833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 10:56:23 +00:00
Mike Melanson
d86053a416 first pass at a new VP3 video decoder
Originally committed as revision 1831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 02:54:15 +00:00
Roman Shaposhnik
8c0ff5d5c2 * Making AVI encoding predictable (all JUNK chunks are filled with 0)
* Updating regression refs
 * Making server-regression.sh work on Solaris

Originally committed as revision 1818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-24 03:59:33 +00:00
Zdenek Kabelac
546031ee86 * keeping compiler happy and quiet
Originally committed as revision 1817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 18:38:34 +00:00
Zdenek Kabelac
b6a17df438 * simplified parameters for parse routines
Originally committed as revision 1816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 08:58:42 +00:00
Zdenek Kabelac
5d23497493 * more strict types
Originally committed as revision 1815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 08:56:14 +00:00
Roman Shaposhnik
e738cee9c4 Complete support for OpenDML AVIs and AVIs > 2Gb.
Originally committed as revision 1814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 02:04:40 +00:00
Zdenek Kabelac
5cd62665f0 * fixed initialization and some memleak
* filling more avcodecs variables
* extending/improving mov parsing (unfinished)

Originally committed as revision 1812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 08:36:39 +00:00
Zdenek Kabelac
693feac556 * filling bitdepth
Originally committed as revision 1811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 08:32:33 +00:00
Fabrice Bellard
a059da1227 transparency support
Originally committed as revision 1808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 21:18:51 +00:00
Fabrice Bellard
7e2e1abf6b replaced progressive by interleaved
Originally committed as revision 1807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 21:18:15 +00:00
Fabrice Bellard
41f53f8694 use correct YUV format for JPEG
Originally committed as revision 1804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 14:39:52 +00:00
Fabrice Bellard
cff5e386bf added progressive PNG support (both reading and writing)
Originally committed as revision 1797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 14:20:32 +00:00
Fabrice Bellard
3b1a27e04c added progressive image support
Originally committed as revision 1796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 14:19:17 +00:00
Fabrice Bellard
8b46d75e4a rgba32 support
Originally committed as revision 1795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-19 16:23:03 +00:00
Michael Niedermayer
5ae2c73e4d memleaks
Originally committed as revision 1793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-19 15:48:40 +00:00
Fabrice Bellard
8975ba81f8 added new netpbm pam format support (needed for alpha plane support)
Originally committed as revision 1792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-19 15:18:00 +00:00
François Revol
143d464416 Add latency check, the Media Kit shoul repport it, but this seems broken.
Originally committed as revision 1789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 16:22:12 +00:00
François Revol
6af6cf22c5 avoid detecting mpeg stream when other formats embed mp3 tracks.
Originally committed as revision 1788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 14:35:15 +00:00
Michael Niedermayer
22cf045590 we really shouldnt use M$* as default codec -> use MPEG4 as default
Originally committed as revision 1785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-17 19:56:33 +00:00
Mike Melanson
deabd4fdde native Indeo3 decoder implementation
Originally committed as revision 1777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-15 10:12:38 +00:00
Philip Gladstone
d86852d11c Clear out an unused field in the created AVI file. This helps make
the MD5 checksums *much* more predictable!!

Originally committed as revision 1762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 03:04:08 +00:00
Roman Shaposhnik
3e2937bef3 dv file format support patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-08 09:56:19 +00:00
Roman Shaposhnik
ce9fce63c5 AVI > 2Gb (OpenDML) generation patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-08 09:51:15 +00:00
Sebastien Bechet
53e27dd5de QT AVID 4CCs patch by ("Sebastien Bechet" <s dot bechet at av7 dot net>) (not tested)
Originally committed as revision 1737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-05 12:20:19 +00:00
Michael Niedermayer
0da71265d8 H264 decoder & demuxer
Originally committed as revision 1732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 14:42:28 +00:00
Michael Niedermayer
6aafe463e5 support for DV aspect ratio and erroneous audio patch by (Dan Dennedy (dan at dennedy dot org) and Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 13:45:45 +00:00
Roman Shaposhnik
deb0a292b0 AVI type 1 support patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-28 14:05:55 +00:00
François Revol
335338e884 the media node now won't connect itself to the default audio input with -ad wait:
(allows redirecting another node to it)

Originally committed as revision 1713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-27 15:08:16 +00:00
François Revol
788a2d3d8b experimental BeOS audio input support. (needs unreleased library)
Originally committed as revision 1712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-27 14:44:30 +00:00
François Revol
50515cddf3 cleanup; unused pipe() stuff removed.
Originally committed as revision 1711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-27 13:37:47 +00:00
Sebastien Bechet
e8b478c131 I420 patch by (Sebastien Bechet <s dot bechet at av7 dot net>)
Originally committed as revision 1710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 23:25:18 +00:00
Mark Hills
b88ba82315 ffserver deallocate ctx->streams on closing patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 1704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 10:30:08 +00:00
Roman Shaposhnik
06219cb194 OpenDML AVI > 2Gb support patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 09:28:52 +00:00
Michael Niedermayer
57d0375849 db video chunk in avi files support (idea by Dmitry Poplavsky <dima at thekompany dot com>)
Originally committed as revision 1693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-20 01:04:33 +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
Fred Rothganger
e8750b0076 rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 21:03:20 +00:00
Zdenek Kabelac
4a899dd689 * moved os_support.h into libavcodec
* added few more functions for os2

Originally committed as revision 1672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 18:57:33 +00:00
Michael Niedermayer
e0ece99ab9 sorry forgot
Originally committed as revision 1671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 18:45:50 +00:00
François Revol
d4ad24c17d Cleaner support for usleep()
Originally committed as revision 1668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 17:14:28 +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
Roman Shaposhnik
2e7973bbe7 correct AUDIO strf parsing patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 01:35:47 +00:00
Slavik Gnatenko
69db4e10f2 restoring OS/2 compatibility patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-11 12:09:13 +00:00
Michael Niedermayer
df99755bda fixing parsing of opendml avis
Originally committed as revision 1662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-11 02:03:40 +00:00
Alex Beregszaszi
ce2749d2c4 simplified
Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-09 16:07:19 +00:00
Michael Niedermayer
9145f8b386 10l
Originally committed as revision 1653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 23:39:53 +00:00
Michael Niedermayer
0bf79c2fcd fixing frame_rate accuracy
Originally committed as revision 1652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 14:29:12 +00:00
Michael Niedermayer
8a7b1b18e2 forgot ....
Originally committed as revision 1651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 11:54:34 +00:00
Michael Niedermayer
e23d5712ea wmv2 & huffyuv regression test
Originally committed as revision 1650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 11:50:26 +00:00
Michael Niedermayer
952c69c479 huffyuv encoding fixed
Originally committed as revision 1647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 11:21:33 +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
7004ffb3d7 merging fourcc with codec_tag
Originally committed as revision 1645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 01:40:52 +00:00
Michael Niedermayer
9bf9a5fcae reversing not yet reversed changes from r1.7 -> r1.8 except the static/const stuff
this seems to fix all avi parsing bugs
kabi, can u explain what this was good for?

Originally committed as revision 1644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-08 00:44:52 +00:00
Max Krasnyansky
bdfcbbed79 Frame rate emulation patch by (Max Krasnyansky <maxk at qualcomm dot com>)
Originally committed as revision 1641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-07 12:37:49 +00:00
Zdenek Kabelac
3a13f6bd48 * compile PNG only when ZLIB is available
Originally committed as revision 1609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-27 17:32:56 +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
François Revol
5082f759e0 prettier debug output
Originally committed as revision 1607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-25 13:12:41 +00:00
Mark Hills
a28fbb3fc8 ogg deallocate patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 1604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-25 09:36:53 +00:00
Fabrice Bellard
5d5fef0af1 avoid false URL protocol detection when using ':' in filenames
Originally committed as revision 1595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-21 11:08:08 +00:00
François Revol
d271b84bf7 Looks like this one was forgotten in the INT -> int_t move
Originally committed as revision 1584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-13 00:28:36 +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
cd66005dda raw ac3 auto detects parameters
Originally committed as revision 1566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 18:07:16 +00:00
Max Krasnyansky
9899efb41a variable UDP packet size patch by Max Krasnyansky
Originally committed as revision 1565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 18:06:23 +00:00
Mike Melanson
1e711bd603 hook this up to the CYUV decoder
Originally committed as revision 1564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 17:03:32 +00:00
Fabrice Bellard
84ab361f3e added 8 bit palette support for non animated GIF
Originally committed as revision 1562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 16:25:21 +00:00
Fabrice Bellard
3ce27f13b9 added 8 bit palette support
Originally committed as revision 1561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 16:22:06 +00:00
Fabrice Bellard
ec82011340 DV packet copy fix by Roman Shaposhnick
Originally committed as revision 1548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-06 22:34:55 +00:00
François Revol
cc0799e5f8 Fix against C integrists breaks :P (hope I didn't break anything else)
Originally committed as revision 1547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-06 15:09:39 +00:00
Philip Gladstone
79134973d8 Fix the 'hard cpu loop' problem when capturing audio from /dev/dsp. This
code now waits for up to 30ms before reporting that no packet is available.

Originally committed as revision 1546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-05 01:59:52 +00:00
Fabrice Bellard
85a57296cc yes, PNG can be simpler :-)
Originally committed as revision 1545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-04 23:44:26 +00:00
Fabrice Bellard
838dec4498 removing unused stuff
Originally committed as revision 1544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-04 23:43:14 +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
Fabrice Bellard
cdc90af008 added GIF image format (both read and write)
Originally committed as revision 1541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-03 22:53:10 +00:00
Fabrice Bellard
ba19f84810 added primitive image GIF encoder based on animated gif encoder
Originally committed as revision 1540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-03 22:52:38 +00:00
Fabrice Bellard
fcfa89e81c added automatic GIF/animated GIF probing - added GIF as an image format too - added interlaced gif support
Originally committed as revision 1539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-03 22:51:48 +00:00
Fabrice Bellard
fa7773216a avoid too many false detections
Originally committed as revision 1537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 20:04:03 +00:00
Fabrice Bellard
fe2a4ca379 fixed copy
Originally committed as revision 1535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 19:51:40 +00:00
Fabrice Bellard
0250738f13 added jpeg image encoder and decoder (new YUV handling routines and mjpeg codec fixes are necessary to go further)
Originally committed as revision 1534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 19:18:09 +00:00
Fabrice Bellard
12b64a2252 added animated GIF decoder (pts and various disposal handling are missing)
Originally committed as revision 1533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 19:16:51 +00:00
Fabrice Bellard
a26058a50d Try this fix
Originally committed as revision 1532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 15:54:11 +00:00
Fabrice Bellard
0e04e4e9e1 added basic png handling
Originally committed as revision 1529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 20:53:57 +00:00
Fabrice Bellard
f8d7b5f5f4 added basic png handling - do not remake dependencies automatically
Originally committed as revision 1528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 20:53:07 +00:00
Fabrice Bellard
43a7635d09 added stripped down libpng
Originally committed as revision 1527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-01 20:51:52 +00:00
Fabrice Bellard
9ec05e3680 added DVD LPCM decoding support
Originally committed as revision 1525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-31 17:04:46 +00:00
Michael Niedermayer
1d0d55daf4 --disable-risky support
Originally committed as revision 1522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 12:00:11 +00:00
Zdenek Kabelac
02d697aa5f * headers valid for C++ compilers
Originally committed as revision 1521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-28 20:20:38 +00:00
Fabrice Bellard
1501987b46 Audio support for DV1394 by Max Krasnyansky
Originally committed as revision 1516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 22:59:42 +00:00
Fabrice Bellard
425ed6e223 DV audio decoder by Roman Shaposhnick
Originally committed as revision 1514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 09:21:30 +00:00
Andriy Rysin
850742d785 audio only avi patch by (Andriy Rysin <arysin at bcsii dot net>)
Originally committed as revision 1513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 02:18:41 +00:00
Fabrice Bellard
a48835b9fe removed unneeded mallocs
Originally committed as revision 1508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-25 13:05:39 +00:00
Fabrice Bellard
e9a9e0c210 use av_strdup()
Originally committed as revision 1507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:34:29 +00:00
Fabrice Bellard
39f853afe9 use av_malloc()
Originally committed as revision 1502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 22:57:56 +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
a5df11ab1e dv1394 channel selection by Max Krasnyansky - modified channel number to be in base 10 by default
Originally committed as revision 1500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 18:44:26 +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
Fabrice Bellard
2a6874fd24 removed warnings
Originally committed as revision 1496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 09:52:30 +00:00
Max Krasnyansky
8aa3ee32c2 dv patch by Max Krasnyansky (maxk at qualcomm dot com)
Originally committed as revision 1493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-22 22:40:52 +00:00
Fabrice Bellard
7c235fe238 dependency handling is consistant with libavcodec
Originally committed as revision 1490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-22 09:53:25 +00:00
François Revol
7ed2dd2db4 removed redundant 4CC
Originally committed as revision 1467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 09:22:52 +00:00
François Revol
8b879f18d1 Fix probing for some files (ew.mov, april.mov)
Originally committed as revision 1466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 08:29:37 +00:00
Philip Gladstone
77b71ddc11 AUtomatic dependency generation. Runs on Linux (at least). Probably should
update .cvsignore (somehere) to exclude .d files

Originally committed as revision 1459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-14 15:30:42 +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
Fabrice Bellard
f746a04616 added url_get_filename()
Originally committed as revision 1438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:59:17 +00:00
Fabrice Bellard
0b9fb89d58 extracted yuv4mpeg from img.c (untested)
Originally committed as revision 1437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:58:36 +00:00
Fabrice Bellard
290c5fa640 added simple still image format support to simplify image and imagepipe video formats
Originally committed as revision 1436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:56:29 +00:00
Thomas Jarosch
f60f0df116 libav -> libavformat in Makefile patch by (Thomas Jarosch <tomj at simonv dot com>)
Originally committed as revision 1377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-30 01:07:47 +00:00
Michael Niedermayer
f560dd8279 huffyuv 4cc & -strict
(huffyuv still doesnt work with ffmpeg (it does work with mencoder though) someone should fix the avi de(muxer))

Originally committed as revision 1363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-27 11:42:52 +00:00
Ryutaroh Matsumoto
c6c11cb6c6 mimetype fixes patch by (Ryutaroh Matsumoto <ryutaroh at it dot ss dot titech dot ac dot jp>)
Originally committed as revision 1352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 23:10:58 +00:00
François Revol
1cef952731 Fix for odd strf tag in Stargate SG-1 - 3x18 - Shades of Grey.avi
Originally committed as revision 1350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 21:05:59 +00:00
François Revol
8ff323888c redid usleep() fix for BeOS, more consistant with the MINGW32 one. removed a TAB :P
Originally committed as revision 1349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 21:04:08 +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
François Revol
9ca7cfc5c4 Hey, not everyone has usleep() ! (temporary fix, we should check for this in configure)
Originally committed as revision 1343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 00:25:24 +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
Philip Gladstone
38758ab0cd * Add code to allow the img reader to read files at the nominal frame rate.
This (will) allow testing of ffserver in an automated way. The code is nasty
  in that it uses a global.......

Originally committed as revision 1331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-11 03:18:47 +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
Philip Gladstone
f694168d52 Fix a crash caused by a null coded_picture pointer in ffserver.
Originally committed as revision 1326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 02:53:55 +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
Philip Gladstone
042f24652e Added support for a realease function to eliminate the context blocks used
by each hook.

Originally committed as revision 1294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-30 17:16:32 +00:00
Fabrice Bellard
a1dfc201bd fixed 'file:' in URLs
Originally committed as revision 1290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-29 19:19:47 +00:00
Fabrice Bellard
a382b927ed fixed multidir compile
Originally committed as revision 1289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-29 14:56:03 +00:00
Philip Gladstone
4baca0690f More changes to make things compile on more platforms
Originally committed as revision 1287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-27 02:45:14 +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