[FFmpeg-trac] #7375(avdevice:closed): kmsgrab not working on AMD cards

FFmpeg trac at avcodec.org
Fri Aug 24 01:42:49 EEST 2018


#7375: kmsgrab not working on AMD cards
------------------------------------+------------------------------------
             Reporter:  tildearrow  |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avdevice
              Version:  git-master  |               Resolution:  invalid
             Keywords:  kmsgrab     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by jkqxz):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 DRM objects used for scanout need not be CPU-mappable, so there is no
 guarantee that kmsgrab output will be downloadable directly as you are
 trying to do here.

 On AMD external GPUs it should be mappable to VAAPI, and then can be
 downloaded from there - e.g. something like:
 {{{
 ffmpeg -device /dev/dri/card1 -f kmsgrab -i - -vf
 'hwmap=derive_device=vaapi,hwdownload,format=bgr0' -c:v libx264 out.mp4
 }}}

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


More information about the FFmpeg-trac mailing list