[FFmpeg-trac] #5587(avfilter:new): Attempting to use scale_npp filter results in "impossible to convert between formats"
FFmpeg
trac at avcodec.org
Tue May 24 09:03:51 CEST 2016
#5587: Attempting to use scale_npp filter results in "impossible to convert
between formats"
------------------------------------+------------------------------------
Reporter: rednaxela | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by andrey.turkin):
libavfilter is not too smart when it comes to HW acceleration. Try
something like
"hwupload_cuda,scale_npp=w=1316:h=1080:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p".
Basically, you need to explicitly send frames to GPU and back, and you
need to manually tell libavfilter the pixel format of the frames on their
way back to main memory (which is a shame but it's how things are for
now).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5587#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list