MediaSDK icon indicating copy to clipboard operation
MediaSDK copied to clipboard

h265 to vp9e transcoding failure on 8K resolution stream when vaSyncBuffer is used instead of vaSyncSurface

Open aobolensk opened this issue 5 years ago • 3 comments

Transcoding using sample_multi_transcode: Input stream: h265 Output stream: vp9 Resolution: 7680x4320 (for input and output) Tested on: #2351 (vaSyncSurface is replaced with vaSyncBuffer) There is no such problem in master branch.

./sample_multi_transcode -i::h265 input.265 -o::vp9 output.vp9 -f 25 -b 4600000 -u 1 -hw -n 300 -async 1 -lowpower:on -w 7680 -h 4320

Result:

[ERROR], sts=MFX_ERR_DEVICE_FAILED(-17), PutBS, Encode: SyncOperation failed at /home/user/MediaSDK/samples/sample_multi_transcode/src/pipeline_transcode.cpp:1934

[ERROR], sts=MFX_ERR_ABORTED(-12), Transcode, PutBS failed at /home/user/MediaSDK/samples/sample_multi_transcode/src/pipeline_transcode.cpp:1896

[ERROR], sts=MFX_ERR_ABORTED(-12), Run, CTranscodingPipeline::Run::Transcode() [0x55e7b0eaef40] failed at /home/user/MediaSDK/samples/sample_multi_transcode/src/pipeline_transcode.cpp:4538


 session 0 [0x55ac4f784f40] failed with status MFX_ERR_ABORTED shutting down the application...

session [0x55ac4f784f40] m_bForceStop is set

Transcoding finished

Common transcoding time is 0.322258 sec
-------------------------------------------------------------------------------
*** session 0 [0x55ac4f784f40] FAILED (MFX_ERR_ABORTED) 0.322074 sec, 1 frames, 3.105 fps
-i::h265 input.265 -o::vp9 output.vp9 -f 25 -b 4600000 -u 1 -hw -n 300 -async 1 -lowpower:on -w 7680 -h 4320

-------------------------------------------------------------------------------

The test FAILED

[ERROR], sts=MFX_ERR_ABORTED(-12), main, transcode.ProcessResult failed at /home/user/MediaSDK/samples/sample_multi_transcode/src/sample_multi_transcode.cpp:1165

aobolensk avatar Oct 01 '20 18:10 aobolensk

This issue seems to be not reproducible on the latest media driver.

aobolensk avatar Nov 03 '20 13:11 aobolensk

We saw it again on latest driver.

dmitryermilov avatar Nov 18 '20 14:11 dmitryermilov

We are experiencing similar problem in HEVC

aobolensk avatar Jan 12 '21 15:01 aobolensk