aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-19lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov
Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
2011-10-19lavf: add avformat_new_stream as a replacement for av_new_stream.Anton Khirnov
It takes a codec parameter, thus enabling codec-specific defaults.
2011-10-19Use correct scaling table for bwd-pred MVs in second B-fieldMashiat Sarker Shakkhar
When scaling backward predicted MVs in second B-field, the scaling table is opposite of that for P field pictures; i.e. first field P table will be used as second field B table and second field P table will be used as first field B table. This is not documented in the spec, but exists in the ref. decoder. This fixes SA10139. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-19Ut Video decoderKostya Shishkov
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-19Makefile: change presets extension to .avpresetAnton Khirnov
Fixes make install.
2011-10-19lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecsStefano Sabatini
The licence was changed from GPL to LGPL with explicit approval from the original author. See thread: Subject: [FFmpeg-devel] [PATCH] lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecs Date: Mon, 11 Jul 2011 16:32:41 +0200 Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-19lavfi: add testsrc sourceStefano Sabatini
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-19AVOptions: add documentation.Anton Khirnov
2011-10-19presets: update libx264 ffpresetsAnton Khirnov
Use the native libx264 options and rename all the preset to use the avpreset extension.
2011-10-18sunrast: Check for out of bounds readsLaurent Aimar
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-18lavc: rename AV_ER_* options to AV_EF_* and rename AGGRESSIVE to BUFFERDustin Brody
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-18lavc: replace API-bump-triggered AVCodecContext field change with shorter, ↵Dustin Brody
non-conflicting name Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-18Add libvpx presets.Anton Khirnov
Based on a patch by James Zern jzern AT google DOT com
2011-10-18doc/avtools: add forgotten part to stream specifiers descriptionAnton Khirnov
2011-10-18swscale: prevent overflow during initializationRonald Bultje
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-18g722: Add a fate test for the encoderMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-18fate: Add a target for creating a 16000 Hz mono synthetic audio fileMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17macosx: use the default surface on newer sdlLuca Barbato
SDL 1.2.14 works fine with default colorspace on macosx and seems to have some issues with 24bit surfaces and resize in addition.
2011-10-17avconv: add presetsAlexandra Khirnova
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-17rtsp: Expose the flag options via private AVOptions for sdp and rtp, tooMartin Storsjö
This allows setting the filter_src option for these demuxers, too, which wasn't possible at all before (where the option only was set via URL parameters for RTSP). Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17rtsp: Make the rtsp flags avoptions set via a defineMartin Storsjö
This helps sharing these options with the sdp and rtp demuxers. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17rtpenc: Set a default video codecMartin Storsjö
avconv doesn't map video streams to a muxer without specifying a manual stream mapping if the default video codec is CODEC_ID_NONE. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17avoptions: Fix av_opt_flag_is_setMartin Storsjö
With the changes in 3b3ea34655db02d9cd9ea1a4122e920a7fdec602, "Remove all uses of deprecated AVOptions API", av_opt_flag_is_set was broken, since it now uses av_opt_find, which doesn't return named constants unless a unit to look for the constant in is given. This broke enabling LATM encapsulated AAC output in RTP. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17rtp: Fix ff_rtp_get_payload_typeMartin Storsjö
It was broken in 3b3ea34655db02d9cd9ea1a4122e920a7fdec602 "Remove all uses of deprecated AVOptions API", where any presence of a payload_type AVOption caused its value to be returned, even if it wasn't set (and thus had the default -1 value). This caused the RTP muxer to be broken. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17doc: Update the documentation on setting options for RTSPMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17rtsp: Remove the separate filter_source variableMartin Storsjö
Read it as a flag from the flags field instead. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17rtsp: Accept options via private avoptions instead of URL optionsMartin Storsjö
Eventually, the old way of passing options by adding stuff to the URL can be dropped. This avoids having to tamper with the user-specified URL to pass options on the transport mode. This also works better with redirects, since the options don't need to be parsed out from the URL. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17rtsp: Simplify AVOption definitionsMartin Storsjö
Use defines for shortening common parts, omit the .dbl named initializer (since it's the first element in the union). Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17rtsp: Merge the AVOption listsMartin Storsjö
This eases adding options that are common for both. The AV_OPT_FLAG_EN/DECODING_PARAM still indicates whether they belong to the muxer or demuxer. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-17lavfi: port libmpcodecs delogo filterStefano Sabatini
The ported filter supports named option parsing and more YUV formats. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-17lavfi: port boxblur filter from libmpcodecsStefano Sabatini
With the following additions: * support to gray format * support to yuva420p format * parametric luma/chroma/alpha radius * consistency check on the radius values, avoid crashes with invalid values Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-17lavfi: add negate filterStefano Sabatini
This filter is a simple wrapper around the LUT filter. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-17lavfi: add LUT (LookUp Table) generic filtersStefano Sabatini
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-17AVOptions: don't segfault on NULL parameter in av_set_options_string()Anton Khirnov
2011-10-16avio: Check for invalid buffer length.Alex Converse
2011-10-17mpegenc/mpegtsenc: add muxrate private options.Anton Khirnov
Deprecate AVFormatContext.mux_rate.
2011-10-17lavf: deprecate AVFormatContext.file_sizeAnton Khirnov
It's too unreliable to be useful. avio_size() should be called instead.
2011-10-17mov: add support for TV metadata atoms tves, tvsn and stikRaivo Hool
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-10-16w32threads: support for frame multithreadingSteven Walters
Replace our incomplete w32threads implementation with x264's pthreads w32threads wrapper. Relicensed to LGPL with kind permission by Pegasys Inc. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-16avcodec: remove stray @deprecated commentMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-15prores: get correct size for coded V plane if alpha is presentMans Rullgard
The size check must be updated to take into account both manners in which v_data_size might be set. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-15prores: do not set pixel format on codec initMans Rullgard
The pixel format is not known until the frame header is parsed. Guessing it here only causes trouble for the caller if the guess turns out to be wrong (and actually causes very wrong output by avconv/avplay). Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-15pthread: prevent updating AVCodecContext from itself in frame_thread_freeRonald S. Bultje
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-15pthread: copy coded frame dimensions in update_context_from_threadRonald S. Bultje
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-15vp8: prevent read from uninitialized memory in decode_mvsRonald S. Bultje
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-15vp8: force reallocation in update_thread_context after frame size changeRonald S. Bultje
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-15vp8: fix return value if update_dimensions failsRonald S. Bultje
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-15matroskadec: fix out of bounds writeRonald S. Bultje
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-10-14adpcmdec: calculate actual number of output samples for each decoder.Justin Ruggles
This also allows for removing some of the buf_size checks and using the sample count for some of the decoding loops.
2011-10-14adpcmdec: check remaining buffer size before decoding next block in theJustin Ruggles
ADPCM IMA WAV decoder.