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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-16avfilter/firequalizer: add scale optionMuhammad Faiz
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16ffmpeg: remove unused ist parameter in do_subtitle_out()Clément Bœsch
2016-10-16Partially revert "avformat/matroskadec: set aspect ratio only when ↵James Almer
DisplayWidth and DisplayHeight are in pixels" The code works just fine regardless of unit, so only make sure DisplayUnit is not "unknown". Found-by: Nicolas George <george@nsup.org> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-16avcodec/utils: print Chroma Location string in verbose log levelJames Almer
It's container level information on some formats (Matroska, MXF, yuv4mpeg), so it should be printed at higher log levels than debug. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-16avformat/matroskaenc: write a DisplayUnit element when aspect ratio is unknownJames Almer
We don't currently support values 1 (centimeters), 2 (inches) or 3 (DAR), only the default value 0 (pixels) which doesn't need to be written. The fate refs are updated as unknown SAR is now signaled in the output files with the addition of the new element. Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-16avformat/matroskadec: set aspect ratio only when DisplayWidth and ↵James Almer
DisplayHeight are in pixels A missing DisplayUnit element or one with the default value of 0 means DisplayWidth and DisplayHeight should be interpreted as pixels. The current code setting st->sample_aspect_ratio is wrong when DisplayUnit is anything else. Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-16doc/filters: document tukey window on firequalizerMuhammad Faiz
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16avfilter/firequalizer: add tukey windowMuhammad Faiz
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16avfilter/firequalizer: change WFUNC_MIN/MAX to NB_WFUNCMuhammad Faiz
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16avfilter/showcqt: add csp optionMuhammad Faiz
from colorspace filter Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-15lavf/mov: support gopro firmware udta tagJean Caillé
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-15avutil: Improved selftest coverage for libavutil/fifo.cThomas Turner
Tested functions: av_fifo_generic_peek(), av_fifo_grow() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-14avutil/audio_fifo: Use av_fifo_freep() and remove redundant if()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-14ffmpeg: Use av_fifo_freep() to avoid stale pointersMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-14ffmpeg_cleanup: fix crash with unrecognized codecJames Zern
since: 3e5e5bd Merge commit '398f015f077c6a2406deffd9e37ff34b9c7bb3bc' Signed-off-by: James Zern <jzern@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-14libopenjpegenc: fix out-of-bounds reads when filling the edgesAndreas Cadhalpun
The calculation of width/height should round up, not round down to prevent setting width or height to 0. Also image->comps[compno].w is unsigned (at least in openjpeg2), so the calculation could silently wrap around without the explicit cast to int. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-14libopenjpegenc: stop reusing image data buffer for openjpeg 2Andreas Cadhalpun
openjpeg 2 sets the data pointers of the image components to NULL, causing segfaults if the image is reused. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-14configure: Enable pie for toolchain=hardened.Carl Eugen Hoyos
2016-10-14lavfi/sidedata: add filter for manipulating frame side dataMarton Balint
This is a similar filter to f_metadata, only it works on side data. Since adding side data from a user provided arbitrary binary string is unsafe, because current code assumes that a side data of a certain kind has the proper size, this filter only implements selection and deletion. Also, no value matching support is implemented yet, because there is no uniform way to specify a side data textually. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-13configure: fix detection of libopenjpegAndreas Cadhalpun
Use check_lib2 to test the header together with the function. This is necessary, because '-DOPJ_STATIC' changes what the included header does. Also add '-DOPJ_STATIC' to CPPFLAGS, so that it isn't necessary to hardcode this in libavcodec/libopenjpeg{dec,enc}.c. Finally, check for non-static openjpeg 2.1, too. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-13fate: add test for firequalizer filterMuhammad Faiz
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-13doc/demuxers: restore alphabetical orderStefano Sabatini
2016-10-13avformat/matroskadec: workaround the field_order bug in the Matroska muxerJames Almer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-13libavcodec/mips/h264dsp_msa.c: fix type in some function parametersVicente Olivert Riera
This fixes a build problem for MIPS architecture that looks like this: libavcodec/mips/h264dsp_msa.c:2498:6: error: conflicting types for ‘ff_weight_h264_pixels16_8_msa’ void ff_weight_h264_pixels16_8_msa(uint8_t *src, int stride, This bug was introduced by commit bc26fe89275c267d169b468356c82ee59874407d: avcodec/h264: Use ptrdiff_t for (bi)weight functions That commit changed the data type of some function parameters in some function definitions. However, the implementation of those functions in libavcodec/mips/h264dsp_msa.c wasn't changed accordingly. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-13lavf/riff: Support Verint NetDVR II ("VSM4") h263 video in asf.Carl Eugen Hoyos
2016-10-13avformat: bump minor version after the Matroska field order enum fixJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-13avformat/matroska: fix MatroskaVideoFieldOrder enum valuesJames Almer
The spec says 9: Interlaced with bottom field displayed first and top field stored first 14: Interlaced with top field displayed first and bottom field stored first And avcodec.h states AV_FIELD_TB, //< Top coded first, bottom displayed first AV_FIELD_BT, //< Bottom coded first, top displayed first Reviewed-by: Dave Rice <dave@dericed.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-12configure: Use LDEXEFLAGS in check_ld().Carl Eugen Hoyos
Avoids detecting libraries that are not compatible with ldexeflags.
2016-10-12avcodec/nvenc: add support for forcing intra/idr framesTimo Rothenpieler
2016-10-12crystalhd: Use mpeg4_unpack_bframes to avoid buggy crystalhd handlingPhilip Langdale
The hardware handling of packed bframes was always questionable but it used to ok with my workaround. Today, not so much. But today we have a bsf to unpack the bframes, so let's just use that and be done with it.
2016-10-12crystalhd: Fix handling of PTSPhilip Langdale
With all the various refactorings that have happened over the years, the current pts logic is very broken for non-trivial cases (ie: ones where not every frame/field has a meaningful pts assocated with it). Generally, we do not want to write AV_NOPTS_VALUE as the output timestamp, regardless of anything else. It's better to pass zero if there's no other information. Additionally, interlaced content where the decoder returns each field separately can result in the first field carrying the timestamp and the second having AV_NOPTS_VALUE. It's clearly wrong to overwrite the valid timestamp. So, let's just never write AV_NOPTS_VALUE into an output frame. Empirically, this fixed playback of interlaced mpeg2 and h.264 and mpeg4-asp with packed b-frames in an avi container.
2016-10-12lavf/riffenc: Always write unexpected channel_mask.Carl Eugen Hoyos
Allows to write arbitrary channel masks also for 16bit 48kHz pcm.
2016-10-12aacenc: use the decoder's lcg PRNGRostislav Pehlivanov
Using lfg was an overkill in this case where the random numbers were only used for encoder descisions. Should increase result uniformity between different FPUs and gives a slight speedup. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-10-12lavc/mediacodecdec: rename dequeued_buffer_nb to output_buffer_countMatthieu Bouron
2016-10-12lavc/mediacodecdec: remove first output buffer timing debug logMatthieu Bouron
2016-10-12avformat/matroskaenc: don't write a FlagInterlaced element if it would write ↵James Almer
the default value The spec says: "Mandatory elements with a default value may be left out of the file. In the absence of a mandatory element, the element's default value is used." Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-12doc/developer: Mention mime type and patchwork in "Submitting patches"Michael Niedermayer
Suggested-by: ronald Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-11lavfi/metadata: fix metadata deletion if comparison returns falseMarton Balint
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-11doc: fix various typos and grammar errorsMoritz Barsnick
Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-11lavf/matroskaenc: Always write V_QUICKTIME extradata.Carl Eugen Hoyos
Fixes ticket #5872.
2016-10-11lavf/aiffenc: Write extradata also for qcelp.Carl Eugen Hoyos
Fixes ticket #4009.
2016-10-11lavf/aiffdec: Default to full rate qcelp as QT does.Carl Eugen Hoyos
Fixes decoding of the output file from ticket #4009.
2016-10-11lavf/mxfenc: Do not print a useless error message.Carl Eugen Hoyos
The option d10_channelcount only exists for mxf_d10.
2016-10-11avformat/matroskaenc: fix targets for attachment tagsJames Almer
Attachment tags were being written targeting non-existent streams in the output file. Also filter filename and mimetype entries, as they are standard elements in the Attachment master. Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-11lavfi/pan: renormalize negative gain coefficients properlyMoritz Barsnick
The parser for the outdef will accept a negative value for the first named channel's gain. As negative values effectively only invert the phase of the signal, and not negate the level, the gains' absolute values must be used to correctly accumulate the levels. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-10configure: loongson disable mipsfpu and mipsdsp optimizationsZhou Xiaoyong
The optimizations of mipsdsp are not supported by all loongson cpu. The optimizations of mipsfpu and mipsdspr2 maybe supported by 3A2000/3A3000/3A4000 but not tested yet. Loongson only support mmi (loongSIMD) optimizations now. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-10avcodec/d3d11va: use the proper slice indexSteve Lhomme
The slice index expected by D3D11VA is the one from the texture not from the array or texture/slices. In VLC the slices we provide the decoder don't start from 0 and thus pictures appear in bogus order. With possible crashes and corruptions when using an invalid index. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-10avutil/hwcontext_vdpau: Fix warning: "GET_CALLBACK" redefinedMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-10avformat/movenc: Check frame rate in mov_write_uuidprof_tag()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-10avformat/movenc: Switch mov_write_uuidprof_tag() to avg_frame_rateMichael Niedermayer
Using the stream timebase simply overflows Fix integer overflow in psp framerate computation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>