#7727 closed defect (duplicate)
[FFmpeg-vaapi][mpeg2 encode] Driver does not support some wanted packed headers (wanted 0x3, found 0x10)
Reported by: | Andrey | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
How to reproduce:
build/lin_x64/bin/ffmpeg -y -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i <1920x1080p_29.97_6mb_h264_cabac.264> -frames 600 -c:v mpeg2_vaapi -b:v 10000k -minrate:v 10000k -maxrate:v 10000k -compression_level 4 -g 24 -bf 2 0004_HD03MP2_1_0.mpeg
ffmpeg version N-93001-g87c165c237
Output:
[mpeg2_vaapi @ 0x562db9724840] Driver does not support some wanted packed headers (wanted 0x3, found 0x10). Assertion 0 && "Invalid RC mode." failed at libavcodec/vaapi_encode_mpeg2.c:545
Change History (5)
comment:1 by , 5 years ago
Component: | ffmpeg → undetermined |
---|---|
Keywords: | ffmpeg-vaapi removed |
Priority: | important → normal |
Resolution: | → duplicate |
Status: | new → closed |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
It was caused by "VA_ENC_PACKED_HEADER_SEQUENCE" and "VA_ENC_PACKED_HEADER_PICTURE" can't be supported by iHD driver. Only VA_ENC_PACKED_HEADER_RAW_DATA can be supported.
I prefer it can be supported at driver side, keep consistent with other codecs such as H264/HEVC.
comment:4 by , 5 years ago
Duplicated with https://trac.ffmpeg.org/ticket/7650 and the crash error has been fixed as 1e0fac76639e31eea48aa315cbca89aeb4761fde
Note:
See TracTickets
for help on using tickets.
Input stream:
http://fate-suite.ffmpeg.org/h264-conformance/AUD_MW_E.264
Output log:
ffmpeg-qsv works fine: