Carl Eugen Hoyos
59924d5eb1
lavfi/vmafmotion: Allow more pix_fmts.
8 years ago
Michael Niedermayer
d679f3d021
avfilter/vf_thumbnail_cuda: Avoid mixing declaration and statements
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
67057aaeb2
avfilter/vmaf_motion: use correct header guards
Fixes fate-source
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Ashish Singh
148c8e88c4
avfilter: add vmafmotion filter
Signed-off-by: Ashish Singh <ashk43712@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years ago
Tobias Rapp
f102a4efce
avfilter/f_metadata: avoid trailing whitespace in filter output
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
8 years ago
Thomas Mundt
d491d6a0cd
avfilter/interlace: rename two variables for consistency
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
8 years ago
Paul B Mahol
5d07275529
avfilter/af_headphone: increase max ir length
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Thomas Mundt
40bfaa190c
avfilter/interlace: add support for 10 and 12 bit
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Thomas Mundt
58ca446672
avfilter/tinterlace: use drawutils for pad mode
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Rostislav Pehlivanov
039ebaa5f3
lavfi: make window_func an inline function
Eliminate lavc->lavfi dependency. The function isn't big and doesn't
deserve its own file.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years ago
Yogender Gupta
21e077fcb3
avfilter/thumbnail_cuda: add cuda thumbnail filter
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
8 years ago
Carl Eugen Hoyos
b4b02477bd
lavfi/stereo3d: Set SAR for every output frame.
Fixes ticket #6672 .
8 years ago
James Almer
3af1060319
avfilter/tinterlace: Simplify checks for lowpass filtering flags
8 years ago
Thierry Foucu
42a41c3956
vf_fps: Fix memory leak introduced by eea64ef4
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Thomas Mundt
ed48e22748
avfilter/interlace: simplify code
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Thomas Mundt
a7f6bfdc18
avfilter/interlace: prevent over-sharpening with the complex low-pass filter
The complex vertical low-pass filter slightly over-sharpens the picture. This becomes visible when several transcodings are cascaded and the error potentises, e.g. some generations of HD->SD SD->HD.
To prevent this behaviour the destination pixel must not exceed the source pixel when the average of the pixels above and below is less than the source pixel. And the other way around.
Tested and approved in a visual transcoding cascade test by video professionals.
SSIM/PSNR test with the first generation of an HD->SD file as a reference against the 6th generation(3 x SD->HD HD->SD):
Results without the patch:
SSIM Y:0.956508 (13.615881) U:0.991601 (20.757750) V:0.993004 (21.551382) All:0.974405 (15.918463)
PSNR y:31.838009 u:48.424280 v:48.962711 average:34.759466 min:31.699297 max:40.857847
Results with the patch:
SSIM Y:0.970051 (15.236232) U:0.991883 (20.905857) V:0.993174 (21.658049) All:0.981290 (17.279202)
PSNR y:34.412108 u:48.504454 v:48.969496 average:37.264644 min:34.310637 max:42.373392
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Thierry Foucu
eea64ef4cf
vf_fps: when reading EOF, using current_pts to duplicate the last frame if needed.
Fix ticket #2674
Tested with examples from ticket 2674.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
133002e8ae
avfilter/vf_despill: fix assigment
Reported-by: Moritz Barsnick
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
04b9010f7f
avfilter/af_dcshift: do not leak out frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Nicolas George
549ef6ef9a
lavfi/framesync: remove dead code.
Fix CID 1416960.
8 years ago
Nicolas George
9bad5e5319
lavfi/framesync: reword repeatlast option help.
8 years ago
Nicolas George
5f5dcf44e3
lavfi: rename framesync2 to framesync.
8 years ago
Nicolas George
1b8e061cc5
lavfi: remove framesync.
8 years ago
Nicolas George
61b0b03f3f
lavfi/af_sidechaincompress: use helper macros.
8 years ago
Nicolas George
567d318b1c
lavfi/af_agate: use helper macros.
8 years ago
Nicolas George
76613618d9
lavfi: add helper functions and macros for activate.
8 years ago
James Almer
27a86b8ece
avfilter/vf_convolve: use av_clip_uint8
Fixes fate-source.
8 years ago
Paul B Mahol
4d41db7a31
avfilter: add generic FFT video convolve filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Clément Bœsch
f8519529cf
lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImage
What is required by the filter is CoreImage, there is no QuartzCore
usage. QuartzCore/CoreImage.h is simply an include to
CoreImage/CoreImage.h.
8 years ago
Paul B Mahol
cf0eed2525
avfilter: add Haas stereo enhancer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Nicolas George
5ba2aef6ec
lavfi/buffersrc: add av_buffersrc_close().
8 years ago
Nicolas George
f5a9c63401
lavfi: guess a timestamp for compat status change.
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.
8 years ago
Paul B Mahol
e1524de454
avfilter/vf_zoompan: fix specific corner case when no frame was ever requested from input
Reported-by: Nicolas George
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Pavel Koshevoy
25b5096400
lavfi/atempo: Avoid false triggering an assertion failure
Steps to reproduce:
1. revert 4240e5b047
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>
8 years ago
Pavel Koshevoy
edb4ba5bd4
Revert "lavfi/atempo: avoid false triggering an assertion failure"
This reverts commit 4240e5b047 .
Fixes ticket #6540 .
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Paul B Mahol
eea69a9f25
avfilter/af_dcshift: add direct path
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
d8bc198d09
avfilter/vf_overlay: Restore shorthand option order
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
9a174d203a
avfilter/lavfutils: remove usage of AVStream->codec
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
a5e6cd79ec
avfilter/avf_avectorscope: fix mistake in previous commit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
2c10f054c2
avfilter/avf_avectorscope: add possibility to auto zoom
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
6faa1275a2
avfilter: add despill filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
b43cd67862
avfilter/vf_fftfilt: make it possible to evaluate expressions per frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
4705a80fb0
avfilter/vf_fftfilt: add generic timeline support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
2170ca41f4
avfilter/vf_fftfilt: add support for more pixel formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
2726b2d7e8
avfilter/vf_fftfilt: cache rdft contexts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
833a38dbe5
avfilter/vf_datascope: make it possible for output window to automatically change position
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
f3c0f34f53
avfilter/vf_datascope: add timeline support to pixscope and oscilloscope
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
e6e58de03d
avfilter/vf_displace: add mirror edge mode
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
06ed3768c8
avfilter/vf_displace: remove useless requirement that SAR matches between input streams
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
f19e4118e9
avfilter/vf_subtitles: enable processing of alpha channel
Fixes #6605 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago