[FFmpeg-devel] [PATCH] avfilter: add sharpen_npp video filter

Timo Rothenpieler timo at rothenpieler.org
Thu Oct 7 19:14:20 EEST 2021


On 30.09.2021 20:51, Roman Arzumanyan wrote:
> Thanks for review, Timo.
> 
> Please find revised patch attached.
> (de)interlacing is now removed, doc entry was added as well.

applied with a few minor amendments, thanks!


While testing this via "-vf scale_npp=format=yuv420p,sharpen_npp" I 
discovered a weird issue where the last line of pixels was pink/purple, 
apparently missing the luma plane.

This turned out to be a bug in scale_npp, which returned frames with a 
height of 1088 instead of 1080 for a 1080p source.
It was fairly simple to fix, and I also pushed that fix: 
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=37745b49049d4dbb5aa4ea84bcc289ed511971f9
I'm just very surprised that nobody noticed this issue in such a long time.



Timo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211007/024dfb89/attachment.bin>


More information about the ffmpeg-devel mailing list