summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* matroskaenc: set the stream timebase earlierAnton Khirnov2014-05-29
| | | | Fixes calculating the ts offset for audio codecs with delay.
* flvenc: only write the framerate tag based on avg_frame_rateAnton Khirnov2014-05-29
| | | | | Do not fall back on the codec timebase, since that can be anything for VFR video.
* movenc: write avg_frame_rate as the framerate, not the codec timebaseAnton Khirnov2014-05-29
|
* matroskaenc: base DefaultDuration on the framerate, not the codec timebaseAnton Khirnov2014-05-29
| | | | | | This results in DefaultDuration not being written when the framerate is not known, but as this field is purely informative, this should not break any sane demuxers.
* nut: Support experimental NUT 4 featuresLuca Barbato2014-05-28
| | | | | | | Add the low overhead pipe mode and the extended broadcast mode. Export the options as 'syncponts' since it impacts only that. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avformat: Provide a standard compliance flagLuca Barbato2014-05-28
| | | | | | Provide f_strict for avconv usage. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* oggenc: Fix the EOS flagMichael Niedermayer2014-05-28
| | | | | | | | | | | This corrects the bug that caused the checksums to change in 9767d7c092c890ecc5953452e8a951fd902dd67b. It caused the EOS flag to be set incorrectly; the ogg spec does not allow it to be set in the middle of a logical bitstream. Signed-off-by: Andrew Kelley <superjoe30@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskaenc: write the channel mask for FLACAnton Khirnov2014-05-28
|
* vorbiscomment: simplify API by using av_dict_count()Anton Khirnov2014-05-28
|
* matroskadec: parse the channel layout mask for FLACAnton Khirnov2014-05-28
| | | | It is commonly stored in a vorbiscomment block in codec private data.
* matroskadec: export just the STREAMINFO block as FLAC extradataAnton Khirnov2014-05-28
| | | | | It contains all information that is used by the decoder and the other FLAC-capable demuxers (flacdec, ogg) export only STREAMINFO as well.
* matroskadec: split parsing tracks into a separate functionAnton Khirnov2014-05-28
|
* flac: make avpriv_flac_parse_block_header() inlineAnton Khirnov2014-05-28
| | | | | | This avoids all the ABI troubles associated with avpriv_. Since this function is very small and does not depend on any tables, making it inline should have no adverse effects.
* flac muxer: write WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag for multichannel filesAnton Khirnov2014-05-28
|
* flac demuxer: parse the WAVEFORMATEXTENSIBLE_CHANNEL_MASK tagAnton Khirnov2014-05-28
| | | | It is used to store the channel mask for non-standard layouts.
* oggenc: Flush after writing headersAndrew Kelley2014-05-27
| | | | | | | | | | | | | Before, header information for ogg format files was sent with the first encoded packet. This patch makes it so that it is possible for API users to differentiate between headers and encoded audio. This is useful, for example, when creating an audio stream where you want to send one set of headers for every client that connects and then the encoded stream of audio. Signed-off-by: Martin Storsjö <martin@martin.st>
* oggenc: Move ogg_write_pages up above ogg_write_headerAndrew Kelley2014-05-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* smoothstream: check malloc callsNidhi Makhijani2014-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rdt: check malloc callsNidhi Makhijani2014-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: add av_stream_get_side_dataJanne Grunau2014-05-20
|
* mov: store display matrix in a stream side dataVittorio Giovara2014-05-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: deprecate now unused AVStream.ptsAnton Khirnov2014-05-19
|
* mux: drop one of the hacks comprising compute_pkt_fields2()Anton Khirnov2014-05-19
| | | | All encoders should output proper timestamps now.
* movenc: use the "encoder" metadata tag to write stsd CompressornameAnton Khirnov2014-05-18
| | | | | This mirrors the demuxer behaviour and avoids accessing AVCodecContext.codec, which should not be done in muxers.
* wavenc: use codec descriptors to get the codec nameAnton Khirnov2014-05-18
| | | | Also, return a proper error code.
* dv: do not set codec timebaseAnton Khirnov2014-05-18
| | | | | It is not supposed to be set from outside of libavcodec. Set average framerate instead.
* lavf: extend avg_frame_rate documentation.Anton Khirnov2014-05-18
|
* avienc: sanitize variable naming in write_header()Anton Khirnov2014-05-18
| | | | | | Do not call an AVCodecContext 'stream', that is highly confusing. Also, add a local variable for the current AVStream in the loop over all streams.
* yop: only set extradata size after it has been successfully allocatedAnton Khirnov2014-05-18
| | | | Do not leave a non-zero extradata_size set on failure
* yuv4mpegdec: do not set coded_frame propertiesAnton Khirnov2014-05-18
| | | | | | coded_frame is not meant to be changed from outside of lavc, and is not used for decoding. Set AVCodecContext.field_order instead.
* yuv4mpeg: split the demuxer and muxer into separate filesAnton Khirnov2014-05-18
|
* a64: check that extradata exists before reading from itAnton Khirnov2014-05-18
|
* a64: remove unneeded struct qualifierAnton Khirnov2014-05-18
|
* 4xm: allocate extradata properly.Anton Khirnov2014-05-18
| | | | Pad it with the required amount of zeros, check for malloc failure.
* riff: Pass block_align to estimate frame durationnu7742014-05-17
| | | | | | Fix incorrect wSamplesPerBlock(=0) written for ADPCM_IMA_WAV Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hlsenc: Set the default codecs to AAC and H264Martin Storsjö2014-05-17
| | | | | | Most HLS implementation only support these codecs. Signed-off-by: Martin Storsjö <martin@martin.st>
* avisynth: set duration of audio streamsHendrik Leppkes2014-05-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: drop the zero-sized packets hackAnton Khirnov2014-05-15
| | | | | | There should not be any valid reason anymore for passing completely empty packets to lavf. OTOH side data-only packets can be useful.
* lavf: add AVFMT_FLAG_BITEXACT.Anton Khirnov2014-05-15
| | | | | | | | Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's codec context. Using codec options inside lavf is fragile and can easily break when the muxing codec context is not the encoding context.
* lavf: properly document the distinction between flags and ctx_flagsAnton Khirnov2014-05-14
|
* build: handle library dependencies in configureJanne Grunau2014-05-13
| | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* rtmpproto: Check the buffer sizes when copying app/playpath stringsMartin Storsjö2014-05-08
| | | | | | | As pointed out by Reimar Döffinger. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Support alternative slist parameter in rtmp URLsUwe L. Korn2014-05-06
| | | | | | | | | | | | Support the URL scheme where the playpath is in an RTMP URL is passed as the slist argument and the app is given infront of the query part of the URL: rtmp://host[:port]/[app]?slist=[playpath] (other arguments in the query part are stripped as they are not used) Signed-off-by: Martin Storsjö <martin@martin.st>
* probe: Support AAC_LATM in set_codec_from_probe_dataLuca Barbato2014-05-03
|
* latm: Add a probe functionLuca Barbato2014-05-03
|
* rmdec: do not export anything to AVCodecContext.codec_nameAnton Khirnov2014-05-01
| | | | | That field will be deprecated and the value that is written there is not particularly useful.
* asfenc: use codec descriptors instead of AVCodecs to write codec infoAnton Khirnov2014-05-01
| | | | | | | | Also, stop using AVCodecContext.codec_name as fallback, since it will be deprecated. Changes the result of the lavf-asf test (and its associated seektest), since 'msmpeg4v3' gets written instead of just 'msmpeg4'.
* oggparseskeleton: do not use AVCodecContext.codec_nameAnton Khirnov2014-05-01
| | | | That field is undocumented, of dubious use, and will be deprecated.
* mov: export stsd Compressorname in metadataAnton Khirnov2014-05-01
| | | | | Stop using the undocumented to-be-deprecated AVCodecContext.codec_name field.
* matroska: add the Opus mappingAnton Khirnov2014-05-01
|