Commit Graph

181 Commits

Author SHA1 Message Date
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