summaryrefslogtreecommitdiff
path: root/libavformat/riff.c
Commit message (Collapse)AuthorAge
* Detect 'yuv2' as rawvideo also in avi.Carl Eugen Hoyos2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* v410 encoder and decoderDerek Buitenhuis2011-12-13
| | | | | | | | v410 is a packed 10-bit 4:4:4 YCbCr format used in QuickTime. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Dxtory capture format decoderKostya Shishkov2011-12-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cljr: add encoderPaul B Mahol2011-12-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Generalize RIFF INFO tag support; support reading INFO tag in wavVictor Vasiliev2011-11-26
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* VBLE DecoderDerek Buitenhuis2011-11-11
| | | | | | | | | Add a decoder for the VBLE Lossless Codec, which still has a cult following. Used to be popular several years ago on doom9. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* g726: use bits_per_coded_sample instead of bitrate to determine modeJustin Ruggles2011-11-01
| | | | | | | | | | This requires some workarounds in the WAV muxer and demuxer. We need to write the correct bits_per_coded_sample and block_align in the muxer. In the demuxer, we cannot rely on the bits_per_coded_sample value, so we use the bit rate and sample rate to determine the value. This avoids having the decoder rely on AVCodecContext.bit_rate, which is not required to be set by the user for decoding according to our API.
* Ut Video decoderKostya Shishkov2011-10-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_headerJohn Brooks2011-10-14
| | | | | | | | | | | | | | The cbSize field should be included in all cases, even with PCM where its value is ignored. Fixes encoding PCM audio in Matroska for some players which insist on a full WAVEFORMATEX structure for A_MS/ACM audio. Since fate uses wav files for the audio test a larger number of tests has changed checksums or shifted positions due to the 2 byte longer wave header. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Synchronize various 4CCs and codec tags from FFmpeg.Diego Biurrun2011-10-04
|
* Windows Media Image decoder (WMVP/WVP2)Alberto Delmás2011-08-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* riff: Add mpgv MPEG-2 fourccAlex Converse2011-07-22
| | | | Supported by mplayer and seen in the wild.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* riff/img2: Add JPEG 2000 codec IDs.Kamil Nowosad2011-06-21
|
* riff: Add DAVC fourcc.ami_stuff2011-06-21
| | | | | This fourcc is used by the "mpegable AVC" codec and files encoded with this codec decode correctly with our H.264 decoder.
* riff: Add M263, XVIX, MMJP, CDV5 fourccs.Carl Eugen Hoyos2011-06-21
|
* rawvideo: Support auv2 fourcc.ami_stuff2011-06-21
|
* riff: Fix potential memleak.Alex Converse2011-06-09
| | | | | Make ff_get_wav_header() free existing extradata before allocing a new buffer.
* Make ffmpeg support generic data streamLuca Barbato2011-05-03
| | | | The patch is the first step to support -dcodec copy
* handle malloc failures in ff_get_wav_headerMax Horn2011-04-14
| | | | | | | | | | | ff_get_wav_header is reading data from a WAVE file and then uses it (without validation) to malloc a buffer. It then proceeded to read data into the buffer, without verifying that the allocation succeeded. To address this, change ff_get_wav_header to return an error if allocation failed, and adapted all calling code to handle that error. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Parse sprite data for WMVP and WVP2, and decode sprites for the latterAlberto Delmás2011-04-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add audio codec 0x1600 (ADTS AAC)Peter Ross2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: use a new ffio_wfourcc macro instead of put_tag() where possibleAnton Khirnov2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add audio codec 0x1602 (AAC LATM)Peter Ross2011-01-09
| | | | Originally committed as revision 26273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Lagarith decoder by Nathan Caldwell, saintdev at gmailCarl Eugen Hoyos2011-01-08
| | | | Originally committed as revision 26270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set blkalign to 3840 (maximum bytes per frame) for AC-3 in avi.Carl Eugen Hoyos2011-01-06
| | | | | | Fixes playback for corner-cases like 32kHz 320kb. Originally committed as revision 26242 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move ff_get_bmp_header under CONFIG_DEMUXERS blockPeter Ross2011-01-01
| | | | Originally committed as revision 26182 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set blkalign to maximum framesize to allow playback on WMP (see issue 2455 ↵Carl Eugen Hoyos2010-12-30
| | | | | | and issue 2446). Originally committed as revision 26167 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ff_get_bmp_headerPeter Ross2010-12-26
| | | | Originally committed as revision 26091 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FourCC yuvs for rawvideo (PIX_FMT_YUYV422).Andrew Wason2010-11-29
| | | | | | Patch by Andrew Wason, rectalogic rectalogic com Originally committed as revision 25853 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add G.722 to RIFF codec listPeter Ross2010-11-28
| | | | Originally committed as revision 25837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make WMV3 decoder attempt to decode WMVP as wellKostya Shishkov2010-09-26
| | | | Originally committed as revision 25209 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add R10k decoder.Zhou Zongyi2010-09-13
| | | | | | | Original patch by Zhou Zongyi, zhouzy A os pku edu cn, resubmitted by James Darnley, james.darnley gmail, changes by me. Originally committed as revision 25115 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add WAWV fourcc, works on V-codecs/WAWV.aviBen Littler2010-08-30
| | | | Originally committed as revision 24991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make MP43 the default fourcc for msmpeg4v3:Carl Eugen Hoyos2010-07-20
| | | | | | DIV3 is not supported on default XP and Vista installations (MP43 is). Originally committed as revision 24343 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added M701 codec_tag for mpeg2videoTomas Härdin2010-06-07
| | | | Originally committed as revision 23513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Samsung uses SIPP as FourCC for MPEG-4 ASP.Carl Eugen Hoyos2010-05-25
| | | | Originally committed as revision 23309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing codec id <-> codec tag entries:Stefano Sabatini2010-05-24
| | | | | | | | | | | | CODEC_ID_RAWVIDEO <-> Y41B CODEC_ID_RAWVIDEO <-> Y42B CODEC_ID_RAWVIDEO <-> YUV9 CODEC_ID_RAWVIDEO <-> YVU9 These codec tags are listed in fourcc.org, and are already listed in libavcodec/raw.c:ff_raw_pix_fmt_tags as AVI tags. Originally committed as revision 23296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VP80 fourccGoogle2010-05-19
| | | | | | Patch by Google Originally committed as revision 23193 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add NV12 and NV21 AVI tags.Stefano Sabatini2010-05-16
| | | | | | Both are listed in fourcc.org. Originally committed as revision 23145 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FourCC MJPG for CODEC_ID_JPEGLS.Francesco Lavra2010-05-09
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 23076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support to the Y411 codec tag, corresponding to the rawvideo pixelStefano Sabatini2010-05-09
| | | | | | | | format uyyvyy411. The codec tag is referenced in fourcc.org. Originally committed as revision 23072 to svn://svn.ffmpeg.org/ffmpeg/trunk