-
Notifications
You must be signed in to change notification settings - Fork 460
Look Ahead not working with Intel MediaSDK 2022Q2 Release - 22.4.4 #2960
Comments
It's this option: |
[root@c08n1 ~]# ffmpeg -v verbose -y -init_hw_device qsv=hw -filter_hw_device hw -hwaccel qsv -vcodec mpeg2_qsv -i /mnt/preprodStorage/jobs/181fc961ac0d7b-2022-07-14/181fc961ac0d7b-01/181fc961ac0d7b-01.mpg -vf setfield=prog,vpp_qsv=w=512:h=288,setdar=dar=16/9 -async_depth 40 -acodec libfdk_aac -ab 64000 -profile:a aac_he -cutoff 18000 -map 0:0 -map 0:1 -metadata:s:a:0 language=ita -vcodec h264_qsv -b:v 512000 -minrate 460800 -maxrate 563200 -bufsize 512000 -g 75 -forced_idr 1 -preset veryslow -rdo 0 -look_ahead 1 -look_ahead_depth 40 -profile:v high -level 4 /mnt/preprodStorage/jobs/181fc961ac0d7b-2022-07-14/181fc961ac0d7b-16/181fc961ac0d7b-16_0.mp4 |
System information
CPU information(
cat /proc/cpuinfo | grep "model name" | uniq
):model name : Intel(R) Xeon(R) CPU E3-1585L v5 @ 3.00GHz
GPU information(
lspci -nn | grep -E 'VGA|isplay
):00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Pro Graphics P580 [8086:193a] (rev 09)
01:00.1 VGA compatible controller [0300]: Matrox Electronics Systems Ltd. MGA G200EH [102b:0533] (rev 01)
Display server if rendering to display(X or wayland):
none
Issue behavior
Can't use anymore ffmpeg option -look_ahead 1
Describe the current behavior
ffmpeg -y -init_hw_device qsv=hw -filter_hw_device hw -hwaccel qsv -vcodec mpeg2_qsv -i 181fc961ac0d7b-01/181fc961ac0d7b-01.mpg
-vf setfield=prog,vpp_qsv=w=512:h=288,setdar=dar=16/9 -async_depth 40 -acodec libfdk_aac -ab 64000 -profile:a aac_he -cutoff 18000
-map 0:0 -map 0:1 -metadata:s:a:0 language=ita -vcodec h264_qsv
-b:v 512000 -minrate 460800 -maxrate 563200 -bufsize 512000 -g 75
-forced_idr 1 -preset veryslow -rdo 0 -look_ahead 1 -look_ahead_depth 40 -profile:v high -level 4
181fc961ac0d7b-16/181fc961ac0d7b-16_0.mp4
[h264_qsv @ 0x1112140] Error initializing the encoder: unsupported (-3)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x1112f80] 2 frames left in the queue on closing
Conversion failed!
if I remove only the look_ahead option it's working:
Input #0, mpeg, from '/mnt/preprodStorage/jobs/181fc961ac0d7b-2022-07-14/181fc961ac0d7b-01/181fc961ac0d7b-01.mpg':
Duration: 00:03:59.04, start: 0.699989, bitrate: 32417 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (mpeg2_qsv) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (mp2 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Output #0, mp4, to '/mnt/preprodStorage/jobs/181fc961ac0d7b-2022-07-14/181fc961ac0d7b-16/181fc961ac0d7b-16_0.mp4':
Metadata:
encoder : Lavf58.45.100
Stream #0:0: Video: h264 (h264_qsv) (avc1 / 0x31637661), qsv, 512x288 [SAR 1:1 DAR 16:9], q=-1--1, 512 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc58.91.100 h264_qsv
Side data:
cpb: bitrate max/min/avg: 563200/460800/512000 buffer size: 512000 vbv_delay: N/A
Stream #0:1(ita): Audio: aac (libfdk_aac) (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 64 kb/s
Metadata:
encoder : Lavc58.91.100 libfdk_aac
[mpeg2_qsv @ 0x1e71100] A decode call did not consume any data: expect more data at input (-10)
Last message repeated 2 times
frame= 5976 fps=478 q=26.0 Lsize= 16813kB time=00:03:59.04 bitrate= 576.2kbits/s speed=19.1x
video:14793kB audio:1868kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.912145%
Describe the expected behavior
It was working with media stack 21.3.5 prebuild binaries
Same ffmpeg, just a diffrent build.
Debug information
New SDK:
vainfo -a
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_15
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.15 (libva 2.15.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ()
vainfo: Supported config attributes per profile/entrypoint pair
VAProfileNone/VAEntrypointVideoProc
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGBP
VAProfileNone/VAEntrypointStats
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGBP
VAProfileMPEG2Simple/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 2048
VAConfigAttribMaxPictureHeight : 2048
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileMPEG2Simple/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FRAME
VAConfigAttribEncMaxRefFrames : l0=1
l1=1
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 2048
VAConfigAttribMaxPictureHeight : 2048
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncSkipFrame : supported
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAProfileMPEG2Main/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 2048
VAConfigAttribMaxPictureHeight : 2048
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileMPEG2Main/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FRAME
VAConfigAttribEncMaxRefFrames : l0=1
l1=1
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 2048
VAConfigAttribMaxPictureHeight : 2048
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncSkipFrame : supported
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAProfileH264Main/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264Main/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VA_RC_AVBR
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FIELD
VAConfigAttribEncMaxRefFrames : l0=8
l1=2
VAConfigAttribEncMaxSlices : 131080
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=8
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribQPBlockSize : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264Main/VAEntrypointFEI
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FIELD
VAConfigAttribEncMaxRefFrames : l0=8
l1=2
VAConfigAttribEncMaxSlices : 131080
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=8
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIFunctionType : VA_FEI_FUNCTION_ENC
VA_FEI_FUNCTION_PAK
VA_FEI_FUNCTION_ENC_PAK
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribQPBlockSize : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264Main/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=3
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264High/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264High/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VA_RC_AVBR
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FIELD
VAConfigAttribEncMaxRefFrames : l0=8
l1=2
VAConfigAttribEncMaxSlices : 131080
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=8
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribQPBlockSize : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264High/VAEntrypointFEI
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FIELD
VAConfigAttribEncMaxRefFrames : l0=8
l1=2
VAConfigAttribEncMaxSlices : 131080
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=8
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIFunctionType : VA_FEI_FUNCTION_ENC
VA_FEI_FUNCTION_PAK
VA_FEI_FUNCTION_ENC_PAK
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribQPBlockSize : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264High/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=3
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileVC1Simple/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 2048
VAConfigAttribMaxPictureHeight : 2048
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileVC1Main/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 2048
VAConfigAttribMaxPictureHeight : 2048
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileVC1Advanced/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 2048
VAConfigAttribMaxPictureHeight : 2048
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileJPEGBaseline/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecJPEG : VA_ROTATION_NONE
VA_ROTATION_90
VA_ROTATION_180
VA_ROTATION_270
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileJPEGBaseline/VAEntrypointEncPicture
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribEncJPEG : arithmatic_coding_mode=0
progressive_dct_mode=0
non_interleaved_mode=0
differential_mode=0
differential_mode=0
max_num_components=3
max_num_scans=1
max_num_huffman_tables=2
max_num_quantization_tables=3
VAConfigAttribEncQualityRange : number of supported quality levels is 1
VAProfileH264ConstrainedBaseline/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264ConstrainedBaseline/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VA_RC_AVBR
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FIELD
VAConfigAttribEncMaxRefFrames : l0=8
l1=2
VAConfigAttribEncMaxSlices : 131080
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=8
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribQPBlockSize : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264ConstrainedBaseline/VAEntrypointFEI
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FIELD
VAConfigAttribEncMaxRefFrames : l0=8
l1=2
VAConfigAttribEncMaxSlices : 131080
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=8
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIFunctionType : VA_FEI_FUNCTION_ENC
VA_FEI_FUNCTION_PAK
VA_FEI_FUNCTION_ENC_PAK
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribQPBlockSize : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264ConstrainedBaseline/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=3
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileVP8Version0_3/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=1
VAConfigAttribEncMaxSlices : 65539
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAProfileHEVCMain/VAEntrypointFEI
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=1
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAConfigAttribFEIFunctionType : VA_FEI_FUNCTION_ENC_PAK
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
OLD SDK:
vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.13 (libva 2.5.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.3.4 (46458db8)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
ls /dev/dri
?dmesg >dmesg.log 2>&1
?vainfo -a >vainfo.log 2>&1
?strace YOUR_CMD >strace.log 2>&1
?export LIBVA_TRACE=/tmp/libva_trace.log
first then execute the case.The text was updated successfully, but these errors were encountered: