summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* mpegts: Try seeking back even for nonseekable protocolsMartin Storsjö2012-04-23
| | | | | | | | | | | | | | | | | The mpegts demuxer reads 5 KB at startup just for discovering the packet size. Since the default avio buffer size is 32 KB, the seek back to the start will in most cases be within the avio buffer, and will in most cases succeed even if the actual protocol isn't seekable. This makes the demuxer startup faster/with less data when reading data from a non-seekable input, by not skipping the first few KB. If it fails, don't warn if the protocol isn't seekable, making it behave as before in the failure case. Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: K&R formatting cosmetics (part III)Diego Biurrun2012-04-22
|
* ARM: allow runtime masking of CPU featuresMans Rullgard2012-04-22
| | | | | | | This allows masking CPU features with the -cpuflags avconv option which is useful for testing different optimisations without rebuilding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: remove unused functionsMans Rullgard2012-04-21
| | | | | | These functions were left unused by the lowres removal. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: Treat keyframe indexes as 1-origin if starting at non-zero.Yusuke Nakamura2012-04-21
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* mov: Take stps entries into consideration also about key_off.Yusuke Nakamura2012-04-21
| | | | | | Splitted files don't start always from a sync sample. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Remove lowres video decodingMans Rullgard2012-04-21
| | | | | | | This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avcodec: remove AVCodecContext.dsp_maskMans Rullgard2012-04-21
| | | | | | | | This removes all references to AVCodecContext.dsp_mask and marks it for eviction at the next version bump. It has been superseded by av_set_cpu_flag_mask() which, unlike this field, works everywhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: fix a segfault when default encoder for a format doesn't exist.Anton Khirnov2012-04-21
| | | | Fail earlier and with a more descriptive error message.
* utvideo: general cosmeticsJan Ekström2012-04-20
| | | | | | | | | General cosmetics, such as keeping lines under 80 characters, fixing a couple of typos (predition -> prediction) and a general style fix that was pointed out by Derek when I was having my sliced multithreading patch in review by him. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* aac: Handle HE-AACv2 when sniffing a channel order.Alex Converse2012-04-20
|
* movenc: Support high sample rates in isomedia formats by setting the sample ↵Alex Converse2012-04-20
| | | | | | rate field in stsd to 0. Libisomediafile appears to always set this field to zero.
* xxan: Remove write-only variable in xan_decode_frame_type0().Diego Biurrun2012-04-20
| | | | libavcodec/xxan.c:293:13: warning: variable ‘corr_end’ set but not used
* ivi_common: Initialize a variable at declaration in ff_ivi_decode_blocks().Diego Biurrun2012-04-20
| | | | This simplifies the code a bit and avoids an uninitialized variable warning.
* avcodec: add a cook parser to get subpacket durationJustin Ruggles2012-04-20
| | | | Fixes jittery video playback of rm files with cook audio.
* FATE: allow lavf tests to alter input parametersJustin Ruggles2012-04-20
| | | | Change some lavf tests to avoid resampling and channel mixing.
* FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum testJustin Ruggles2012-04-20
| | | | | This avoids resampling and channel mixing by using a source with the correct channel layout and sample rate.
* FATE: replace the acodec-g726 test with 4 new encode/decode testsJustin Ruggles2012-04-20
| | | | | | Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
* FATE: replace current g722 encoding tests with an encode/decode testJustin Ruggles2012-04-20
| | | | | | Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
* FATE: add a pattern rule for generating asynth wav filesJustin Ruggles2012-04-20
|
* FATE: optionally write a WAVE header in audiogenJustin Ruggles2012-04-20
|
* avutil: add audio fifo bufferJustin Ruggles2012-04-20
| | | | | The functions operate on the sample level rather than the byte level and work with all audio sample formats.
* dv: Initialize encoder tables during encoder init.Diego Biurrun2012-04-19
|
* dv: Replace some magic numbers by the appropriate #define.Diego Biurrun2012-04-19
|
* FATE: pass the decoded output format and audio source file to enc_dec_pcmJustin Ruggles2012-04-18
| | | | | | | This will allow decoding to md5 and doing a diff comparison to a reference checksum instead of a fuzzy stddev or oneoff comparison. Signed-off-by: Mans Rullgard <mans@mansr.com>
* FATE: specify the input format when decoding in enc_dec_pcm()Justin Ruggles2012-04-18
| | | | | | The output format is not always the same as the file extension, which is sometimes required for correct probing. We can avoid probing by specifying the format since it is already known.
* x86inc: support AVX abstraction for 2-operand instructionsLoren Merritt2012-04-18
| | | | | | Add cvtdq2ps and cvtps2dq to the AVX instruction list. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* configure: detect PGI compiler and set suitable flagsMans Rullgard2012-04-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: check for an incompatible changing channel layoutJustin Ruggles2012-04-18
| | | | | | The decoder can change the layout and channel count during decoding, but currently we only validate that the two are compatible when opening the codec. This checks for incompatibilities after each decoded frame.
* avio: make AVIOContext.av_class pointer to constMans Rullgard2012-04-18
| | | | | | | | | | Fix this warning: libavformat/aviobuf.c:663:20: warning: assignment discards qualifiers from pointer target type Although this is a public header, it should remain source and binary compatible. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nutdec: add malloc check and fix const to non-const conversion warningsMans Rullgard2012-04-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: drop unused function dct_quantize_altivec()Diego Biurrun2012-04-18
| | | | This also allows dropping some PPC-specific ugliness from dsputil.[ch].
* mpegaudiodec: Do not discard mp_decode_frame() return value.Diego Biurrun2012-04-18
| | | | | This fixes the warning: libavcodec/mpegaudiodec.c:1704:14: warning: variable ‘out_size’ set but not used
* matroska: do not set invalid default duration if frame rate is zeroMans Rullgard2012-04-18
| | | | | | | | | If a video track specifies a zero frame rate (invalid but occurs), this results in a division by zero and subsequent undefined conversion to integer. Setting the default duration from the frame rate only if the latter is greater than zero avoids such problems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mkv: use av_reduce instead of av_d2q for framerate estimationLuca Barbato2012-04-17
| | | | It avoids some rounding errors.
* mkv: report average framerate as minimal as wellLuca Barbato2012-04-17
| | | | | This is in line with other demuxers and overall seems more correct than assuming codec time base.
* avcodec_string: Favor AVCodecContext.codec over the default codec.Alex Converse2012-04-17
| | | | This improves output for formats with more than one AVCodec.
* cook: Make constants passed to AV_BE2NE32C() unsigned to avoid signed overflow.Alex Converse2012-04-17
|
* aacenc: Fix issues with huge values of bit_rate.Reimar Döffinger2012-04-17
| | | | | | | | | | Do not pointlessly call ff_alloc_packet multiple times, and fix an infinite loop by clamping the maximum number of bits to target in the algorithm that does not use lambda. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dv_tablegen: Drop unnecessary av_unused attribute from dv_vlc_map_tableinit().Diego Biurrun2012-04-17
|
* proresenc: multithreaded quantiser searchKostya Shishkov2012-04-17
|
* riff: use bps instead of bits_per_coded_sample in the WAVEFORMATEXTENSIBLE ↵Justin Ruggles2012-04-17
| | | | | | | header This matches the value for the plain WAVEFORMATEX header. Also fixes stream copy to WAVE for non-16-bit raw pcm.
* avconv: only set the "channels" option when it exists for the specified ↵Justin Ruggles2012-04-16
| | | | | | | input format This allows the user to specify an input channel layout without avconv aborting because the "channels" option was not found.
* avplay: update get_buffer to be inline with avconvLuca Barbato2012-04-16
| | | | | The buffer must have its dimension, pixel format and aspect ratio set.
* aacdec: More robust output configuration.Alex Converse2012-04-16
| | | | | | Save the old output configuration (if it has been used successfully) when trying a new configuration. If the new configuration fails to decode, restore the last successful configuration.
* faac: Fix multi-channel orderingCarl Eugen Hoyos2012-04-16
| | | | Signed-off-by: Alex Converse <alex.converse@gmail.com>
* faac: Add .channel_layoutsAlex Converse2012-04-16
|
* rtmp: Support 'rtmp_playpath', an option which overrides the stream identifierSamuel Pitoiset2012-04-16
| | | | | | | | | This option is the stream identifier to play or to publish. Sometimes the URL parser cannot determine the correct playpath automatically, so it must be given explicitly using this option (ie. -rtmp_playpath). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Support 'rtmp_app', an option which overrides the name of applicationSamuel Pitoiset2012-04-16
| | | | | | | | This option is the name of application to connect on the RTMP server. Sometimes the URL parser cannot determine the app name automatically, so it must be given explicitly using this option (ie. -rtmp_app). Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: add better documentation for AVSampleFormatJustin Ruggles2012-04-16
|