[FFmpeg-trac] #4831(avcodec:reopened): Can't initialize h264_qsv encoder post Aug 29 2015 - Ivy Bridge CPU

FFmpeg trac at avcodec.org
Sun Sep 20 17:59:10 CEST 2015

#4831: Can't initialize h264_qsv encoder post Aug 29 2015 - Ivy Bridge CPU
             Reporter:  babgvant     |                    Owner:  IvUs
                 Type:  defect       |                   Status:  reopened
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  qsv          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  1            |

Comment (by ccaltagi):

 I am having similar issues:
 I can't initialize the h264_qsv encoder with the FFMpeg 2.8 version that
 just released.
 I am building the ffmpeg lib files and then building them into the open
 opencv_ffmpeg300.dll (openCV 3.0 project sources\3rdparty\ffmpeg) and
 calling that from my application.
 I had to slightly modify the
 to specify the nv12 codec format, or it wouldn't even try to initialize
 the codec.
 After that change, it get to the initialization function in
 ffmpeg\libavcodec\qsvenc.c, but MFXVideoENCODE_Init returns error -15
 At this point, I don't think the problem is on the OpenCV side, but on the
 FFMpeg side.
 I am trying to build a video file with color 640x480 images, so I don't
 think alignment is an issue.
 Any help would be greatly appreciated.

 Best regards.

Ticket URL: <https://trac.ffmpeg.org/ticket/4831#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list