summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* vf_fps: when reading EOF, using current_pts to duplicate the last frame if ↵Thierry Foucu2017-09-15
| | | | | | | | | needed. Fix ticket #2674 Tested with examples from ticket 2674. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_despill: fix assigmentPaul B Mahol2017-09-14
| | | | | Reported-by: Moritz Barsnick Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_dcshift: do not leak out framePaul B Mahol2017-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/framesync: remove dead code.Nicolas George2017-09-12
| | | | Fix CID 1416960.
* lavfi/framesync: reword repeatlast option help.Nicolas George2017-09-12
|
* lavfi: rename framesync2 to framesync.Nicolas George2017-09-12
|
* lavfi: remove framesync.Nicolas George2017-09-12
|
* lavfi/af_sidechaincompress: use helper macros.Nicolas George2017-09-12
|
* lavfi/af_agate: use helper macros.Nicolas George2017-09-12
|
* lavfi: add helper functions and macros for activate.Nicolas George2017-09-12
|
* avfilter/vf_convolve: use av_clip_uint8James Almer2017-09-09
| | | | Fixes fate-source.
* avfilter: add generic FFT video convolve filterPaul B Mahol2017-09-09
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImageClément Bœsch2017-09-08
| | | | | | What is required by the filter is CoreImage, there is no QuartzCore usage. QuartzCore/CoreImage.h is simply an include to CoreImage/CoreImage.h.
* avfilter: add Haas stereo enhancerPaul B Mahol2017-09-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/buffersrc: add av_buffersrc_close().Nicolas George2017-09-08
|
* lavfi: guess a timestamp for compat status change.Nicolas George2017-09-08
| | | | | | | | | Use the earliest input with the same status. If that fails, print a warning and use the earliest source. With this change, simple filter forward correctly the timestamp of EOF. Filters that are supposed to change it should be updated to actually forward it.
* avfilter/vf_zoompan: fix specific corner case when no frame was ever ↵Paul B Mahol2017-09-07
| | | | | | | requested from input Reported-by: Nicolas George Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/atempo: Avoid false triggering an assertion failurePavel Koshevoy2017-09-06
| | | | | | | | Steps to reproduce: 1. revert 4240e5b047379b29c33dd3f4438bc4e610527b83 2. ./ffmpeg -f lavfi -i sine=d=1 -af aselect=e=0,atempo=0.5 -y atempo.wav Signed-off-by: Marton Balint <cus@passwd.hu>
* Revert "lavfi/atempo: avoid false triggering an assertion failure"Pavel Koshevoy2017-09-06
| | | | | | | | This reverts commit 4240e5b047379b29c33dd3f4438bc4e610527b83. Fixes ticket #6540. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_dcshift: add direct pathPaul B Mahol2017-09-06
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_overlay: Restore shorthand option orderMichael Niedermayer2017-09-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/lavfutils: remove usage of AVStream->codecJames Almer2017-09-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/avf_avectorscope: fix mistake in previous commitPaul B Mahol2017-09-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/avf_avectorscope: add possibility to auto zoomPaul B Mahol2017-09-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add despill filterPaul B Mahol2017-09-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_fftfilt: make it possible to evaluate expressions per framePaul B Mahol2017-09-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_fftfilt: add generic timeline supportPaul B Mahol2017-09-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_fftfilt: add support for more pixel formatsPaul B Mahol2017-09-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_fftfilt: cache rdft contextsPaul B Mahol2017-09-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_datascope: make it possible for output window to automatically ↵Paul B Mahol2017-09-04
| | | | | | change position Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_datascope: add timeline support to pixscope and oscilloscopePaul B Mahol2017-09-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_displace: add mirror edge modePaul B Mahol2017-09-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_displace: remove useless requirement that SAR matches between ↵Paul B Mahol2017-09-03
| | | | | | input streams Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_subtitles: enable processing of alpha channelPaul B Mahol2017-09-03
| | | | | | Fixes #6605. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: remove duplicate and disabled trace log functionJames Almer2017-09-01
| | | | | | | It's already defined and actually enabled depending on compiler options elsewhere. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_methodJames Almer2017-08-30
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_adelay: remove requirement that at least one delay should be ↵Paul B Mahol2017-08-30
| | | | | | | | provided Such requirement is not necessary and code works without it just fine. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_mcdeint: free the AVCodecContext struct properlyJames Almer2017-08-30
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_libvmaf: fix pre convert to framesync2 bugsAshish Singh2017-08-30
| | | | | | | | | | Hi, it fixes the errors while converting to framesync2. libvmaf was changed recently, double *score variable is removed in the new version since it's not used anywhere. This patch fixes all the warnings and segmentation faults. Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avfilter/vf_lut2: add framesync optionsPaul B Mahol2017-08-30
| | | | | | Also stop leaking memory. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: bump minor version after change in options.Nicolas George2017-08-29
|
* lavfi: remove dualinput.Nicolas George2017-08-29
|
* vf_ssim: convert to framesync2.Nicolas George2017-08-29
|
* lavfi/vf_psnr: convert to framesync2.Nicolas George2017-08-29
|
* lavfi/vf_paletteuse: convert to framesync2.Nicolas George2017-08-29
|
* lavfi/vf_lut3d: convert to framesync2.Nicolas George2017-08-29
|
* lavfi/vf_libvmaf: convert to framesync2.Nicolas George2017-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After this commit, the code compiles, but on my setup it segfaults before and after. It also prints the very worrying warning: src/libavfilter/vf_libvmaf.c:161:66: warning: passing argument 4 of ‘compute_vmaf’ from incompatible pointer type [-Wincompatible-pointer-types] /tmp/i/include/libvmaf.h:26:8: note: expected ‘int (*)(float *, float *, float *, int, void *)’ but argument is of type ‘int (*)(float *, float *, float *, int, double *, void *)’ ==12116== Thread 6: ==12116== Conditional jump or move depends on uninitialised value(s) ==12116== at 0x526D432: cons_ (ocval.h:1188) ==12116== by 0x526D432: GenericIT (ocval.h:1119) ==12116== by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92) ==12116== by 0x5211F5D: loads (pickleloader.h:566) ==12116== by 0x5211F5D: LoadValFromArray (chooseser.h:290) ==12116== by 0x5211F5D: LoadValFromFile (chooseser.h:405) ==12116== by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77) ==12116== by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149) ==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645) ==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161) ==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170) ==12116== by 0x7967493: start_thread (pthread_create.c:333) ==12116== by 0x7F69A8E: clone (clone.S:97) ==12116== ==12116== Conditional jump or move depends on uninitialised value(s) ==12116== at 0x526D432: cons_ (ocval.h:1188) ==12116== by 0x526D432: GenericIT (ocval.h:1119) ==12116== by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92) ==12116== by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94) ==12116== by 0x5211F5D: loads (pickleloader.h:566) ==12116== by 0x5211F5D: LoadValFromArray (chooseser.h:290) ==12116== by 0x5211F5D: LoadValFromFile (chooseser.h:405) ==12116== by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77) ==12116== by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149) ==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645) ==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161) ==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170) ==12116== by 0x7967493: start_thread (pthread_create.c:333) ==12116== by 0x7F69A8E: clone (clone.S:97) ==12116== ==12116== Conditional jump or move depends on uninitialised value(s) ==12116== at 0x526D432: cons_ (ocval.h:1188) ==12116== by 0x526D432: GenericIT (ocval.h:1119) ==12116== by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92) ==12116== by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94) ==12116== by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94) ==12116== by 0x5211F5D: loads (pickleloader.h:566) ==12116== by 0x5211F5D: LoadValFromArray (chooseser.h:290) ==12116== by 0x5211F5D: LoadValFromFile (chooseser.h:405) ==12116== by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77) ==12116== by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149) ==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645) ==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161) ==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170) ==12116== by 0x7967493: start_thread (pthread_create.c:333) ==12116== by 0x7F69A8E: clone (clone.S:97) ==12116== ==12116== Use of uninitialised value of size 8 ==12116== at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147) ==12116== by 0x52AB5E8: combo (combo.c:149) ==12116== by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278) ==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645) ==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161) ==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170) ==12116== by 0x7967493: start_thread (pthread_create.c:333) ==12116== by 0x7F69A8E: clone (clone.S:97) ==12116== ==12116== Invalid read of size 4 ==12116== at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147) ==12116== by 0x52AB5E8: combo (combo.c:149) ==12116== by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278) ==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645) ==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161) ==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170) ==12116== by 0x7967493: start_thread (pthread_create.c:333) ==12116== by 0x7F69A8E: clone (clone.S:97) ==12116== Address 0x40 is not stack'd, malloc'd or (recently) free'd ==12116== ==12116== ==12116== Process terminating with default action of signal 11 (SIGSEGV) ==12116== Access not within mapped region at address 0x40 ==12116== at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147) ==12116== by 0x52AB5E8: combo (combo.c:149) ==12116== by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278) ==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645) ==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161) ==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170) ==12116== by 0x7967493: start_thread (pthread_create.c:333) ==12116== by 0x7F69A8E: clone (clone.S:97)
* lavfi/vf_blend: convert to framesync2.Nicolas George2017-08-29
|
* lavfi/vf_overlay: use framesync2 options.Nicolas George2017-08-29
|
* lavfi/framesync2: add common options.Nicolas George2017-08-29
| | | | | Also add functions and macros to help filters chaining these options to their own.