summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* flashsv: Employ explicit AVCodec struct initializers.Diego Biurrun2011-04-25
|
* read AVI palette from the end of extradataKostya Shishkov2011-04-24
| | | | | | | | | | | | | | | | | | Official AVI specification says that stream header in case of video contains BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently lavf AVI demuxer thinks otherwise which produces garbage on codecs that have both palette and extradata (luckily, there are not so many such codecs). An example of such file is: http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi (IIRC, MSS1 or MSS2 also had such situation but they are still not supported by lavc). As a side note, passing palette in extradata as it's been done previously is not quite correct since proper _extra_ data is surplus bytes in BITMAPINFOHEADER, not including palette. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cosmetics: K&R coding style and more whitespace for Flash Screen VideoDiego Biurrun2011-04-25
|
* vorbisdec: Employ proper printf format specifiers for uint_fast32_t.Diego Biurrun2011-04-25
| | | | | libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’ libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
* applehttp: Don't export variant_bitrate if it isn't knownMartin Storsjö2011-04-24
| | | | | | | | If there are no variants, the total bitrate of the single stream isn't known, and exporting variant_bitrate = 0 does look weird, since there really aren't any variants. Signed-off-by: Martin Storsjö <martin@martin.st>
* crypto: Use av_freep instead of av_freeMartin Storsjö2011-04-24
| | | | | | Using av_freep is generally good practice. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add missing libm library dependencies to .pc files.Reinhard Tartler2011-04-24
| | | | | | | This unbreaks static compilation using pkg-config on systems in need of -lm. Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: reindent after 8f3eebd6Clément Bœsch2011-04-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Add missing libavutil inter-library dependencies to .pc files.Reinhard Tartler2011-04-24
| | | | | | | This unbreaks static compilation when using pkg-config. Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Handle unicode file names on windowsKirill Gavrilov2011-04-24
| | | | | | | | | | | | | All file names should be in UTF-8 within libavformat. This is handled by mapping the open() function to an internal one in os_support.h for windows. fopen() could be overridden in the same way, but if that would be used from ffmpeg.c, it would add a dependency on an ff prefixed internal lavf function. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Rename the open/close functions to alloc/freeMartin Storsjö2011-04-24
| | | | | | | This avoids clashes if we internally want to override the global open function. Signed-off-by: Martin Storsjö <martin@martin.st>
* Lowercase all ff* program names.Diego Biurrun2011-04-23
|
* Refer to ff* tools by their lowercase names.Diego Biurrun2011-04-23
|
* Replace more FFmpeg instances by Libav or ffmpeg.Diego Biurrun2011-04-23
|
* Replace `` by $() syntax in shell scripts.Diego Biurrun2011-04-23
| | | | $() is easier to nest and POSIX, which we require in other places.
* patcheck: Allow overiding grep program(s) through environment variables.Brad2011-04-23
| | | | | | | patcheck hardcodes the binary names for grep/egrep. This makes overriding the binary names a pain, e.g. when calling a GNU version of grep on BSD systems. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove stray libavcore and _g binary references.Diego Biurrun2011-04-23
|
* vorbis: Rename decoder/encoder files to follow general file naming scheme.Diego Biurrun2011-04-23
|
* aacenc: Fix whitespace after last commit.Nathan Caldwell2011-04-23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cook: Fix small typo in av_log_ask_for_sample message.Diego Biurrun2011-04-23
|
* aacenc: Finish 3GPP psymodel analysis for non mid/side cases.Nathan Caldwell2011-04-23
| | | | | | | | | There is still are still a few sections missing relating to TNS (not present) and mid/side (contains other bugs). Overall this improves quality, and vastly improves rate-control. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove RDFT dependency from AAC decoder.Alex Converse2011-04-22
| | | | | | | | | | | | | | | | | | | | $subj >From 557176d961c70604c2a96d81aff4bd6faa670d8a Mon Sep 17 00:00:00 2001 From: Alex Converse <aconverse@google.com> Date: Thu, 21 Apr 2011 12:11:42 -0700 Subject: [PATCH] Remove RDFT dependency from AAC decoder. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1" This is a multi-part message in MIME format. --------------1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit It was used for an old implementation of the SBR filterbank. ./configure --disable-everything --disable-ffplay --enable-decoder=aac works.
* Add some debug log messages to AAC extradataAlex Converse2011-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles <justin.ruggles@gmail.com> wrote: > On 04/20/2011 02:26 PM, Alex Converse wrote: > >> --- >>  libavcodec/aacdec.c |   10 +++++++++- >>  1 files changed, 9 insertions(+), 1 deletions(-) >> >> >> >> 0002-Add-some-Debug-log-messages-to-AAC-extradata.patch >> >> >> diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c >> index c9761a1..3ec274f 100644 >> --- a/libavcodec/aacdec.c >> +++ b/libavcodec/aacdec.c >> @@ -79,7 +79,6 @@ >>             Parametric Stereo. >>   */ >> >> - >>  #include "avcodec.h" >>  #include "internal.h" >>  #include "get_bits.h" > > > stray whitespace change > oops, fixed >From 94e8d0eea77480630f84368c97646cabc0f50628 Mon Sep 17 00:00:00 2001 From: Alex Converse <aconverse@google.com> Date: Wed, 20 Apr 2011 11:23:34 -0700 Subject: [PATCH] Add some debug log messages to AAC extradata MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1" This is a multi-part message in MIME format. --------------1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
* Fix mov debug (u)int64_t format strings.Alex Converse2011-04-22
|
* bswap: use native types for av_bwap16().Jason Garrett-Glaser2011-04-22
| | | | | | | | | | This prevents a call to bytestream_get_be16() using a movzwl both before and after the ror instruction, which is obviously inefficient. Arm uses the same trick also. Sintel decoding goes from (avg+SD) 9.856 +/- 0.003 to 9.797 +/- 0.003 sec. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* doc: FLV muxing is supported.Carl Eugen Hoyos2011-04-23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttp: Handle AES-128 encrypted streamsMartin Storsjö2011-04-23
| | | | | | | | | | This should hopefully fix roundup issue 2586. This commit only implements it in the demuxer, not in the protocol handler. If desired, some of the code could be refactored to be shared by both implementations. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add a protocol handler for AES CBC decryption with PKCS7 paddingMartin Storsjö2011-04-23
| | | | | | | | | | | | This can later be extended to support other AES bit sizes, encryption, other crypto algorithms, reading the key from a URL, etc. In order to use it, the key and initialization vector has to be passed via AVOptions. Since such options can't be passed to protocols from the command line, the protocol is currently only for libavformat internal use. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Mention that DragonFly BSD requires __BSD_VISIBLE setMartin Storsjö2011-04-23
| | | | | | | | | | | Setting this should fix the FATE build failure on DragonFly BSD, since inet_aton only is visible if __BSD_VISIBLE is set. Alternatively, a line defining __BSD_VISIBLE=1 could be added at the top of os_support.c. For FreeBSD, similar lines are required in libavdevice/bktr.c and libavdevice/oss_audio.c, too. Signed-off-by: Martin Storsjö <martin@martin.st>
* Use av_log_ask_for_sample() to request samples from users.Diego Biurrun2011-04-22
|
* Make av_log_ask_for_sample() accept a variable number of arguments.Diego Biurrun2011-04-22
|
* vqavideo: We no longer need to ask for version 1 samples.Diego Biurrun2011-04-22
|
* aacdec: indentation cosmeticsYoung Han Lee2011-04-22
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* APIChanges: document git revision for CODEC_CAP_SLICE_THREADS addition.Ronald S. Bultje2011-04-21
|
* Introduce slice threads flag.Ronald S. Bultje2011-04-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* FATE: allow forcing thread-type when doing threaded fate runs.Ronald S. Bultje2011-04-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Use av_log_ask_for_sample() where appropriate.Diego Biurrun2011-04-21
|
* error: sort, pack, and align error code and string definitionsStefano Sabatini2011-04-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* The stabilization period after version bumps should be one month, not one week.Diego Biurrun2011-04-21
|
* applehttp: Expose the stream bitrate via metadataMartin Storsjö2011-04-21
| | | | | | | This helps callers to intelligently switch between bitrate variants. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Add some initial docs on the applehttp demuxerMartin Storsjö2011-04-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Provide a fallback version of the libm function truncMartin Storsjö2011-04-21
| | | | | | This fixes compilation on DOS. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavdevice: Define _XOPEN_SOURCE for usleepMartin Storsjö2011-04-21
| | | | | | This hopefully fixes build failures on Dragonfly BSD. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: provide deprecated avcodec_thread_init until next major versionAnton Khirnov2011-04-21
| | | | It was deprecated only recently.
* lavc: provide the opt.h header until the next bumpAnton Khirnov2011-04-21
| | | | AVOptions were moved to libavutil only recently.
* error: change AVERROR_EOF valueAnton Khirnov2011-04-21
| | | | | | | | | | The current value is masking the POSIX error code EPIPE, which has a different semantics. This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* error: remove AVERROR_NUMEXPECTEDStefano Sabatini2011-04-21
| | | | | | | | | | | AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and has a too much specific meaning, which is better explained through a log message. Thus it can be replaced by AVERROR(EINVAL). This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.cStefano Sabatini2011-04-21
| | | | | | | | The new error code is better than AVERROR(ENOENT), which has a completely different semantics ("No such file or directory"). Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Makefile: Include dependencies for test tools, tooMartin Storsjö2011-04-20
| | | | | | | | | This makes seek_test to be rebuilt when its dependencies has changed. The changes to the dependencies didn't usually matter in practice, but the introduction of side data in AVPacket required a recompilation. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove a version check in av_log made unnecessary by the big bump.Diego Biurrun2011-04-20
|