#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
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to