summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* lavfi: add xbr filter xBRArwa Arif2014-11-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/avf_showwaves: fix off by one error in loop conditionMarton Balint2014-11-09
| | | | | | | | It caused segfaults. Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/af_aresample: remove unused variableMichael Niedermayer2014-11-06
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_idet: add a repeated field detectionKevin Mitchell2014-11-05
| | | | | | This can be useful for determining telecine. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/af_aresample: Limit data per inserted packetMichael Niedermayer2014-11-04
| | | | | | | This avoids creating unwieldy large packets, which is allowed but does not seem to be a good idea Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/af_aresample: split flushing code outMichael Niedermayer2014-11-04
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_idet: use exp2()Michael Niedermayer2014-11-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_idet: use av_rescale()Michael Niedermayer2014-11-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_idet: fix rounding of av_dict_set_fxp()Michael Niedermayer2014-11-03
| | | | | | fixes the remainder overflowing beyond .999 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_idet: add a "half_life" option for statisticsKevin Mitchell2014-11-03
| | | | | | This can be useful for videos in which the interlacing pattern changes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_drawtext: use gm_time_r() for thread safteyMichael Niedermayer2014-11-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/idet: add current frame classification to metadataKevin Mitchell2014-11-01
| | | | | | Fixes ticket 3832 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/idet: add metadata to "current" frame instead of "next" frameKevin Mitchell2014-11-01
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '6b9b42cc5576e1819ad1e29d98940066fd14b2d6'Michael Niedermayer2014-10-26
|\ | | | | | | | | | | | | | | | | | | * commit '6b9b42cc5576e1819ad1e29d98940066fd14b2d6': drawtext: Remove the ifdef for localtime_r Conflicts: libavfilter/vf_drawtext.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * drawtext: Remove the ifdef for localtime_rMartin Storsjö2014-10-26
| | | | | | | | | | | | | | | | If it isn't available in the system, we've got a fallback to the normal localtime function, so normal code can assume it is available as long as time_internal.h is included. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avfilter: Read errno before av_log() as the callback from av_log() might ↵Michael Niedermayer2014-10-25
| | | | | | | | | | | | affect errno Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'ac84c1ce24a285f9cf16d4297bce73b1c4a6e435'Michael Niedermayer2014-10-25
|\| | | | | | | | | | | | | | | | | | | * commit 'ac84c1ce24a285f9cf16d4297bce73b1c4a6e435': avfilter: check filter link validity Conflicts: libavfilter/avfilter.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avfilter: check filter link validityVittorio Giovara2014-10-24
| | | | | | | | | | | | | | Remove now redundant check. CC: libav-stable@libav.org Bug-Id: CID 700371
* | avfilter/vf_idet: Fixes issue with idet not flushing last frame.Neil Birkbeck2014-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses a similar approach as vf_yadif to flush the last frame in idet. Quick test with 50 frames from vsynth1: ./ffmpeg.old -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi (gives) [Parsed_idet_0 @ 0x261ebb0] Multi frame detection: TFF:0 BFF:0 Progressive:48 Undetermined:1 ./ffmpeg -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi (gives) [Parsed_idet_0 @ 0x35a0bb0] Multi frame detection: TFF:0 BFF:0 Progressive:49 Undetermined:1 Fate tests have been updated. (In testing, it seems this filter will also need a subsequent patch for single frame input) Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/concat: accept a single segmentStefano Sabatini2014-10-21
| | | | | | | | | | Simplify scripting operations, so that n=1 is not to be considered as a special case.
* | lavfi/afade: fix cur_sample computationStefano Sabatini2014-10-21
| | | | | | | | Use the correct timebase conversion.
* | Merge commit 'd1afd3e1d6e43f4d37ae147091f270124ac48e04'Michael Niedermayer2014-10-20
|\| | | | | | | | | | | | | | | * commit 'd1afd3e1d6e43f4d37ae147091f270124ac48e04': vf_format: check input validity See: ee16e0cacc16ea60c35a66796410012755263c3c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_format: check input validityVittorio Giovara2014-10-20
| | | | | | | | CC: libav-stable@libav.org
* | avfilter/vf_idet: add both multiple and single frame detection metadataKevin Mitchell2014-10-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavfi: added option to vf_perspective to specify transformation by giving ↵Nicholas Robbins2014-10-19
| | | | | | | | | | | | | | destinations of corners of source. Signed-off-by: Nicholas Robbins <nickrobbins@yahoo.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_idet: add counts to frame metadataKevin Mitchell2014-10-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0d989dbfc4bc5bc1d563e967449116a7a9865258'Michael Niedermayer2014-10-18
|\| | | | | | | | | | | | | * commit '0d989dbfc4bc5bc1d563e967449116a7a9865258': af_resample: check av_opt_set_dict return value Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * af_resample: check av_opt_set_dict return valueVittorio Giovara2014-10-18
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1087076
* | Merge commit '6d96c7ea89600655b1f18a3b12f3f041fa714152'Michael Niedermayer2014-10-18
|\| | | | | | | | | | | | | | | | | | | | | * commit '6d96c7ea89600655b1f18a3b12f3f041fa714152': vf_showinfo: Forward the av_image_get_linesize error Conflicts: libavfilter/vf_showinfo.c See: 2aecfd4f209688a8365f18b351f0ecf12fe5f873 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_showinfo: Forward the av_image_get_linesize errorVittorio Giovara2014-10-18
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1087086
* | Merge commit 'f401792595dd7760f531e8a3bd2336e9033bd45a'Michael Niedermayer2014-10-18
|\| | | | | | | | | | | | | | | | | | | | | * commit 'f401792595dd7760f531e8a3bd2336e9033bd45a': vf_drawtext: Do not leak the mmapped textfile Conflicts: libavfilter/vf_drawtext.c See: 6956b048d8198dce5126c8942dece21cfb1a7978 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vf_drawtext: Do not leak the mmapped textfileLuca Barbato2014-10-18
| | | | | | | | | | | | | | And validate its size while at it. CC: libav-stable@libav.org Bug-Id: CID 1244189
* | Merge commit '6cbbf0592f4f3940aac7f687850d1b726a2ea836'Michael Niedermayer2014-10-18
|\| | | | | | | | | | | | | * commit '6cbbf0592f4f3940aac7f687850d1b726a2ea836': resample: Avoid off-by-1 errors in PTS calcs. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * resample: Avoid off-by-1 errors in PTS calcs.Timothy B. Terriberry2014-10-18
| | | | | | | | | | | | | | | | | | | | | | The rounding used in the PTS calculations in filter_frame() does not actually match the number of samples output by the resampler. This leads to off-by-1 errors in the timestamps indicating gaps and underruns, even when the input timestamps are all contiguous. Bug-Id: 753 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | x86/vf_noise: move asm code to a separate fileJames Almer2014-10-17
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/vf_noise: Use a separate seed for each planeMichael Niedermayer2014-10-16
| | | | | | | | | | | | This should reduce the correlation between planes Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_noise: use per component rand_shiftMichael Niedermayer2014-10-16
| | | | | | | | | | | | This allows using different shifts per plane Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_noise: move shift calculation to filter_frame()Michael Niedermayer2014-10-16
| | | | | | | | | | | | This makes the temporal noise case deterministic with threads Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_noise: fix high resolution supportMichael Niedermayer2014-10-16
| | | | | | | | | | Fixes Ticket4017 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_pp: add gbrp supportMichael Niedermayer2014-10-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_pp: support AV_PIX_FMT_GRAY8Michael Niedermayer2014-10-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter/vf_pp: add yuv 4:4:0 supportMichael Niedermayer2014-10-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: remove obsolete FF_API_DRAWTEXT_OLD_TIMELINE cruftJames Almer2014-10-12
| |
* | vf_drawtext: add missing clear of pointers after av_expr_free()Karl Kiniger2014-10-11
| | | | | | | | | | | | | | | | | | | | Fixes segfault when using sendcmd with drawtext. Since LIBAVFILTER_VERSION_MAJOR 5 FF_API_DRAWTEXT_OLD_TIMELINE evaluates to 0. Signed-off-by: Karl Kiniger <karl.kiniger@med.ge.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: add w/h parameters in timelineClément Bœsch2014-10-07
| | | | | | | | Fixes Ticket #4008.
* | avfilter/af_adelay: use av_freep(), do not leave stale pointers in memoryMichael Niedermayer2014-10-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: Properly check for failed format queryDerek Buitenhuis2014-10-02
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avfilter/aresample: Check for memory alloc failure for out sample ratesDerek Buitenhuis2014-10-02
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avfilter/signalstats: add more pixel formatsPaul B Mahol2014-09-27
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libavfilter/af_amix: avoid derreferencing possible nullReynaldo H. Verdejo Pinochet2014-09-26
| | | | | | | | | | | | | | | | ff_all_channel_layouts() might return null on alloc failure. Fixes CID1241516 Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>