Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
86 Views

Can'not decode some h264 files

Jump to solution

There are two h264 files that the sample_decoder cannot decode. Does media sdk support these files? Thanks!

 

https://drive.google.com/drive/folders/1bRWYZzEanfAiUV-YwgoLROPBYGbYlQan?usp=sharing

 

2019 R1, Windows 10 1903 x64, i3 7100     

Windows PowerShell:

PS C:\Users\z\Documents\Intel® Media SDK 2019 R1 - Media Samples 8.4.27.25\_build\x64\Debug>  .\sample_decode.exe h264 -i .\IVchang.h264 -nv12 -o chang.yuv

[ERROR], sts=MFX_ERR_MORE_DATA(-10), CDecodingPipeline::InitMfxParams, m_FileReader->ReadNextFrame failed at C:\Users\z\Documents\Intel? Media SDK 2019 R1 - Media Samples 8.4.27.25\sample_decode\src\pipeline_decode.cpp:668

[ERROR], sts=MFX_ERR_MORE_DATA(-10), CDecodingPipeline::Init, InitMfxParams failed at C:\Users\z\Documents\Intel? Media SDK 2019 R1 - Media Samples 8.4.27.25\sample_decode\src\pipeline_decode.cpp:408

[ERROR], sts=MFX_ERR_MORE_DATA(-10), wmain, Pipeline.Init failed at C:\Users\z\Documents\Intel? Media SDK 2019 R1 - Media Samples 8.4.27.25\sample_decode\src\sample_decode.cpp:686

0 Kudos

Accepted Solutions
Employee
86 Views

This stream is corrupted. It doesn't have valid SPS. SPS::scaling_list::delta_scale[15] has value 239 which is out of valid ranges:

7.4.2.1.1.1 Scaling list semantics
delta_scale is used to derive the j-th element of the scaling list for j in the range of 0 to sizeOfScalingList − 1, inclusive.
The value of delta_scale shall be in the range of −128 to +127, inclusive.

View solution in original post

0 Kudos
2 Replies
Beginner
86 Views

Does anyone tried these files? ...Waiting for a reply...

0 Kudos
Employee
87 Views

This stream is corrupted. It doesn't have valid SPS. SPS::scaling_list::delta_scale[15] has value 239 which is out of valid ranges:

7.4.2.1.1.1 Scaling list semantics
delta_scale is used to derive the j-th element of the scaling list for j in the range of 0 to sizeOfScalingList − 1, inclusive.
The value of delta_scale shall be in the range of −128 to +127, inclusive.

View solution in original post

0 Kudos