summaryrefslogtreecommitdiff
path: root/libavformat/riff.c
Commit message (Collapse)AuthorAge
* riff: Move functions around to be covered by appropriate #ifdefsDiego Biurrun2012-10-18
| | | | This fixes compilation with --disable-muxers.
* riff: do not write empty INFO tagsVictor Vasiliev2012-10-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: move RIFF INFO tag writing from avienc to riffVictor Vasiliev2012-10-16
| | | | | | It will be useful in the wav muxer. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* riff: Add SVQ3 fourccDerek Buitenhuis2012-09-14
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* MSS2 decoderAlberto Delmás2012-08-31
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Canopus Lossless decoderDerek Buitenhuis2012-08-01
| | | | | | At the moment it only does BGR24, but I plan to add the rest after. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* MS Expression Encoder Screen decoderKostya Shishkov2012-07-13
|
* TechSmith Screen Codec 2 decoderKostya Shishkov2012-07-11
|
* MS ATC Screen (aka MSS3) decoderKostya Shishkov2012-07-02
|
* MS Screen 1 decoderKostya Shishkov2012-06-20
|
* Indeo Audio decoderKostya Shishkov2012-06-05
|
* riff: use bps instead of bits_per_coded_sample in the WAVEFORMATEXTENSIBLE ↵Justin Ruggles2012-04-17
| | | | | | | header This matches the value for the plain WAVEFORMATEX header. Also fixes stream copy to WAVE for non-16-bit raw pcm.
* ZeroCodec DecoderDerek Buitenhuis2012-03-19
| | | | | | | | An obscure Japanese lossless video codec, originally intended for use with a remote desktop application. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* riffenc: use av_get_audio_frame_duration()Justin Ruggles2012-03-05
| | | | | | For encoding, frame_size is not a reliable indicator of packet duration. Also, we don't want to have to force the demuxer to find frame_size for stream copy to work.
* riff: fix invalid av_freep() calls on EOF in ff_read_riff_infoJanne Grunau2012-01-22
|
* riff: remove references to sonic codec idsAnton Khirnov2012-01-12
| | | | They are deprecated and will be purged on next major bump.
* 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