summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* 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>
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-12
|
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-12
|
* lavf: add avformat_close_input().Anton Khirnov2011-12-12
| | | | | | | It sets the supplied AVFormatContext pointer to NULL after freeing it, which is safer and its name is consistent with other lavf functions. Also deprecate av_close_input_file().
* lavf: deprecate av_close_input_stream().Anton Khirnov2011-12-12
| | | | And remove all its uses.
* lavf doxy: add some basic demuxing documentation.Anton Khirnov2011-12-12
|
* lavf doxy: add some general lavf information.Anton Khirnov2011-12-12
|
* lavf doxy: add misc utility functions to a group.Anton Khirnov2011-12-12
|
* lavf doxy: add av_guess_codec/format to the encoding group.Anton Khirnov2011-12-12
|
* lavf doxy: add core functions to a doxy group.Anton Khirnov2011-12-12
|
* lavu: replace int/float punning functionsMans Rullgard2011-12-11
| | | | | | | | | | | | | | | | | | The existing functions defined in intfloat_readwrite.[ch] are both slow and incorrect (infinities are not handled). This introduces a new header with fast, inline conversion functions using direct union punning assuming an IEEE-754 system, an assumption already made throughout the code. The one use of Intel/Motorola extended 80-bit format is replaced by simpler code sufficient under the present constraints (positive normal values). The old functions are marked deprecated and retained for compatibility. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove extraneous semicolonsMans Rullgard2011-12-11
| | | | | | These semicolons cause invalid empty top-level declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
* sdp: Restore the original mp4 format h264 extradata if convertedMartin Storsjö2011-12-11
| | | | | | | | | If the sdp is generated before the rtp muxer is initialized (e.g. as when called from the rtsp muxer), this has to be done, otherwise the rtp muxer doesn't know that the input really is in mp4 format. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add support for mp4 format h264Luca Abeni2011-12-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Simplify code by introducing a separate end pointerMartin Storsjö2011-12-11
| | | | | | Also remove redundant parentheses. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Use the actual converted sample for RTP hintingMartin Storsjö2011-12-11
| | | | | | | | | | | | | If an annex b bitstream is muxed into mov, the actual written sample is reformatted to mp4 syntax before writing. Currently, the RTP hints that copy data from the normal video track, where the payload data might be offset compared to the original sample that the RTP hinting used (when 3 byte annex b startcodes have been converted into 4 byte mp4 format startcodes). Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* rawdec: don't set codec timebase.Anton Khirnov2011-12-10
| | | | | It's not supposed to be set outside of lavc. Set r_frame_rate and avg_frame_rate instead.
* lavf doxy: add muxing stuff to lavf_encoding groupAnton Khirnov2011-12-10
|