summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avio: exit early in fill_buffer without read_packetJanne Grunau2012-01-04
| | | | | | | Fixes an invalid free() with ass in avi. The sample in bug 98 passes parts of AVPacket.data as buffer for the AVIOContext. Since the packet is quite large fill_buffer tries to reallocate the buffer before doing nothing. Fixes bug 98.
* adx: add an adx muxerJustin Ruggles2012-01-03
|
* adx: add AVFMT_GENERIC_INDEX to demuxer flags.Justin Ruggles2012-01-03
| | | | fixes seeking
* lavf: flush decoders in avformat_find_stream_info().Anton Khirnov2012-01-03
| | | | | This means that avformat_find_stream_info() now works properly with multiple threads, so there's no need to force thread count to 1.
* Fix a bunch of typos.Diego Biurrun2012-01-02
|
* Drop some pointless void* return value casts from av_malloc() invocations.Diego Biurrun2012-01-02
|
* mpegenc: simplify muxrate calculationJanne Grunau2012-01-02
| | | | | | | The fate-h264-bsf-mp4toannexb failures were caused by an integer overflow of the unneeded multiplication. Inspired by patch by: Michael Niedermayer <michaelni@gmx.at>
* rawdec: Set start_time to 0 for raw audio files.Reimar Döffinger2012-01-01
| | | | | | | None of the raw audio files have timestamps, thus setting start_time to 0 should be reasonable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Detect 'yuv2' as rawvideo also in avi.Carl Eugen Hoyos2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* threads: default to automatic thread count detectionJanne Grunau2011-12-31
|
* applehttpproto: Apply the same reload interval changes as for the demuxerAndrey Utkin2011-12-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Use half the target duration as interval if the playlist didn't ↵Martin Storsjö2011-12-29
| | | | | | | | | update This is mandated in draft-pantos-http-live-streaming-07, section 6.3.4. Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Use the last segment duration as reload intervalAndrey Utkin2011-12-29
| | | | | | | | According to draft-pantos-http-live-streaming-07, 6.3.4, the duration of the last media segment in the playlist should be used as initial minimum reload delay. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: adjustable minimum PES payloadJindřich Makovička2011-12-28
| | | | | | | | | | | | With the current default PES packet size, and very small audio bitrates, audio packet duration gets too long. For players, which wait for a whole audio packet (or more) it takes a very long time to start playing sound. For 24kbps audio, one PES packet is about 1 second long. On Motorola STBs, we observe about 3 second delay before the playback starts with the default setting. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegts: properly output large audio packetsJindřich Makovička2011-12-28
| | | | | | | | Do not assume the audio packets being always smaller than DEFAULT_PES_PAYLOAD_SIZE. Signed-off-by: Jindřich Makovička <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avformat: Add SMJPEG demuxer.Paul B Mahol2011-12-28
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* build: fix standalone compilation of OMA muxerDiego Biurrun2011-12-23
| | | | The muxer depends on the id3v2 writing code, so link against it.
* build: fix standalone compilation of Microsoft XMV demuxerDiego Biurrun2011-12-23
| | | | The demuxer depends on the RIFF codec tags code, so link against it.
* build: fix standalone compilation of Core Audio Format demuxerDiego Biurrun2011-12-23
| | | | | The demuxer depends on code from mov.c, which in turn depends on code from mov_chan.c, so link against it.
* mov: Don't stick the QuickTime field ordering atom in extradata.Alex Converse2011-12-21
| | | | | | The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. MJPEG supports non field based extradata, and this data should be preserved when copying.
* asfdec: add side data to ASFStream packet instead of output packet.Justin Ruggles2011-12-21
| | | | fixes memleak of side data
* idroqdec: set AVFMTCTX_NOHEADER and create streams as they occur.Justin Ruggles2011-12-21
| | | | | | This fixes demuxing of file where the first packet is not audio. Such files are generated by our idroq muxer. It also fixes demuxing of audio only idroq files.
* flvdec: Add param change side data if the sample rate or channels have changedMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Add a utility function for adding parameter change side dataMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Export new AAC/H.264 extradata as side data on the next packetMartin Storsjö2011-12-21
| | | | | | | | | | | | | | | | | | Compared to just overwriting the old extradata, this has the advantage of letting the decoder know exactly when the extradata changed (otherwise it is changed immediately when the new extradata packet is demuxed, even if there's old queued packets awaiting to be decoded). This makes it easier for decoders to actually react to the change, so they won't have to inspect the extradata for each packet to see if it might have changed. This works when sequentially playing a file with sample rate changes, but if seeking past a new extradata packet in the file, it obviously doesn't work properly. That case doesn't work in flash player either, so it's probably ok not to handle it. Signed-off-by: Martin Storsjö <martin@martin.st>
* flacdec: skip all track indices at once instead of looping.Paul B Mahol2011-12-21
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mxf: Add PictureEssenceCoding UL for V210.Tomas Härdin2011-12-21
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mxfdec: consider QuantizationBits between 17 and 24 to be pcm_s24*Tomas Härdin2011-12-21
| | | | | | This fixes playback of BRD38772509.mxf. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container.Daniel Kristjansson2011-12-21
| | | | | | | Support Main Profile at High 1440 Level in MXF container, using essence coding label from SMPTE RDD 9, table 6. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mxf: H.264/MPEG-4 AVC Intra supportBaptiste Coudurier2011-12-21
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* network: properly declare WSADATA in windowsSergey Radionov2011-12-21
| | | | | | Fixed "ISO C90 forbids mixed declarations and code" in ff_network_init Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* nut: support 10bit YUVLuca Barbato2011-12-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* oma: make header compile standaloneDiego Biurrun2011-12-20
|
* mpegts: Suppress invalid timebase warnings on DMB streams.Alex Converse2011-12-20
| | | | timestamp_len and timestamp_res intialize to zero.
* mpegts: Fix typo in handling sections in the PMT.Alex Converse2011-12-20
| | | | | This was an error rebasing 4682a1dc3aa2554ad7077f5db32d0f2d598d018e for commit. The "pes" variable guaranteed to be NULL in that block.
* mpegts: rename payload_index to payload_sizeLuca Barbato2011-12-19
| | | | It holds the size of the current payload.
* segment: introduce segmented chain muxerLuca Barbato2011-12-19
| | | | It behaves similarly to image2 muxer
* lavf: force threads to 1 in avformat_find_stream_info()Anton Khirnov2011-12-18
| | | | | Fixes avformat_find_stream_info() on streams with number of frames < thread count.
* lavf: add OpenMG audio muxer.Michael Karcher2011-12-18
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* omadec: split data that will be used in the muxer to a separate file.Anton Khirnov2011-12-18
|
* lavf: rename oma.c -> omadec.cAnton Khirnov2011-12-18
|
* mpegts: replace some magic numbers with the existing defineVladimir Pantelic2011-12-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Rudimentary IODs support.Alex Converse2011-12-15
|
* flvenc: Support muxing 16 kHz nellymoserMartin Storsjö2011-12-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* westwood: Make sure audio header info is present when parsing audio packetsShitiz Garg2011-12-15
| | | | | | | | | | Audio header information might get scrambled and would not parse, yet wsqva_read_packet would try to parse audio packets causing segfaults such as floating point exception. Fixes bugzilla #141. Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Properly clean up if unable to probe a segmentMartin Storsjö2011-12-14
| | | | | | | | | This avoids a segfault if the probe function wasn't able to determine the format. The bug was found by Panagiotis H.M. Issaris. Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Avoid reading uninitialized memoryMartin Storsjö2011-12-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>
* lavf: dealloc private options in av_write_trailerLuca Barbato2011-12-13
| | | | Fix the iformat/oformat typo.
* build: move inclusion of subdir.mak to main subdir loopMans Rullgard2011-12-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>