Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Can'not decode some h264 files

zhang__chao
Beginner
1,208 Views

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
1 Solution
Dmitry_E_Intel
Employee
1,208 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
zhang__chao
Beginner
1,208 Views

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

0 Kudos
Dmitry_E_Intel
Employee
1,209 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.

0 Kudos
Reply