[FFmpeg-trac] #7507(avfilter:new): hwupload: missing device platform

FFmpeg trac at avcodec.org
Mon Oct 22 15:16:29 EEST 2018

#7507: hwupload: missing device platform
             Reporter:  msiders      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:  hwupload,    |               Blocked By:
  hwaccel                            |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |

Comment (by oromit):

 Looking at the code in ffmpeg.c, it looks like it only supports one single
 -hwaccel per input stream. They do more than "only initialize the gpu
 libraries", in fact, that's one thing they don't really do at all.

 The hwupload filter chooses what hardware to use based on the type of
 hw_device_ctx set on its context.

 I don't think this is possible without massive rewrites of ffmpeg.c.
 In a custom application using the ffmpeg API it should be relatively
 straight forward.

Ticket URL: <https://trac.ffmpeg.org/ticket/7507#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list