[FFmpeg-devel] [PATCH] (for discussion): cuvid: allow to crop and resize in decoder
Miroslav Slugeň
thunder.m at email.cz
Sun Feb 12 22:07:40 EET 2017
Dne 12.2.2017 v 20:59 Hendrik Leppkes napsal(a):
> On Sun, Feb 12, 2017 at 8:51 PM, Miroslav Slugeň <thunder.m at email.cz> wrote:
>> This patch is for discussion only, not ready to commit yet.
>>
>> 1. Cuvid decoder actualy support scaling input to requested resolution
>> without any performance penalty (like libnpp does), so this patch is proof
>> of concept that it is working like expected.
>>
> I don't think scaling is something a decoder should be doing, we don't
> really want all sorts of video processing jumbled up into one
> monolithic cuvid thing, but rather keep tasks separated.
>
> - Hendrik
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Yes, but when you transcoding from FHD or 4K to SD quality it could save
alotof GPU resources.
We have one example where "ONE" Quadro P5000 (2xNVENC) is downscaling
about 74 FHD streams to SD at realtime.
I know it is not something that is acceptable in current ffmpeg, maybe
libav could adopt this patch.
M.
More information about the ffmpeg-devel
mailing list