[FFmpeg-devel] [PATCH] libavfilter: scale_cuda filter adds dynamic command values
msanders
marksanders at protonmail.com
Mon Nov 26 20:09:02 EET 2018
Hi,
This patch adds command support for dynamic change the size in the “scale_cuda” resize filter. In fact, it’s the first GPU filter accepting realtime commands. Using similar changes it’s possible to port it to other hwaccelerators. The only limitation is that the values cannot exceed the initial values. It is therefore necessary to set up the graph with the higher values you may need.
One example: { -filter_complex "scale_cuda=720:576,hwdownload,format=nv12,zmq" }
And then you can use the <c> or ZMQ messages to change the width and/or height.
Warning: This patch requires, to have sense, to apply too this other patch that fixes the hwdownload filter.
https://patchwork.ffmpeg.org/patch/11165/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-libavfilter-scale_cuda-dynamic-command-values.patch.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181126/1c510ebb/attachment.txt>
More information about the ffmpeg-devel
mailing list