[FFmpeg-trac] #8959(undetermined:new): [ffmpeg][avc/hevc encode][regression]A commit caused all avc/hevc encode cases in ffmpeg-vaapi fail!

FFmpeg trac at avcodec.org
Mon Nov 2 10:40:48 EET 2020


#8959: [ffmpeg][avc/hevc encode][regression]A commit caused all avc/hevc encode
cases in ffmpeg-vaapi fail!
-------------------------------------+-------------------------------------
             Reporter:  yefeng       |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  vaapi        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
 ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -v verbose -f
 rawvideo -pix_fmt yuv420p -s:v 320x240 -r:v 25 -i <input> -vf
 'format=nv12,hwupload' -c:v h264_vaapi -profile:v high -rc_mode CBR -g 30
 -slices 1 -bf 0 -b:v 500k -maxrate 500k -low_power 0 -y <output>
 }}}
 ffmpeg version N-99800-g7369595c55
 commit 7369595c556516b90bf3acdf85043dc11add7d89 caused this issue.
 Output:
 {{{
 [h264_vaapi @ 0x55f5559b0800] colour_primaries does not match inferred
 value: 0, but should be 2.
 [h264_vaapi @ 0x55f5559b0800] Failed to write unit 0 (type 7).
 [h264_vaapi @ 0x55f5559b0800] Failed to write packed header.
 [h264_vaapi @ 0x55f5559b0800] Failed to write per-sequence header:
 -1094995529.
 [h264_vaapi @ 0x55f5559b0800] Encode failed: -1094995529.
 Video encoding failed
 [AVIOContext @ 0x55f5559bbc40] Statistics: 0 seeks, 0 writeouts
 [AVIOContext @ 0x55f5559ac000] Statistics: 6220800 bytes read, 0 seeks
  Conversion failed!
 }}}

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


More information about the FFmpeg-trac mailing list