summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavc: deprecate unused me_threshold fieldAnton Khirnov2014-10-18
|
* lavc: make rc_buffer_aggressivity/rc_initial_cplx into private options of ↵Anton Khirnov2014-10-18
| | | | mpegvideo encoders
* lavc: make rc_eq into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make rc_qmod_* into private options of mpegvideo encodersAnton Khirnov2014-10-18
|
* lavc: make rc_qsquish a private option of mpegvideo encodersAnton Khirnov2014-10-18
|
* resample: Avoid off-by-1 errors in PTS calcs.Timothy B. Terriberry2014-10-18
| | | | | | | | | | | The rounding used in the PTS calculations in filter_frame() does not actually match the number of samples output by the resampler. This leads to off-by-1 errors in the timestamps indicating gaps and underruns, even when the input timestamps are all contiguous. Bug-Id: 753 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* urlprotocol: remove unused url_interrupt_cb declarationAnton Khirnov2014-10-18
| | | | It is a remnant of the old interrupt callback API.
* rtmpproto: Add pause supportUwe L. Korn2014-10-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Track last received timestampUwe L. Korn2014-10-17
| | | | | | | | Some RTMP commands need the most recent timestamp as their parameter, so keep track of it. This must be the most recent one and not e.g. the max received timestamp as it can decrease again through seeking. Signed-off-by: Martin Storsjö <martin@martin.st>
* dump: display codec tags when availableVittorio Giovara2014-10-17
| | | | For both audio and video.
* libfdk-aacdec: Enable Dynamic Range Control Metadata SupportOmer Osman2014-10-17
| | | | | | | | | | For streams which contain DRC metadata, the FDK decoder is able to control rendering of the decoded output. The rendering parameters are detailed in fdk_aac_dec_options []. The default behavior is left up to the decoder. Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Enable Decoder Downmix including Downmix Metadata SupportOmer Osman2014-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | The FDK decoder is capable of producing mono and stereo downmix from multichannel streams. These streams may contain metadata that control the downmix process. The decoder requires an Ancillary Buffer in order to correctly apply downmix in streams containing downmix Metadata. The decoder does not have an API interface to inform of the presence of Metadata in the stream, and therefore the Ancillary Buffer is always allocated whenever a downmix is requested. When downmixing multichannel streams, the decoder requires the output buffer in aacDecoder_DecodeFrame call to be of fixed size in order to hold the actual number of channels contained in the stream. For example, for a 5.1ch to stereo downmix, the decoder requires that the output buffer is allocated for 6 channels, regardless of the fact that the output is in fact two channels. Due to this requirement, the output buffer is allocated for the maximum output buffer size in case a downmix is requested (and also during decoder init). When a downmix is requested, the buffer used for output during init will also be used for the entire duration the decoder is open. Otherwise, the initial decoder output buffer is freed and the decoder decodes straight into the output AVFrame. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Add getStreamLength call to query durationUwe L. Korn2014-10-17
| | | | | | | | | | In (non-live) streams with no metadata, the duration of a stream can be retrieved by calling the RTMP function getStreamLength with the playpath. The server will return a positive duration upon the request if the duration is known, otherwise either no response or a duration of 0 will be returned. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Add function to read a number responseUwe L. Korn2014-10-17
| | | | | | | | | Packets that contain a number as a result to a rtmp function call are structured the same way (String, Number, Null, Number). This new method also includes more bounds checks to better handle packets that are not structured as expected. Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Use the correct guardLuca Barbato2014-10-17
| | | | | | | The OptionDef arrays are terminated with a { NULL } element not NULL. CC: libav-stable@libav.org Bug-Id: CID 703769
* avformat: Make avformat_free_context handle NULLLuca Barbato2014-10-17
| | | | | | | Work as the other free()-like functions. Bug-Id: CID 1087081 CC: libav-stable@libav.org
* avconv: check return valueVittorio Giovara2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1224275
* avconv: fix leak in filter errorVittorio Giovara2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1005311
* avprobe: Remove a pointless checkLuca Barbato2014-10-17
| | | | | | | The element is always valid. CC: libav-stable@libav.org Bug-Id: CID 732276
* avplay: Always free optsLuca Barbato2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 733793
* avplay: Always free find_stream_info optionsLuca Barbato2014-10-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1238794
* fate: add mpeg4 tests for frame size changesJanne Grunau2014-10-17
|
* ismindex: use tfhd default duration if no sample durationMika Raento2014-10-16
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Check a memory allocationMichael Lynch2014-10-16
| | | | | CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Fix a typoMartin Storsjö2014-10-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_hevc: Use av_realloc instead of av_malloc+memcpyMartin Storsjö2014-10-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_hevc: Rename a variable for clarityMartin Storsjö2014-10-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Correctly check the color transfer characteristics rangeVittorio Giovara2014-10-15
| | | | Reported-by: Ruoyu <liangry@ucweb.com>
* imc: fix order of operations in coefficients readVittorio Giovara2014-10-15
| | | | Reported-by: Ruoyu <liangry@ucweb.com>
* sdp: Provide out of bound parameter sets for HEVC if extradata is setMartin Storsjö2014-10-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_hevc: Parse out of band vps/sps/pps/sei from fmtp linesMartin Storsjö2014-10-15
| | | | | | These are assembled into extradata in the order vps/sps/pps/sei. Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: replace AVCodecContext.time_base with framerateAnton Khirnov2014-10-15
|
* lavf: switch to AVCodecContext.framerate for demuxingAnton Khirnov2014-10-15
|
* lavc: deprecate the use of AVCodecContext.time_base for decodingAnton Khirnov2014-10-15
| | | | | | | | | | | When decoding, this field holds the inverse of the framerate that can be written in the headers for some codecs. Using a field called 'time_base' for this is very misleading, as there are no timestamps associated with it. Furthermore, this field is used for a very different purpose during encoding. Add a new field, called 'framerate', to replace the use of time_base for decoding.
* vdpau: add AV_HWACCEL_FLAG_IGNORE_LEVEL to skip the codec level checkRémi Denis-Courmont2014-10-15
| | | | | | | | | | | | | Decoding acceleration may work even if the codec level is higher than the stated limit of the VDPAU driver. Or the problem may be considered acceptable by the user. This flag allows skipping the codec level capability checks and proceed with decoding. Applications should obviously not set this flag by default, but only if the user explicitly requested this behavior (and presumably knows how to turn it back off if it fails). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: have av_vdpau_bind_context() fail on unsupported flagRémi Denis-Courmont2014-10-15
| | | | | | Currently, no flags are supported. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doc: fix typing mistakeRémi Denis-Courmont2014-10-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: Handle tfdt atomsMartin Storsjö2014-10-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Write tfdt atomsMartin Storsjö2014-10-14
| | | | | | | | | | | These allow getting the absolute start timestamp of a fragment without reading preceding timestamps. This fixes sync between tracks if starting from fragments in different streams that don't align exactly. This also is a prerequisite for producing DASH content. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: use initial_padding instead of deprecated delayAnton Khirnov2014-10-13
|
* lavc: use a separate field for exporting audio encoder paddingAnton Khirnov2014-10-13
| | | | | | | | | | | | | | Currently, the amount of padding inserted at the beginning by some audio encoders, is exported through AVCodecContext.delay. However - the term 'delay' is heavily overloaded and can have multiple different meanings even in the case of audio encoding. - this field has entirely different meanings, depending on whether the codec context is used for encoding or decoding (and has yet another different meaning for video), preventing generic handling of the codec context. Therefore, add a new field -- AVCodecContext.initial_padding. It could conceivably be used for decoding as well at a later point.
* h263dec: call get_format() on resolution changesRémi Denis-Courmont2014-10-13
| | | | Fail safe if the pixel format changes.
* h263dec: call get_format after setting resolution and profileRémi Denis-Courmont2014-10-13
| | | | Bug-Id: 541
* icecast: Do not use chunked postMark McGough2014-10-12
| | | | | | | | | | | | | Icecast uses HTTP 1.0 while Libav uses HTTP 1.1 and enables by default chunked post. Icecast actually forwards the HTTP chunk headers to the listener as part of the media stream (without the chunk encoding HTTP headers) causing the players to lose sync. Disabling the option is enough to feed icecast properly. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc: Simplify code by using an existing local pointerMartin Storsjö2014-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Print a warning for an unhandled case of nonzero start dts with ↵Martin Storsjö2014-10-12
| | | | | | empty_moov Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Write edit lists for fragmented files as well, if necessaryMartin Storsjö2014-10-12
| | | | | | | | | | | This is necessary to get the right timestamp offset for content that starts with dts != 0. This currently only helps when writing fragmented files with a non-empty moov atom. When writing an empty moov atom, we don't have any packets yet, so we don't know the starting dts for the tracks. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add some comments explaining subtle details in writing the edit listsMartin Storsjö2014-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Adjust edit lists to trim out parts of tracks with negative ptsMichael Niedermayer2014-10-12
| | | | | | | | | This makes sure that audio preroll for e.g. AAC is signaled correctly. Previously we only wrote the edit list correctly if we had negative dts but started with pts == 0 (e.g. for video with B-frames). Signed-off-by: Martin Storsjö <martin@martin.st>
* smoothstreamingenc: Simplify code by removing a redundant variableMartin Storsjö2014-10-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>