Opened 8 months ago

Last modified 8 months ago

#10980 new defect

If you apply the "sharpen_npp" filter to a 1080p video, the resolution will be output at 1088p (a green bar will appear at the bottom of the video)

Reported by: Django Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: sharpen_npp 1088
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Django)

Summary of the bug:

If you apply the "sharpen_npp" filter to a 1080p video, the resolution will be output at 1088p (a green bar will appear at the bottom of the video). I tested it with multiple files, and it doesn't seem like the issue is dependent on a specific video file.

It looks similar to the problem below, but in my environment it looks like a "shapen_npp" problem.
This is because the problem does not occur if "shapen_npp" is not used.
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2021-October/286774.html

How to reproduce:

%  ffmpeg -v 9 -loglevel 99 -report -hwaccel cuda -hwaccel_output_format cuda -i test.ts -vcodec h264_nvenc -vf yadif_cuda,bilateral_cuda,scale_npp=format=yuv420p,sharpen_npp -acodec copy -f mpegts test_deint_denoise_sharpen.ts
  • "yadif_cuda" and "bilateral_cuda" are probably not related to the problem. Even if you use "-vf scale_npp=format=yuv420p,sharpen_npp", a problem will occur.

Attachments (3)

ffmpeg-20240427-205001.log (2.3 MB ) - added by Django 8 months ago.
ffmpeg report
test_deint_denoise_sharpen2.ts_snapshot_00.00_[2024.04.27_21.34.52].jpg (39.9 KB ) - added by Django 8 months ago.
Green bar at the bottom of the video
test.ts.MediaInfo.txt (5.4 KB ) - added by Django 8 months ago.
test.ts MediaInfo(MPC-BE)

Change History (5)

by Django, 8 months ago

Attachment: ffmpeg-20240427-205001.log added

ffmpeg report

by Django, 8 months ago

Green bar at the bottom of the video

comment:1 by Django, 8 months ago

Description: modified (diff)

by Django, 8 months ago

Attachment: test.ts.MediaInfo.txt added

test.ts MediaInfo(MPC-BE)

comment:2 by Django, 8 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.