[FFmpeg-trac] #7415(undetermined:new): [ffmpeg-qsv][1toN_encode] 1 to N avc encode failed on iHD driver.
FFmpeg
trac at avcodec.org
Tue Sep 11 03:16:50 EEST 2018
#7415: [ffmpeg-qsv][1toN_encode] 1 to N avc encode failed on iHD driver.
-------------------------------------+-------------------------------------
Reporter: | Owner:
zhuqingliang | Status: new
Type: defect | Component:
Priority: normal | undetermined
Version: unspecified | Resolution:
Keywords: qsv | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by jkqxz):
The video filter chain from -vf only applies to the first encoder, so the
remaining ones are not using the hardware input on the same device. Try
with -filter_complex.
This works for me:
{{{
$ LIBVA_DRIVER_NAME=iHD ./ffmpeg_g -y -i input.mp4 -an -init_hw_device
qsv=hw -filter_hw_device hw -filter_complex
'format=nv12,hwupload=extra_hw_frames=64,split=2[out1][out2]' -map
'[out1]' -c:v h264_qsv -frames:v 100 out1.h264 -map '[out2]' -c:v h264_qsv
-frames:v 100 out2.h264
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7415#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list