[FFmpeg-trac] #7030(avcodec:open): qsv in ffmpeg
FFmpeg
trac at avcodec.org
Fri Mar 2 15:38:09 EET 2018
#7030: qsv in ffmpeg
-------------------------------------+-------------------------------------
Reporter: palich2000 | Owner:
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: qsv | Blocked By:
regression | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by jkqxz):
This works fine for me. At a guess you are somehow opening the DRM master
device rather than a render node and therefore the unused top-level device
has exclusive access to the GPU and stops the encoder from opening it?
If that's the problem then not creating the unused top-level device
(remove the `-init_hw_device` option) should make it work for you. (That
device did automatically get passed to an encoder in 3.4, but there was
disagreement about that feature being useful because ffmpeg was unable to
tell whether the device was required or not (it isn't here, the internal
session works for isolated encoders) and offered unhelpful warnings.)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7030#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list