summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* http: Consider the stream as seekable if the reply contains Accept-Ranges: bytesStefan Fritsch2011-09-04
| | | | | | | | | | | | The initial request contains "Range: 0-", which servers normally have responded with "HTTP/1.1 206 Partial Content" reply with a Content-Range header, which was used as indicator for seekability. Apache, since 2.2.20, responds with "HTTP/1.1 200 OK" for these requests, which is more friendly to caches and proxies, but the seekability still is indicated via the Accept-Ranges: bytes header. Signed-off-by: Martin Storsjö <martin@martin.st>
* nutenc: add namespace to the api facing functionsLuca Barbato2011-09-04
| | | | | Rename write_{header,packet,trailer} to nut_write_{header,packet,trailer} in order to make easier debugging them.
* lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.Anton Khirnov2011-09-03
|
* AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().Anton Khirnov2011-09-03
| | | | | It allows to search for options only with AVClass, without allocating the corresponding context.
* isom: add missing AVC-Intra tags, rearrange list and update commentsTomas Härdin2011-08-29
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Use deinterleavers for demangling audio packets in RealMedia.Kostya Shishkov2011-08-27
| | | | | | | | | | Unlike other containers RealMedia stores its audio packets in scrambled form, with interleaver ID preceeding audio codec ID. Currently deinterleaving decision is tied to the codec while it's possible to have non-default deinterleaver with audio codec (like Int0 deinterleaver instead of specific one for Sipro). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()Stefano Sabatini2011-08-26
| | | | | | | The new function provides a more generic interface than av_fifo_peek() for peeking at a FIFO buffer data. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-26
|
* xmv: eliminate superfluous zeroing of zero dataSven Hesse2011-08-26
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mp4: Handle non-trivial ES Descriptors.Alex Converse2011-08-25
|
* lavf utils: Fix bad indentation.Alex Converse2011-08-23
|
* Windows Media Image decoder (WMVP/WVP2)Alberto Delmás2011-08-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: use libx264 by default when possible for mov, mp4 and pspAnton Khirnov2011-08-22
|
* avienc: saner default audio codec.Anton Khirnov2011-08-22
| | | | libmp3lame if available, ac3 otherwise.
* matroskaenc: saner default codecs.Anton Khirnov2011-08-22
| | | | libvorbis/libx264 for video if available, otherwise ac3/mpeg4.
* WavPack demuxer: do not rely on index when timestamp is not in indexed range.Kostya Shishkov2011-08-21
| | | | | | | | | This fixes the situation when there are not enough entries in the index (e.g. on initial seek there's only one index entry in the index) and index search returns just the last known entry. That causes seeking function just to seek there instead of trying harder to get at the requested position. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* WavPack demuxer: store position of the first block in index.Kostya Shishkov2011-08-21
| | | | | | | Currently for multichannel audio position for the last block position is stored in index (and used for seeking), which is obviously not correct. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* add XMV demuxerSven Hesse2011-08-17
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rmdec: parse FPS in RealMedia properlyKostya Shishkov2011-08-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Use parsers for RealVideo 3/4 to determine correct PTSKostya Shishkov2011-08-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rmdec: correct DTS calculation in RealMedia container.Kostya Shishkov2011-08-17
| | | | | | | | First, container stores only DTS and not PTS as it was believed. Second, multiple frames in a packet store timestamp instead of position after the frame length. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskaenc: vertical alignment.Anton Khirnov2011-08-16
|
* matroskaenc: implement query_codec()Anton Khirnov2011-08-16
|
* lavf: add avformat_query_codec().Anton Khirnov2011-08-16
| | | | It allows to check if a given codec can be written into a container.
* flvenc: use int64_t to store offsetsLuca Barbato2011-08-16
| | | | | | | | Metadata currently is written only at the start of the file in normal cases, when transcoding from a rtmp source metadata could be written later and the offset recorded can exceed 32bit. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Do not write ID3v1 tags by defaultDiogo Franco2011-08-16
| | | | | | | | | | ID3v1 are legacy tags with several limitations; furthermore avconv/ffmpeg writes the tags in UTF-8 which probably has near-0 software support. Add a -write_id3v1 option to be able to turn it on; disabled by default. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegts: log into an AVFormatContext rather than MpegTSContext.Alex Converse2011-08-16
| | | | MpegTSContext's AVClass member can be NULL.
* movenc: change AV_LOG_INFO to AV_LOG_WARNING for some warningsAnton Khirnov2011-08-16
|
* lavf,lavd: remove all usage of AVFormatParameters from demuxers.Anton Khirnov2011-08-15
| | | | | | AVFormatParameters are converted into corresponding private options in av_open_input_file/stream() compat wrappers, so accessing them from demuxers is redundant.
* Remove redundant and dubious video codec detection by its extradataKostya Shishkov2011-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavf: add support for error_recognition, use it in avidec, and bump minor ↵Dustin Brody2011-08-12
| | | | | | API version Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Rename ffserver to avserver.Anton Khirnov2011-08-09
|
* applehttp: fix variant discard logicLuca Barbato2011-08-04
| | | | | | | The v->ctx is always not NULL now, check for streams presence to mark the read_header state. Fixes bug #25, possibly introduced by 603b8bc
* lavf: Add an option to discard corrupted framesZohar Kelrich2011-08-02
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Mark wrongly-sized packets as corruptedZohar Kelrich2011-08-02
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Move scan test to handle_packetsZohar Kelrich2011-08-02
| | | | | | | | This fixes an issue where packets which start being read while reading the header stick around after a seek. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Mark corrupted packetsZohar Kelrich2011-08-02
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Reset continuity counter on seekZohar Kelrich2011-08-02
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Fix for continuity counterZohar Kelrich2011-08-02
| | | | | | | | Make continuity counter respect discontinuity flag and null packets. Unpack the adaptation_field_control field. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Silence "can't seek" warning on unseekableZohar Kelrich2011-08-02
| | | | | | | | Do not try to seek when we already know we are not allowed to. Silences warning that always happens when streaming. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata.Alex Converse2011-07-29
| | | | This prevents out of bounds reads when extradata is being decoded.
* probe: Fix insane flow control.Alex Converse2011-07-29
| | | | A loop control variable was shadowed inside the loop and never updated.
* mpegts: remove invalid error checkMike Williams2011-07-29
| | | | | | | | mpegts_read_header is used by both mpegts and mpegtsraw, so this erro check is no longer valid. Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: add forgotten attribute_deprecated to av_find_stream_info()Anton Khirnov2011-07-28
|
* ape: adjust some printf format strings to correctly match argument typesDiego Biurrun2011-07-26
|
* riff: Add mpgv MPEG-2 fourccAlex Converse2011-07-22
| | | | Supported by mplayer and seen in the wild.
* rtp: remove disabled codeDiego Biurrun2011-07-21
|
* mov: add clcp type track as Subtitle stream.Thierry Foucu2011-07-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* matroskadec: fix integer underflow if header length < probe length.Chris Evans2011-07-19
| | | | | | This fixes a crash with specifically crafted files. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rtsp: remove disabled codeDiego Biurrun2011-07-18
|