[FFmpeg-trac] #7415(undetermined:new): [ffmpeg-qsv][1toN_encode] 1 to N avc encode failed on iHD driver.

FFmpeg trac at avcodec.org
Mon Sep 10 10:07:46 EEST 2018

#7415: [ffmpeg-qsv][1toN_encode] 1 to N avc encode failed on iHD driver.
             Reporter:               |                     Type:  defect
  zhuqingliang                       |                 Priority:  normal
               Status:  new          |                  Version:
            Component:               |  unspecified
  undetermined                       |               Blocked By:
             Keywords:  qsv 1toN     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
 Summary of the bug:
 encode 1 to N failed
 FFMPEG-QSV      CFL     OS: ubuntu 17.04        kernel: 4.15.0
         KBL     OS: ubuntu 16.04        kernel: 4.14.0-rc1
         SKL     OS: ubuntu 16.04        kernel: 4.15.0

 libva   b6c50dad4d7d14c507108d9f468662e2d7ae1c4d
 https://github.com/01org/libva.git  ( master )
 iHD Driver      ed04556a6676fd77ff845508bc54bfc60915450c
 libva-utils     9a10ad663349732decd668a426cfc349b0010d1d
 Mediasdk        7ea683585f0f84f1bea035a405855312c92c46c0
 FFMPEG  56f68a099cc607658118e00cad30569103ae3751
 How to reproduce:
 1.build env as above lists
 2.ffmpeg -hwaccel qsv -init_hw_device qsv=hw -filter_hw_device hw -v
 verbose -f rawvideo -video_size 720x480 -pix_fmt nv12 -i
 ./Test_720x480p.yuv -an -vf hwupload=extra_hw_frames=64,format=qsv -c:v
 h264_qsv -vframes 200 -y ./H264e_1N_720x480_session8_1.h264 -c:v h264_qsv
 -vframes 200 -y ./H264e_1N_720x480_session8_2.h264 -c:v h264_qsv -vframes
 200 -y ./H264e_1N_720x480_session8_3.h264 -c:v h264_qsv -vframes 200 -y
 ./H264e_1N_720x480_session8_4.h264 -c:v h264_qsv -vframes 200 -y
 ./H264e_1N_720x480_session8_5.h264 -c:v h264_qsv -vframes 200 -y
 ./H264e_1N_720x480_session8_6.h264 -c:v h264_qsv -vframes 200 -y
 ./H264e_1N_720x480_session8_7.h264 -c:v h264_qsv -vframes 200 -y
 3.error message:
 [h264_qsv @ 0x1277640] Selected ratecontrol mode is unsupported
 [h264_qsv @ 0x1277640] Current frame rate is unsupported
 [h264_qsv @ 0x1277640] Current picture structure is unsupported
 [h264_qsv @ 0x1277640] Current resolution is unsupported
 [h264_qsv @ 0x1277640] Current pixel format is unsupported
 [h264_qsv @ 0x1277640] some encoding parameters are not supported by the
 QSV runtime. Please double check the input parameters.
 Error initializing output stream 1:0 -- Error while opening encoder for
 output stream #1:0 - maybe incorrect parameters such as bit_rate, rate,
 width or height


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

More information about the FFmpeg-trac mailing list