[FFmpeg-trac] #5708(avcodec:closed): Intermittently, encoding video with h264 Quick Sync can fail with 'EncodeFrameAsync returned -17'
FFmpeg
trac at avcodec.org
Wed Oct 4 01:39:58 EEST 2017
#5708: Intermittently, encoding video with h264 Quick Sync can fail with
'EncodeFrameAsync returned -17'
------------------------------------+-----------------------------------
Reporter: mikes | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution: invalid
Keywords: qsv win | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by tmm1):
I have two computers running Windows 10.
The first does not reproduce this issue. It's an Intel Celeron J1800 with
v10.18.10.4425 of the Intel HD Graphics driver.
The second computer reproduces this issue very often. It is an Intel
Celeron N3450 with v22.20.16.4771 of the Intel HD Graphics driver.
(I've also observed this behavior previously on several machines,
including one with a i5-4570).
I'm using the following command, with the attached sample2.mpg and the
20170921-183fd30 build from ffmpeg.zeranoe.com:
{{{
ffmpeg.exe -hide_banner -loglevel warning -t 5 -i sample2.mpg -vf yadif
-profile:v high -level 42 -g 60 -b:v 6000k -minrate 5400k -maxrate 6600k
-bufsize 12000k -c:v h264_qsv -an -y -f mpegts nul -stats
}}}
The command will succeed 6 times out of 10:
{{{
DriverDDIMain = 947
DriverDDIMain10 = 947
DriverDDIMainLP = 966
DriverDDIMain10LP = 966
frame= 6 fps=0.0 q=-0.0 Lsize= 174kB time=00:00:00.20
bitrate=7129.0kbits/s speed=0.262x
}}}
And the rest of the time it will fail:
{{{
DriverDDIMain = 947
DriverDDIMain10 = 947
DriverDDIMainLP = 966
DriverDDIMain10LP = 966
[h264_qsv @ 000000000061b520] Error during encoding: device failed (-17)
Video encoding failed
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5708#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list