Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Look Ahead not working with Intel MediaSDK 2022Q2 Release - 22.4.4 #2960

Open
p4rancesc0 opened this issue Jul 14, 2022 · 2 comments
Open

Look Ahead not working with Intel MediaSDK 2022Q2 Release - 22.4.4 #2960

p4rancesc0 opened this issue Jul 14, 2022 · 2 comments
Labels

Comments

@p4rancesc0
Copy link

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

  • What's libva/libva-utils/gmmlib/media-driver/Media SDK version?
  • Could you confirm whether GPU hardware exist or not by ls /dev/dri?
  • Could you attach dmesg log if it's GPU hang by dmesg >dmesg.log 2>&1?
  • Could you provide vainfo log if possible by vainfo -a >vainfo.log 2>&1?
  • Could you provide strace log if possible by strace YOUR_CMD >strace.log 2>&1?
  • Could you provide libva trace log if possible? Run cmd export LIBVA_TRACE=/tmp/libva_trace.log first then execute the case.
  • Media SDK tracer output (https://github.com/Intel-Media-SDK/MediaSDK/blob/master/tools/tracer/README.md)?
  • Do you want to contribute a PR? (yes/no):
@p4rancesc0 p4rancesc0 added the bug label Jul 14, 2022
@p4rancesc0
Copy link
Author

It's this option:
-look_ahead E..V...... Use VBR algorithm with look ahead

@p4rancesc0
Copy link
Author

[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
ffmpeg version 4.3.1-mfx Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --extra-version=mfx --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-libgsm --enable-libxvid --enable-bzlib --enable-nonfree --enable-libx264 --disable-static --disable-debug --enable-libx265 --enable-pic --enable-libfreetype --enable-libfontconfig --enable-libfdk-aac --enable-libmfx --enable-libmp3lame --enable-ladspa --extra-cflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC' --extra-cflags='-fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/local/include -L=/usr/local/lib -Wl, -Bdynamic ' --disable-stripping
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[AVHWDeviceContext @ 0xe269c0] Trying to use DRM render node for device 0.
[AVHWDeviceContext @ 0xe269c0] libva: Open new log file /tmp/libva_trace.log.141051.thd-0x00004d83 for the thread 0x00004d83
[AVHWDeviceContext @ 0xe269c0] libva: LIBVA_TRACE is on, save log into /tmp/libva_trace.log.141051.thd-0x00004d83
[AVHWDeviceContext @ 0xe269c0] libva: VA-API version 1.15.0
[AVHWDeviceContext @ 0xe269c0] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0xe269c0] libva: Trying to open /usr/lib64/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0xe269c0] libva: Found init function __vaDriverInit_1_15
[AVHWDeviceContext @ 0xe269c0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0xe269c0] Initialised VAAPI connection: version 1.15
[AVHWDeviceContext @ 0xe269c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ().
[AVHWDeviceContext @ 0xe269c0] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0xe26440] Initialize MFX session: API version is 1.35, implementation version is 1.35
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), 1 reference frame, yuv420p(tv, progressive, left), 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
[graph_1_in_0_1 @ 0xe72a00] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
[format_out_0_1 @ 0xe730c0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[auto_resampler_0 @ 0xec1c40] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
[AVHWDeviceContext @ 0x11b4280] Trying to use DRM render node for device 0.
[AVHWDeviceContext @ 0x11b4280] libva: Open new log file /tmp/libva_trace.log.141051.thd-0x00004d83 for the thread 0x00004d83
[AVHWDeviceContext @ 0x11b4280] libva: LIBVA_TRACE is on, save log into /tmp/libva_trace.log.141051.thd-0x00004d83
[AVHWDeviceContext @ 0x11b4280] libva: VA-API version 1.15.0
[AVHWDeviceContext @ 0x11b4280] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x11b4280] libva: Trying to open /usr/lib64/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x11b4280] libva: Found init function __vaDriverInit_1_15
[AVHWDeviceContext @ 0x11b4280] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x11b4280] Initialised VAAPI connection: version 1.15
[AVHWDeviceContext @ 0x11b4280] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ().
[AVHWDeviceContext @ 0x11b4280] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x110d840] Initialize MFX session: API version is 1.35, implementation version is 1.35
[AVHWDeviceContext @ 0x10fd600] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ().
[AVHWDeviceContext @ 0x10fd600] Driver not found in known nonstandard list, using standard behaviour.
[mpeg2_qsv @ 0xea0d00] Decoder: output is video memory surface
[AVHWDeviceContext @ 0xec4600] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ().
[AVHWDeviceContext @ 0xec4600] Driver not found in known nonstandard list, using standard behaviour.
[mpeg2_qsv @ 0xea0d00] Decoder: output is video memory surface
[AVHWDeviceContext @ 0x11b4280] libva: Save context 0x10000000 into log file /tmp/libva_trace.log.141051.thd-0x00004d83
[AVHWDeviceContext @ 0x11b4280] libva: Open new log file /tmp/libva_trace.log.141051.thd-0x00004da4 for the thread 0x00004da4
[graph 0 input from stream 0:0 @ 0x1367a00] w:1920 h:1080 pixfmt:qsv tb:1/90000 fr:25/1 sar:1/1
[AVHWDeviceContext @ 0xec95c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ().
[AVHWDeviceContext @ 0xec95c0] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x11b4280] libva: Save context 0x40000000 into log file /tmp/libva_trace.log.141051.thd-0x00004d83
[Parsed_setdar_2 @ 0x1366dc0] w:512 h:288 dar:16/9 sar:1/1 -> dar:16/9 sar:1/1
[h264_qsv @ 0xe9b840] Using input frames context (format qsv) with h264_qsv encoder.
[h264_qsv @ 0xe9b840] Using the VBR with lookahead (LA) ratecontrol method
[h264_qsv @ 0xe9b840] MFMode:2
[AVHWDeviceContext @ 0x11b4280] libva: Save context 0x20000000 into log file /tmp/libva_trace.log.141051.thd-0x00004d83
[h264_qsv @ 0xe9b840] 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
[AVIOContext @ 0xe96440] Statistics: 0 seeks, 0 writeouts
[libfdk_aac @ 0xec3d40] 2 frames left in the queue on closing
[AVIOContext @ 0xe73940] Statistics: 5755024 bytes read, 2 seeks
Conversion failed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant