Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-06012v decoder.Carl Eugen Hoyos
The decoder also supports a12v, but removes the transparency layer since no samples with actual transparency are available for testing.
2013-01-03subviewer: sanitize packets.Clément Bœsch
The data does not contain timing or trailing line breaks anymore. In addition to being less idiotic, it is consistent with other codecs and thus allows more switches between formats and codecs. It also fixes the issue of the trailing line returns being simple \n instead of CRLF in the ASS rectangle dialogue (this is the reason of the FATE update).
2012-12-31microdvd: sanitize AVPackets.Clément Bœsch
Current MicroDVD AVPackets contain timing information and trailing line breaks. The data is now only composed of the markup data. Doing this consistently between text subtitles decoders allows to use different codec for various formats. For instance, MicroDVD markup is sometimes found in some VPlayer files. Also, generally speaking, the subtitles text decoders have no use of these timings (and they must not use them since it would break any user timing adjustment). Technically, this is a major ABI break. In practice, a mismatching lavf/lavc will now error out for MicroDVD decoding. Supporting both formats requires unnecessary complex and fragile code. FATE needs update because line breaks in the ASS file were "\n" (because that's what is used in the original file). ASS format expect "\r\n" line breaks; this commit fixes this issue. Also note that this "\r\n" trailing need to be moved at some point from the decoders to the ASS muxer.
2012-12-31Add SubViewer v1 subtitles demuxer and decoder.Clément Bœsch
2012-12-31Add VPlayer subtitles demuxer and decoder.Clément Bœsch
Note that the linebreaks text codec option (but not the feature) has been removed; its main goal was to allow demuxers to configure the text decoder (and not meant to be used by users), but the AVOption are not a viable solution. This is solved differently in this commit.
2012-12-31Add MPL2 subtitles demuxer and decoder.Clément Bœsch
2012-12-20Merge commit 'acb571c89a065d943163c11efb46de35774f1909'Michael Niedermayer
* commit 'acb571c89a065d943163c11efb46de35774f1909': avcodec: bump minor for adaptive h264 frame-mt avconv: pass the actually selected decoder to filter_codec_opts(). Conflicts: Changelog ffmpeg_opt.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-18avcodec: bump minor for adaptive h264 frame-mtJanne Grunau
Also adds forgotten Changelog entry.
2012-12-15lavc: add pkt_size field to AVFrameStefano Sabatini
2012-12-11Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: build: fix 'clean' target ZeroCodec: Flip output Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-10ZeroCodec: Flip outputCarl Eugen Hoyos
The initial testing of the VFW binary codec was flawed, likely due to an AviSynth bug. Re-testing using VirtualDub and various professional editing applications has revealed it should have been flipped. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-12-09Flip zerocodec output.Carl Eugen Hoyos
Fixes ticket #1218
2012-12-08tak: demuxer, parser, and decoderPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-12-04iff decoder: DEEP TVDC 32-bit decoderPeter Ross
Signed-off-by: Peter Ross <pross@xvid.org>
2012-12-01lavu/opt: allow to set sample and pixel format with av_opt_set_int()Stefano Sabatini
This change requires the user to specify min and max value, and makes possible to prevent the user to set AV_{SAMPLE,PIX}_FMT_NONE if forbidden. Add required ifdeffery in case of mixed libraries, when libavutil is updated but not the other libraries. This is a followup of 08d0969c1402ccec4dce44bd430128fb59d7b790.
2012-11-30Prepare gif decoder for use in conjunction with gif demuxer.Vitaliy E Sugrobov
Add capability of reading multiple frames instead of only first. Implement support for different gif frame 'disposal methods'. Add option that allows to change background color resulting from conversion of gif with transparency to any other format which not support it. Also bump lavc minor version. Signed-off-by: Vitaliy E Sugrobov <vsugrob@hotmail.com>
2012-11-30lavu/opt: change the way default pixel and sample format value is setStefano Sabatini
Use the i64 field rather than the string value. Using a string to set a default sample/pixel format is weird, also the new interface is more consistent with the rest of the API. This is technically an API break, but hopefully there are no applications using this feature outside of FFmpeg. In order to save backward compatibility with mixed libraries in case libavutil is updated but not the other libraries, some ifdeffery hacks are added. Note that the version check is only performed when class->version != 0, since if it is not defined then we assume that no version was defined and the class is not affected by the change. We will luckily get rid of the hack at the next major bump.
2012-11-24ADPCM IMA Dialogic decoderPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-22ADPCM AFC decoderPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-22brender_pix: a new image decoderAleksi Nurmi
PIX is an image file format that was used by the BRender 3d engine. Signed-off-by: Aleksi Nurmi <aleksi.nurmi@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-20add some planar PCM encodersPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-17PCM signed 16-bit big-endian planar decoderPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-17PCM signed 24-bit/32-bit little-endian planar decoderPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-03Merge commit '9a07c1332cfe092b57b5758f22b686ca58806c60'Michael Niedermayer
* commit '9a07c1332cfe092b57b5758f22b686ca58806c60': parser: Move Doxygen documentation to the header files PGS subtitles: Expose forced flag x86: PMINUB: port to cpuflags Conflicts: libavcodec/avcodec.h libavcodec/pgssubdec.c libavcodec/version.h libavcodec/x86/ac3dsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-02PGS subtitles: Expose forced flagJohn Stebbins
Useful for detection of subtitles displayed during foreign language scenes. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-10-30Merge commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8'Michael Niedermayer
* commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8': dv: use AVStream.index instead of abusing AVStream.id lavfi: add ashowinfo filter avcodec: Add a RFC 3389 comfort noise codec lpc: Add a function for calculating reflection coefficients from samples lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients lavr: document upper bound on number of output samples. lavr: add general API usage doxy indeo3: remove duplicate capabilities line. fate: ac3: Add dependencies Conflicts: Changelog doc/filters.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h libavfilter/Makefile libavfilter/af_ashowinfo.c libavfilter/allfilters.c libavfilter/version.h libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-30avcodec: Add a RFC 3389 comfort noise codecMartin Storsjö
This isn't too useful as a normal codec, but can be used in voip style applications. The decoder updates the noise generator parameters when a packet is given to it for decoding, but if called with an empty packet, it generates more noise according to the last parameters. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-25lavc: add AV_PKT_DATA_SUBTITLE_POSITION side data type.Clément Bœsch
This commit introduces a new packet side data type for the subtitle position information. This is meant to be used by the SRT format where that information is stored along with the timing, which is not part of the subrip packets.
2012-10-21lavc: add lavfi metadata support.Clément Bœsch
This commit introduces a new AVPacket side data type: AV_PKT_DATA_STRINGS_METADATA. Its main goal is to provide a way to transmit the metadata from the AVFilterBufferRef up to the AVFrame. This is at the moment "only" useful for lavfi input from libavdevice: lavd/lavfi only outputs packets, and the metadata from the buffer ref kept in its context needs to be transmitted from the packet to the frame by the decoders. The buffer ref can be destroyed at any time (along with the metadata), and a duplication of the AVPacket needs to duplicate the metadata as well, so the choice of using the side data to store them was selected. Making sure lavd/lavfi raises the metadata is useful to allow tools like ffprobe to access the filters metadata (it is at the moment the only way); ffprobe will now automatically show the AVFrame metadata in any customizable output format for users. API users will also be able to access the AVFrame->metadata pointer the same way ffprobe does (av_frame_get_metadata). All the changes are done in this single commit to avoid some memory leaks: for instances, the changes in lavfi/avcodec.c are meant to duplicate the metadata from the buffer ref into the AVFrame. Unless we have an internal way of freeing the AVFrame->metadata automatically, it will leak in most of the user apps. To fix this problem, we introduce AVCodecContext->metadata and link avctx->metadata to the current frame->metadata and free it at each decode frame call (and in the codec closing callback for the last one). But doing this also means to update the way the tiff decoder already handles the AVFrame->metadata (it's the only one decoder with frame metadata at the moment), by making sure it is not trying to free a pointer already freed by the lavc internals. The lavfi/avcodec.c buffer ref code is based on an old Thomas Kühnel work, the rest of the code belongs to the commit author. Signed-off-by: Thomas Kühnel <kuehnelth@googlemail.com> Signed-off-by: Clément Bœsch <ubitux@gmail.com>
2012-10-19lavc: add raw text subtitles decoder.Clément Bœsch
2012-10-15lavc: add xface image decoder and encoderStefano Sabatini
Based on libcompface code by James Ashton <James.Ashton@anu.edu.au>, and relicensed to LGPL with the author's consent.
2012-10-13Merge commit 'ca411fc1d34329cd17b28627f697e391ae52073f'Michael Niedermayer
* commit 'ca411fc1d34329cd17b28627f697e391ae52073f': avcodec: Remove broken MMI optimizations Conflicts: arch.mak configure libavcodec/avcodec.h libavcodec/mips/Makefile libavcodec/mips/dsputil_mmi.c libavcodec/mips/idct_mmi.c libavcodec/mips/mmi.h libavcodec/mips/mpegvideo_mmi.c libavcodec/options_table.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-13Merge commit 'bc4620e5d61a4dd9a1f654fadd281a172aab04be'Michael Niedermayer
* commit 'bc4620e5d61a4dd9a1f654fadd281a172aab04be': Remove libmpeg2 #define remnants De-doxygenize some top-level files Conflicts: ffmpeg.c ffmpeg.h ffmpeg_filter.c ffplay.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-12avcodec: Remove broken MMI optimizationsDiego Biurrun
The code fails to compile and is broken beyond repair.
2012-10-12Remove libmpeg2 #define remnantsDiego Biurrun
2012-10-08TAK demuxer, decoder and parserPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-10-06Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: yuv4mpeg: return proper error codes. Give all anonymously typedeffed structs in headers a name fate: Add parseutils test parseutils-test: Drop random colors from parsing test vf_pad/scale: use double precision for aspect ratios. build: error on variable-length arrays ppc: swscale: rework yuv2planeX_altivec() ppc: fmtconvert: kill VLA in float_to_int16_interleave_altivec() x86: dsputil: kill VLA in gmc_mmx() libspeexenc: Updated commentary to reflect recent changes libspeexenc: Add an option for enabling DTX doc/APIchanges: fill in missing dates and hashes. lavr: bump major to 1 and declare it stable. lavr: change the type of the data buffers to uint8_t**. lavc: deprecate the audio resampling API. Conflicts: cmdutils.h configure doc/APIchanges ffplay.c libavcodec/dwt.h libavcodec/libspeexenc.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavformat/asf.h tests/fate/libavutil.mak tests/ref/fate/parseutils Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-06Pinnacle TARGA CineWave YUV16 decoder (fourcc Y216).Carl Eugen Hoyos
Fixes ticket #1354
2012-10-05lavc: deprecate the audio resampling API.Anton Khirnov
It has been superseded by lavr.
2012-10-02Merge commit 'fd41cb43702498948ff14ba8c284fd5c15fc729d'Michael Niedermayer
* commit 'fd41cb43702498948ff14ba8c284fd5c15fc729d': avconv: improve sample format negotiation for decoder request Opus encoder using libopus mpegts: Drop pointless casting of hex_dump_debug arguments avformat: const correctness for av_hex_dump / av_hex_dump_log wmadec: Adjust debug printf argument length modifier Conflicts: Changelog ffmpeg.c libavcodec/libopusdec.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-02Move xGA font data from lavc to lavu.Clément Bœsch
This needs to be accessible for libavfilter in the next commit.
2012-10-01Opus encoder using libopusNathan Caldwell
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-09-28avcodec: Add missing include to version.hjamal
Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: libopus: Remap channels using libopus' internal remapping. Opus decoder using libopus avcodec: document the use of AVCodecContext.delay for audio decoding vc1dec: add flush function for WMV9 and VC-1 decoders http: Increase buffer sizes to cope with longer URIs nutenc: const correctness for ff_put_v_trace/put_s_trace function arguments h264_refs: Fix debug tprintf argument types golomb: const correctness for get_ue()/get_se() function arguments get_bits: const correctness for get_bits_trace()/get_xbits_trace() arguments Conflicts: Changelog libavcodec/Makefile libavcodec/version.h libavformat/http.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-28Opus decoder using libopusNicolas George
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-09-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: dwt: Drop unused functions spatial_compose{53|97}i() nutdec: Remove unused and broken debug function stub avcodec: Drop long-deprecated imgconvert.h header Add Opus support to the Ogg muxer. Add Opus codec id and codec description. avformat: Identify anonymous AVIO typedef structs. Conflicts: libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/imgconvert.h libavcodec/version.h libavformat/oggenc.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-27Add Opus codec id and codec description.Andrew D'Addesio
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-09-25Merge commit '7751e4693dd10ec98c20fbd9887233b575034272'Michael Niedermayer
* commit '7751e4693dd10ec98c20fbd9887233b575034272': ogg: check that the expected number of headers had been parsed libx264: change default to closed gop to match x264cli Use avcodec_free_frame() to free AVFrames. lavf: use a malloced AVFrame in try_decode_frame(). lavc: add avcodec_free_frame(). lavc: ensure extended_data is set properly on decoding lavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults() lavc: use av_mallocz to allocate AVFrames. lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults Conflicts: doc/APIchanges doc/examples/decoding_encoding.c libavcodec/utils.c libavcodec/version.h libavfilter/src_movie.c libavformat/oggdec.c libavformat/oggdec.h libavformat/oggparsetheora.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-24lavc: add avcodec_free_frame().Anton Khirnov
Since an AVFrame now has malloced members (extended_data), it must have a destructor.
2012-09-23WebVTT demuxer and decoder.Clément Bœsch