[FFmpeg-trac] #7412(undetermined:new): [ffmpeg-qsv][hevc] some cases decode failed on iHD driver.

FFmpeg trac at avcodec.org
Tue Sep 11 23:19:11 EEST 2018

#7412: [ffmpeg-qsv][hevc] some cases decode failed on iHD driver.
             Reporter:               |                    Owner:
  zhuqingliang                       |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  qsv hevc     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by jkqxz):

 That change seems like it will fail in an even worse way if the stream
 does not actually conform to Main profile?

 For the streams with missing profile information I think there are three
 plausible options to choose from:
 * Do nothing.  The streams in question are technically invalid for
 decoding because they don't conform to any profile, and the specific
 examples here were superseded for conformance purposes by valid streams
 anyway (see e.g. DBLK_D_VIXS_2.bit, etc.).
 * Add additional parsing to determine a real profile that an unknown
 stream conforms to.  That could probably be done with CBS as a BSF, though
 checking all the section A.3 conditions is quite tedious.
 * Modify libmfx to act like libavcodec and accept streams which don't have
 a profile set.  I have no idea how difficult this would be.

 Do we expect there to be a nontrivial number of streams in the wild
 without profiles set?  If not, I think the first of these is the right
 option to choose.

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

More information about the FFmpeg-trac mailing list