James Almer
5256a86da0
Merge commit '5c8a5765dc5f4e29afb85b95be393c30f45412a8'
...
* commit '5c8a5765dc5f4e29afb85b95be393c30f45412a8':
scale_npp: explicitly set the output frames context for passthrough mode
See 62b75537db
Merged-by: James Almer <jamrial@gmail.com>
2017-09-27 20:59:14 -03:00
Tobias Rapp
f102a4efce
avfilter/f_metadata: avoid trailing whitespace in filter output
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2017-09-27 15:56:09 +02:00
Thomas Mundt
d491d6a0cd
avfilter/interlace: rename two variables for consistency
...
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
2017-09-25 22:13:37 +02:00
Paul B Mahol
5d07275529
avfilter/af_headphone: increase max ir length
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-25 12:12:13 +02:00
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>
2017-09-23 16:19:58 -03:00
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>
2017-09-23 16:19:58 -03:00
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>
2017-09-23 14:35:06 +01:00
Yogender Gupta
21e077fcb3
avfilter/thumbnail_cuda: add cuda thumbnail filter
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2017-09-22 11:54:35 +02:00
Carl Eugen Hoyos
b4b02477bd
lavfi/stereo3d: Set SAR for every output frame.
...
Fixes ticket #6672 .
2017-09-20 01:07:29 +02:00
James Almer
3af1060319
avfilter/tinterlace: Simplify checks for lowpass filtering flags
2017-09-18 00:15:58 -03:00
Thierry Foucu
42a41c3956
vf_fps: Fix memory leak introduced by eea64ef4
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-09-15 22:40:21 +02:00
Thomas Mundt
ed48e22748
avfilter/interlace: simplify code
...
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-09-15 22:40:21 +02:00
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>
2017-09-15 22:40:21 +02:00
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>
2017-09-15 02:24:31 +02:00
Paul B Mahol
133002e8ae
avfilter/vf_despill: fix assigment
...
Reported-by: Moritz Barsnick
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-14 18:05:57 +02:00
Paul B Mahol
04b9010f7f
avfilter/af_dcshift: do not leak out frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-12 20:28:53 +02:00
Nicolas George
549ef6ef9a
lavfi/framesync: remove dead code.
...
Fix CID 1416960.
2017-09-12 12:30:40 +02:00
Nicolas George
9bad5e5319
lavfi/framesync: reword repeatlast option help.
2017-09-12 11:14:25 +02:00
Nicolas George
5f5dcf44e3
lavfi: rename framesync2 to framesync.
2017-09-12 11:03:51 +02:00
Nicolas George
1b8e061cc5
lavfi: remove framesync.
2017-09-12 11:03:51 +02:00
Nicolas George
61b0b03f3f
lavfi/af_sidechaincompress: use helper macros.
2017-09-12 11:03:50 +02:00
Nicolas George
567d318b1c
lavfi/af_agate: use helper macros.
2017-09-12 11:03:50 +02:00
Nicolas George
76613618d9
lavfi: add helper functions and macros for activate.
2017-09-12 11:03:50 +02:00
James Almer
27a86b8ece
avfilter/vf_convolve: use av_clip_uint8
...
Fixes fate-source.
2017-09-09 22:02:25 -03:00
Paul B Mahol
4d41db7a31
avfilter: add generic FFT video convolve filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-09 17:09:37 +02:00
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.
2017-09-08 18:55:19 +02:00
Paul B Mahol
cf0eed2525
avfilter: add Haas stereo enhancer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-08 18:29:53 +02:00
Nicolas George
5ba2aef6ec
lavfi/buffersrc: add av_buffersrc_close().
2017-09-08 10:31:01 +02:00
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.
2017-09-08 10:21:59 +02:00
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>
2017-09-07 16:49:46 +02:00
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>
2017-09-06 23:57:59 +02:00
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>
2017-09-06 23:57:54 +02:00
Paul B Mahol
eea69a9f25
avfilter/af_dcshift: add direct path
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-06 11:46:24 +02:00
Michael Niedermayer
d8bc198d09
avfilter/vf_overlay: Restore shorthand option order
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-09-05 23:55:19 +02:00
James Almer
9a174d203a
avfilter/lavfutils: remove usage of AVStream->codec
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-09-05 14:21:41 -03:00
Paul B Mahol
a5e6cd79ec
avfilter/avf_avectorscope: fix mistake in previous commit
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-05 11:55:23 +02:00
Paul B Mahol
2c10f054c2
avfilter/avf_avectorscope: add possibility to auto zoom
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-05 11:43:49 +02:00
Paul B Mahol
6faa1275a2
avfilter: add despill filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-05 08:46:48 +02:00
Paul B Mahol
b43cd67862
avfilter/vf_fftfilt: make it possible to evaluate expressions per frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-04 19:30:44 +02:00
Paul B Mahol
4705a80fb0
avfilter/vf_fftfilt: add generic timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-04 19:04:31 +02:00
Paul B Mahol
2170ca41f4
avfilter/vf_fftfilt: add support for more pixel formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-04 18:36:37 +02:00
Paul B Mahol
2726b2d7e8
avfilter/vf_fftfilt: cache rdft contexts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-04 18:24:00 +02:00
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>
2017-09-04 14:20:29 +02:00
Paul B Mahol
f3c0f34f53
avfilter/vf_datascope: add timeline support to pixscope and oscilloscope
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-03 20:42:04 +02:00
Paul B Mahol
e6e58de03d
avfilter/vf_displace: add mirror edge mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-03 14:15:33 +02:00
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>
2017-09-03 13:37:43 +02:00
Paul B Mahol
f19e4118e9
avfilter/vf_subtitles: enable processing of alpha channel
...
Fixes #6605 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-09-03 13:12:48 +02:00
James Almer
3ec6d9c6b2
avfilter: remove duplicate and disabled trace log function
...
It's already defined and actually enabled depending on compiler options
elsewhere.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-09-01 14:06:14 -03:00
James Almer
027c682fa0
avfilter/vf_mcdeint: remove usage of deprecated AVCodecContext.me_method
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-08-30 21:49:14 -03:00
Paul B Mahol
6ccd32c367
avfilter/af_adelay: remove requirement that at least one delay should be provided
...
Such requirement is not necessary and code works without it just fine.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-08-30 20:24:28 +02:00