[FFmpeg-trac] #8042(undetermined:new): AMD screen record + h/w vaapi encode to mkv fails

FFmpeg trac at avcodec.org
Sat Jul 27 19:16:22 EEST 2019


#8042: AMD screen record + h/w vaapi encode to mkv fails
-------------------------------------+-------------------------------------
             Reporter:  soreau       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  vaapi        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by jamrial):

 * keywords:  radeonsi amd mkv => vaapi


Comment:

 ff_isom_write_avcc() is returning an error, meaning the h264_vaapi encoder
 is either sending invalid extradata, or none at all, during init().
 Apparently, the latter is the most likely case, probably due to a
 featureless driver.

 The Matroska muxer checks the return value for errors and aborts, whereas
 the mp4 one ignores it and keeps going, creating a non spec complaint file
 that may or may not play depending on the presence of in-band headers, and
 how strict the demuxer is.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8042#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list