[FFmpeg-trac] #7511(undetermined:new): FFmpeg Windows version with QSV hwaccel fails over TERMINAL

FFmpeg trac at avcodec.org
Tue Oct 23 15:27:45 EEST 2018


#7511: FFmpeg Windows version with QSV hwaccel fails over TERMINAL
-------------------------------------+-------------------------------------
             Reporter:  msiders      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
  ffmpeg.exe -hwaccel qsv -c:v h264_qsv -i file.ts -filter_complex
 "[i:256]deinterlace_qsv,scale_qsv=720:576[out]" -map [out] -map i:257 -c:0
 h264_qsv -preset medium -c:1 copy -f mpegts output.ts
 }}}

 The privious command executed in '''Windows''', reads one MPEG-TS file
 with one video stream (pid 256) and one audio stream (pid 257). The filter
 graph deinterlaces the input video (H.264 1080i content) and downscale to
 PAL size. Then it compress it using default settings in H.264 with the
 hardware encoder. All is done in the GPU.

 OK, this works... when executed inside a COMMAND TERMINAL in a Windows
 session (even over RDP remote connections).

 However, when executing '''identical''' command inside a OpenSSH session
 this error appears:

 {{{
 [AVHWDeviceContext @ 000002914a559000] Failed to create Direct3D device
 Error creating a QSV device
 qsv hwaccel requested for input stream #0:0, but cannot be initialized.
 Error while decoding stream #0:0: Operation not permitted
 }}}

 The OpenSSH session used is the STANDARD from Microsoft for Windows 10. So
 no 3rd party or experimental code is used.

 I'm not sure if this can be fixed. But I report it here as using the CUVID
 hwaccel for NVIDIA it works as expected inside the same TERMINAL.

 I hope this will be fixed sometime.
 Regards.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7511>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list