[FFmpeg-trac] #8059(avfilter:new): pad filter with hw support

FFmpeg trac at avcodec.org
Fri Aug 9 09:57:35 EEST 2019


#8059: pad filter with hw support
-------------------------------------+-------------------------------------
             Reporter:  fortman      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  pad,         |               Blocked By:
  scale_cuda, scale_qsv              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by fortman):

 Hi,

 It seems to me that no one has understood this request.
 So I will try to explain why we need it:

 - You have a high definition footage sequence. Then you want to resize it,
 and at the same time frame it in a black border. After you need to
 compress it.

 In this case, you can complete all tasks in a HARDWARE context... except
 for the framing filter. You can read, resize and compress. But the "pad"
 filter in SOFTWARE it's the only solution for the framing. So it's
 required to add a hwdownload and hwupload, plus the CPU resources.

 However, all HW filters have simple functions to move/copy pixels. Then
 it's simple to implement the "pad" functionality inside a hw "scale_*"
 filter. And for this reason I make this request.

 So please, consider it.
 Thank you!

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8059#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list